diff --git a/recipes-misc/recipes-graphics/touchegg-qt5/files/0001-fix-qt5-build.patch b/recipes-misc/recipes-graphics/touchegg-qt5/files/0001-fix-qt5-build.patch new file mode 100644 index 00000000..65c405bf --- /dev/null +++ b/recipes-misc/recipes-graphics/touchegg-qt5/files/0001-fix-qt5-build.patch @@ -0,0 +1,47 @@ +From dee672a83f65a861adf3347d646a6f918f21c107 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 25 Jan 2016 15:07:48 +0100 +Subject: [PATCH] fix qt5 build +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + src/touchegg/util/Include.h | 4 +++- + touchegg.pro | 2 +- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/touchegg/util/Include.h b/src/touchegg/util/Include.h +index 4fb27d5..27bccf6 100644 +--- a/src/touchegg/util/Include.h ++++ b/src/touchegg/util/Include.h +@@ -23,8 +23,10 @@ + // Qt + #include + #include +- #include ++ #include + #include ++ #include ++ #include + + // Xlib + #include +diff --git a/touchegg.pro b/touchegg.pro +index 696ea1a..4565083 100644 +--- a/touchegg.pro ++++ b/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 + +-- +2.5.0 + diff --git a/recipes-misc/recipes-graphics/touchegg-qt5/touchegg-qt5_git.bb b/recipes-misc/recipes-graphics/touchegg-qt5/touchegg-qt5_git.bb new file mode 100644 index 00000000..fff3a90f --- /dev/null +++ b/recipes-misc/recipes-graphics/touchegg-qt5/touchegg-qt5_git.bb @@ -0,0 +1,18 @@ +SUMMARY = "Linux multitouch gesture recognizer" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=39bba7d2cf0ba1036f2a6e2be52fe3f0" + +inherit qmake5 + +DEPENDS += "qtbase qtx11extras geis" + +SRC_URI = " \ + git://github.com/JoseExposito/touchegg.git \ + file://0001-fix-qt5-build.patch \ +" +PV = "1.1.1+git${SRCPV}" +SRCREV = "3a768ebfdc5f89a603504428705f80795d2ccc26" +S="${WORKDIR}/git" + +FILES_${PN} += "${datadir}/touchegg"