From f4bcb8e45b8fd2a9c84559096d6b54778f99e2bb Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 28 Dec 2018 09:09:50 -0200 Subject: [PATCH] New package: touchegg-1.1.1 --- srcpkgs/touchegg/INSTALL.msg | 1 - srcpkgs/touchegg/patches/qt5.patch | 37 ++++++++++++++++++++++++++++++ srcpkgs/touchegg/template | 19 +++++++++++---- 3 files changed, 51 insertions(+), 6 deletions(-) delete mode 100644 srcpkgs/touchegg/INSTALL.msg create mode 100644 srcpkgs/touchegg/patches/qt5.patch diff --git a/srcpkgs/touchegg/INSTALL.msg b/srcpkgs/touchegg/INSTALL.msg deleted file mode 100644 index 77b9161dfc5..00000000000 --- a/srcpkgs/touchegg/INSTALL.msg +++ /dev/null @@ -1 +0,0 @@ -touchegg is no longer provided by Void Linux, and will be fully removed from the repos on 2019/03/20 diff --git a/srcpkgs/touchegg/patches/qt5.patch b/srcpkgs/touchegg/patches/qt5.patch new file mode 100644 index 00000000000..cd5a0fff512 --- /dev/null +++ b/srcpkgs/touchegg/patches/qt5.patch @@ -0,0 +1,37 @@ +From e60ff96afe5ffb893803e26c598e7bc11d1e0c33 Mon Sep 17 00:00:00 2001 +From: chrmod +Date: Sun, 31 Jan 2016 14:20:41 +0100 +Subject: [PATCH] Updating dependencies for QT 5.1 to compile on Ubuntu 15.10 + +--- + src/touchegg/util/Include.h | 3 ++- + touchegg.pro | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/touchegg/util/Include.h b/src/touchegg/util/Include.h +index 4fb27d5..c0de1d5 100644 +--- touchegg/src/touchegg/util/Include.h ++++ touchegg/src/touchegg/util/Include.h +@@ -23,7 +23,8 @@ + // Qt + #include + #include +- #include ++ #include ++ #include + #include + + // Xlib +diff --git a/touchegg.pro b/touchegg.pro +index 696ea1a..4565083 100644 +--- touchegg/touchegg.pro ++++ touchegg/touchegg.pro +@@ -1,6 +1,6 @@ + TEMPLATE = app + TARGET = touchegg +-QT += gui core xml ++QT += gui core xml widgets x11extras + LIBS += -lgeis -lX11 -lXtst -lXext + //DEFINES = QT_NO_DEBUG_OUTPUT + + diff --git a/srcpkgs/touchegg/template b/srcpkgs/touchegg/template index de7962b21f4..a97c79444d9 100644 --- a/srcpkgs/touchegg/template +++ b/srcpkgs/touchegg/template @@ -1,9 +1,18 @@ # Template file for 'touchegg' pkgname=touchegg version=1.1.1 -revision=4 -noarch=yes -build_style=meta -short_desc="Multitouch gesture recognizer (removed package)" -license="metapackage" +revision=5 +build_wrksrc=touchegg +build_style=qmake +hostmakedepends="qt5-qmake qt5-devel" +makedepends="libXtst-devel geis-devel qt5-devel qt5-x11extras-devel" +short_desc="Multitouch gesture recognizer" +maintainer="Enno Boland " +license="GPL-2.0-or-later" homepage="https://github.com/JoseExposito/touchegg" +distfiles="https://github.com/JoseExposito/touchegg/archive/${version}.tar.gz" +checksum=daeca6063eeb9d3ee95803699665ce0b6f101bb3ce8421df2676744556c0b8c8 + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qt5-x11extras-devel" +fi