summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-03 20:34:09 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-04 10:37:21 +0100
commit7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af (patch)
treee0665a5ce5c6e08888f9f76d783748602c5b92c8 /games-strategy/widelands
parentwww-client/epiphany: bump to 3.32.6 (diff)
downloadgentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.tar.gz
gentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.tar.bz2
gentoo-7b39c6e5c4db51c5f45bb47a3e38d0da17ef95af.zip
*/*: Switch games proj to cmake.eclass
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'games-strategy/widelands')
-rw-r--r--games-strategy/widelands/widelands-0.20.ebuild8
-rw-r--r--games-strategy/widelands/widelands-0.20_rc1.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/games-strategy/widelands/widelands-0.20.ebuild b/games-strategy/widelands/widelands-0.20.ebuild
index b1bdd2677338..2ccf31fe16eb 100644
--- a/games-strategy/widelands/widelands-0.20.ebuild
+++ b/games-strategy/widelands/widelands-0.20.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop cmake-utils
+inherit desktop cmake
MY_PV="build$(ver_cut 2-)"
MY_P="${PN}-${MY_PV/_/-}"
@@ -43,7 +43,7 @@ PATCHES=(
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
}
@@ -57,11 +57,11 @@ src_configure() {
# Game is NOT happy being moved from /usr/share/games
-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# move game binary to correct location
dodir /usr/bin
diff --git a/games-strategy/widelands/widelands-0.20_rc1.ebuild b/games-strategy/widelands/widelands-0.20_rc1.ebuild
index 9cfddcf425f9..aaff95f0bbf1 100644
--- a/games-strategy/widelands/widelands-0.20_rc1.ebuild
+++ b/games-strategy/widelands/widelands-0.20_rc1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit desktop cmake-utils
+inherit desktop cmake
MY_PV="build$(ver_cut 2-)"
MY_P="${PN}-${MY_PV/_/-}"
@@ -43,7 +43,7 @@ PATCHES=(
)
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die
}
@@ -57,11 +57,11 @@ src_configure() {
# Game is NOT happy being moved from /usr/share/games
-DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN}
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# move game binary to correct location
dodir /usr/bin