mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user