diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-01-13 12:41:15 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-01-13 12:41:15 +0100 |
commit | 5b88c3d7cb122ae546843a3f58139bd890d86bac (patch) | |
tree | 06d01e0610b7194530a48c8e45463e097544e244 /sys-apps/roccat-tools | |
parent | profiles: mask wrong version of dev-python/nototools (diff) | |
download | gentoo-5b88c3d7cb122ae546843a3f58139bd890d86bac.tar.gz gentoo-5b88c3d7cb122ae546843a3f58139bd890d86bac.tar.bz2 gentoo-5b88c3d7cb122ae546843a3f58139bd890d86bac.zip |
sys-apps/roccat-tools: Ebuild adjustments
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/roccat-tools')
-rw-r--r-- | sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild | 15 |
1 files changed, 4 insertions, 11 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 131d60810454..3cc91e932e03 100644 --- a/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild +++ b/sys-apps/roccat-tools/roccat-tools-5.9.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit readme.gentoo-r1 cmake flag-o-matic udev user xdg +inherit readme.gentoo-r1 cmake flag-o-matic toolchain-funcs udev user xdg DESCRIPTION="Utility for advanced configuration of Roccat devices" @@ -84,8 +84,9 @@ 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)" + # Fix build with pango-1.44 which depends on harfbuzz + local PKGCONF="$(tc-getPKG_CONFIG)" + append-cflags "$(${PKGCONF} --cflags harfbuzz)" fi mycmakeargs=( @@ -118,10 +119,6 @@ src_install() { readme.gentoo_create_doc } -pkg_preinst() { - xdg_pkg_preinst -} - pkg_postinst() { xdg_pkg_postinst readme.gentoo_print_elog @@ -130,7 +127,3 @@ pkg_postinst() { ewarn "affected folder(s) in /var/lib/roccat" ewarn } - -pkg_postrm() { - xdg_pkg_postrm -} |