summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 16:47:10 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 17:07:32 -0700
commit268cdc056ddcc77cca94428f348db2cd0ca90c95 (patch)
treeb1625bad9d68dea7071840d4ba0ad692c1a63301
parentgames-arcade/supertux: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-268cdc056ddcc77cca94428f348db2cd0ca90c95.tar.gz
gentoo-268cdc056ddcc77cca94428f348db2cd0ca90c95.tar.bz2
gentoo-268cdc056ddcc77cca94428f348db2cd0ca90c95.zip
games-board/holdingnuts: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
-rw-r--r--games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild10
-rw-r--r--games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild4
2 files changed, 10 insertions, 4 deletions
diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
index 457e8f4aa2cb..43adabfbe09f 100644
--- a/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
+++ b/games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -23,9 +23,15 @@ RDEPEND="
DEPEND="${RDEPEND}
>=dev-util/cmake-2.6.3"
+PATCHES=(
+ # upstream patch (bug #307901)
+ "${FILESDIR}"/${P}-wheel.patch
+)
+
src_prepare() {
+ cmake-utils_src_prepare
+
sed -i -e '/^Path/d' holdingnuts.desktop || die
- epatch "${FILESDIR}"/${P}-wheel.patch # upstream patch (bug #307901)
}
src_configure() {
diff --git a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
index 08d29871cc41..daad81defad1 100644
--- a/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
+++ b/games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,7 +28,7 @@ PATCHES=(
)
src_prepare() {
- default
+ cmake-utils_src_prepare
sed -i -e '/^Path/d' holdingnuts.desktop || die
}