From: Lars Wendler Date: Wed, 1 Jan 2020 13:52:17 +0000 (+0100) Subject: sys-apps/roccat-tools: Fix build with pango-1.44 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f8ac2929494bd379889bb50d9d96ec4df466e5c6;p=gentoo.git 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 --- 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"