Skip to content

Commit

Permalink
games-board/holdingnuts: [QA] Add cmake-utils_src_prepare
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.11, Repoman-2.3.3
  • Loading branch information
SoapGentoo committed Oct 16, 2017
1 parent 5353b71 commit 268cdc0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions games-board/holdingnuts/holdingnuts-0.0.5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions games-board/holdingnuts/holdingnuts-0.0.5-r2.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -28,7 +28,7 @@ PATCHES=(
)

src_prepare() {
default
cmake-utils_src_prepare

sed -i -e '/^Path/d' holdingnuts.desktop || die
}
Expand Down

0 comments on commit 268cdc0

Please sign in to comment.