summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-01-01 14:52:17 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-01-01 15:33:23 +0100
commitf8ac2929494bd379889bb50d9d96ec4df466e5c6 (patch)
tree9a7770cf7a53e6aec58fccdd5511c6bf52266046 /sys-apps
parentsci-libs/mpfi: amd64 stable wrt bug #703114 (diff)
downloadgentoo-f8ac2929494bd379889bb50d9d96ec4df466e5c6.tar.gz
gentoo-f8ac2929494bd379889bb50d9d96ec4df466e5c6.tar.bz2
gentoo-f8ac2929494bd379889bb50d9d96ec4df466e5c6.zip
sys-apps/roccat-tools: Fix build with pango-1.44
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild
index 9be7384e3244..131d60810454 100644
--- a/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild
+++ b/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit readme.gentoo-r1 cmake udev user xdg
+inherit readme.gentoo-r1 cmake flag-o-matic udev user xdg
DESCRIPTION="Utility for advanced configuration of Roccat devices"
@@ -62,6 +62,9 @@ RDEPEND="
DEPEND="
${RDEPEND}
"
+BDEPEND="
+ virtual/pkgconfig
+"
DOCS=( Changelog KNOWN_LIMITATIONS README )
@@ -80,6 +83,11 @@ src_prepare() {
}
src_configure() {
+ if has_version \>=x11-libs/pango-1.44.0 ; then
+ # Fix build with pango-1.44
+ append-cflags "$(pkg-config --cflags harfbuzz)"
+ fi
+
mycmakeargs=(
-DDEVICES="${USED_MODELS/;/}"
-DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d"