diff options
author | David Seifert <soap@gentoo.org> | 2023-01-03 15:49:06 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-01-03 15:49:06 +0100 |
commit | 128c4b0b6c73f994174bf351d311ed021adbc6f7 (patch) | |
tree | b29ea0b846a53af1bc54ded701368dd2ff5f638a /dev-libs/libgaminggear | |
parent | www-apps/prowlarr: drop 1.0.0.2171 (diff) | |
download | gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.tar.gz gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.tar.bz2 gentoo-128c4b0b6c73f994174bf351d311ed021adbc6f7.zip |
*/*: make mycmakeargs local
Closes: https://github.com/gentoo/gentoo/pull/28947
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-libs/libgaminggear')
-rw-r--r-- | dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild b/dev-libs/libgaminggear/libgaminggear-0.15.1.ebuild index d840aa57f738..2a564652addf 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-2020 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake xdg +inherit xdg cmake DESCRIPTION="Provides functionality for gaming input devices" @@ -39,30 +39,9 @@ PATCHES=( "${FILESDIR}"/${P}-cmake-3.13.patch ) -# Required because xdg.eclass overrides src_prepare() from cmake.eclass -src_prepare() { - cmake_src_prepare -} - src_configure() { - mycmakeargs=( + local mycmakeargs=( -DWITH_DOC="$(usex doc)" ) cmake_src_configure } - -src_install() { - cmake_src_install -} - -pkg_preinst() { - xdg_pkg_preinst -} - -pkg_postinst() { - xdg_pkg_postinst -} - -pkg_postrm() { - xdg_pkg_postrm -} |