dev-libs/libgaminggear: Fixed build with newer cmake releases
authorLars Wendler <polynomial-c@gentoo.org>
Wed, 30 Oct 2019 23:33:14 +0000 (00:33 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Wed, 30 Oct 2019 23:33:27 +0000 (00:33 +0100)
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
dev-libs/libgaminggear/files/libgaminggear-0.15.1-cmake-3.13.patch [new file with mode: 0644]
dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild

diff --git a/dev-libs/libgaminggear/files/libgaminggear-0.15.1-cmake-3.13.patch b/dev-libs/libgaminggear/files/libgaminggear-0.15.1-cmake-3.13.patch
new file mode 100644 (file)
index 0000000..1afc05c
--- /dev/null
@@ -0,0 +1,25 @@
+From eb4ef0dcfcb4b9325f2cc520445b03f2b63c3b6d Mon Sep 17 00:00:00 2001
+From: Lars Wendler <polynomial-c@gentoo.org>
+Date: Thu, 31 Oct 2019 00:28:39 +0100
+Subject: [PATCH] Fix build with >=cmake-3.13
+
+https://aur.archlinux.org/packages/libgaminggear/
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 36b5f93..3b02457 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -75,6 +75,7 @@ INCLUDE_DIRECTORIES(
+   ${GTK_INCLUDE_DIRS}
+   ${M_INCLUDE_DIR}
+   ${NOTIFY_INCLUDE_DIRS}
++  /usr/include/harfbuzz
+ )
+ ADD_SUBDIRECTORY(configuration)
+-- 
+2.24.0.rc1
+
index f25ccc7bd7b955592193ac46cc028017b1737f14..5a1347b66e799df8875890b448bcd9604b9892bb 100644 (file)
@@ -27,6 +27,7 @@ RDEPEND="
 DEPEND="
        ${RDEPEND}
        dev-libs/libgudev
+       media-libs/harfbuzz
 "
 BDEPEND="
        dev-util/glib-utils
@@ -35,6 +36,7 @@ BDEPEND="
 
 PATCHES=(
        "${FILESDIR}"/${PN}-0.10.0-doc.patch
+       "${FILESDIR}"/${P}-cmake-3.13.patch
 )
 
 # Required because xdg.eclass overrides src_prepare() from cmake-utils.eclass