public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/ja2-stracciatella/
Date: Sun,  8 Jan 2023 04:55:17 +0000 (UTC)	[thread overview]
Message-ID: <1673153706.1adc6e82e8dc310810c784400b805edf18ef957b.sam@gentoo> (raw)

commit:     1adc6e82e8dc310810c784400b805edf18ef957b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  8 04:08:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan  8 04:55:06 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adc6e82

games-strategy/ja2-stracciatella: EAPI 8, fix indentation, tests

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../ja2-stracciatella-0.20.0.ebuild                | 42 +++++++++++-----------
 1 file 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() {


             reply	other threads:[~2023-01-08  4:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08  4:55 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-05  3:37 [gentoo-commits] repo/gentoo:master commit in: games-strategy/ja2-stracciatella/ Sam James
2024-03-29 18:47 Sam James
2024-01-21  9:35 Florian Schmaus
2023-07-28 18:30 Andreas Sturmlechner
2023-07-28 17:56 Arthur Zamarin
2023-06-11  4:11 Arthur Zamarin
2023-06-10 22:34 Sam James
2023-01-09  1:09 Sam James
2023-01-08  4:55 Sam James
2022-11-22 13:46 Arthur Zamarin
2021-02-24 21:20 Sam James
2021-02-10 14:49 Sam James
2021-01-22  1:43 Sam James
2021-01-22  1:41 Sam James
2020-09-05  1:02 Sam James
2018-01-07  0:32 Ulrich Müller
2015-12-18  8:17 Michael Sterrett
2015-12-18  8:17 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1673153706.1adc6e82e8dc310810c784400b805edf18ef957b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox