diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-17 15:09:40 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-07-17 15:10:35 +0200 |
commit | 2db02e8a6d83b74d1478ecabf1607a61d2747906 (patch) | |
tree | 298f26f5f06dec0f8106840ecf67c36d4decb2ea /dev-libs/libgaminggear | |
parent | sys-apps/roccat-tools: Bump to version 5.9.0 (diff) | |
download | gentoo-2db02e8a6d83b74d1478ecabf1607a61d2747906.tar.gz gentoo-2db02e8a6d83b74d1478ecabf1607a61d2747906.tar.bz2 gentoo-2db02e8a6d83b74d1478ecabf1607a61d2747906.zip |
dev-libs/libgaminggear: Bump to EAPI-7
Removed unused cmake variable and added missing BDEP.
Closes: https://bugs.gentoo.org/659162
Closes: https://bugs.gentoo.org/669602
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libgaminggear')
-rw-r--r-- | dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild index d746559f9a2f..4e350d095d8c 100644 --- a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild +++ b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils gnome2-utils +inherit cmake-utils xdg DESCRIPTION="Provides functionality for gaming input devices" @@ -27,6 +27,9 @@ RDEPEND=" DEPEND=" ${RDEPEND} virtual/libgudev +" +BDEPEND=" + dev-util/glib-utils doc? ( app-doc/doxygen ) " @@ -34,10 +37,14 @@ PATCHES=( "${FILESDIR}"/${PN}-0.10.0-doc.patch ) +# Required because xdg.eclass overrides src_prepare() from cmake-utils.eclass +src_prepare() { + cmake-utils_src_prepare +} + src_configure() { mycmakeargs=( -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr - -DDOCDIR=share/doc/${PF} -DWITH_DOC="$(usex doc)" ) cmake-utils_src_configure @@ -48,13 +55,13 @@ src_install() { } pkg_preinst() { - gnome2_icon_savelist + xdg_pkg_preinst } pkg_postinst() { - gnome2_icon_cache_update + xdg_pkg_postinst } pkg_postrm() { - gnome2_icon_cache_update + xdg_pkg_postrm } |