summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-08 04:08:33 +0000
committerSam James <sam@gentoo.org>2023-01-08 04:55:06 +0000
commit1adc6e82e8dc310810c784400b805edf18ef957b (patch)
treea929400cf2ec2c374a9ceda4a9fc94ae88500a24 /games-strategy
parentgames-strategy/ja2-stracciatella: version bump to 0.20.2 (diff)
downloadgentoo-1adc6e82e8dc310810c784400b805edf18ef957b.tar.gz
gentoo-1adc6e82e8dc310810c784400b805edf18ef957b.tar.bz2
gentoo-1adc6e82e8dc310810c784400b805edf18ef957b.zip
games-strategy/ja2-stracciatella: EAPI 8, fix indentation, tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild42
1 files changed, 20 insertions, 22 deletions
diff --git a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild
index 9558c4638b19..20fb18ba3fae 100644
--- a/games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild
+++ b/games-strategy/ja2-stracciatella/ja2-stracciatella-0.20.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
CRATES="
addr2line-0.17.0
@@ -162,27 +162,25 @@ src_prepare() {
}
src_configure() {
- local mycmakeargs=()
+ local mycmakeargs=(
+ -DLOCAL_GTEST_LIB=OFF
+ -DLOCAL_LUA_LIB=OFF
+ -DLOCAL_MAGICENUM_LIB=OFF
+ -DLOCAL_MINIAUDIO_LIB=OFF
+ -DLOCAL_RAPIDJSON_LIB=OFF
+ -DLOCAL_SOL_LIB=OFF
+ -DLOCAL_STRING_THEORY_LIB=OFF
+ -DWITH_MAGICENUM=OFF
+ -DWITH_RUST_BINARIES=OFF
+ -DBUILD_LAUNCHER=OFF
+ -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
+ -DEXTRA_DATA_DIR="${EPREFIX}/usr/share/ja2"
+ -DMINIAUDIO_INCLUDE_DIR="${EPREFIX}/usr/include/miniaudio"
+ -DMAGICENUM_INCLUDE_DIR="${EPREFIX}/usr/include"
+ )
- mycmakeargs+=(
- -DLOCAL_GTEST_LIB=OFF
- -DLOCAL_LUA_LIB=OFF
- -DLOCAL_MAGICENUM_LIB=OFF
- -DLOCAL_MINIAUDIO_LIB=OFF
- -DLOCAL_RAPIDJSON_LIB=OFF
- -DLOCAL_SOL_LIB=OFF
- -DLOCAL_STRING_THEORY_LIB=OFF
- -DWITH_MAGICENUM=OFF
- -DWITH_RUST_BINARIES=OFF
- -DBUILD_LAUNCHER=OFF
- -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
- -DEXTRA_DATA_DIR="${EPREFIX}/usr/share/ja2"
- -DMINIAUDIO_INCLUDE_DIR="${EPREFIX}/usr/include/miniaudio"
- -DMAGICENUM_INCLUDE_DIR="${EPREFIX}/usr/include"
- )
-
- cargo_gen_config
- cmake_src_configure
+ cargo_gen_config
+ cmake_src_configure
}
src_install() {