Skip to content

Commit

Permalink
games-action/lugaru: [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 9cc6758 commit b3993d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion games-action/lugaru/lugaru-20151204-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ PATCHES=(
)

src_prepare() {
default
cmake-utils_src_prepare

sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die
Expand Down
7 changes: 5 additions & 2 deletions games-action/lugaru/lugaru-20151204.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5
Expand All @@ -25,8 +25,11 @@ RDEPEND="
DEPEND="${RDEPEND}
virtual/pkgconfig"

PATCHES=( "${FILESDIR}/${P}-dir.patch" )

src_prepare() {
epatch "${FILESDIR}/${P}-dir.patch"
cmake-utils_src_prepare

sed -i \
-e "s:@GENTOO_DIR@:${GAMES_DATADIR}/${PN}:" \
Source/OpenGL_Windows.cpp || die
Expand Down
3 changes: 2 additions & 1 deletion games-action/lugaru/lugaru-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ PATCHES=(
)

src_prepare() {
default
cmake-utils_src_prepare

sed -i \
-e "s:@GENTOO_DIR@:/usr/share/${PN}:" \
Source/OpenGL_Windows.cpp || die
Expand Down

0 comments on commit b3993d2

Please sign in to comment.