public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
Date: Sun, 20 Dec 2020 10:40:15 +0000 (UTC)	[thread overview]
Message-ID: <1608460794.564930564aeb4bf901a4fcce413052584214e12a.mgorny@gentoo> (raw)

commit:     564930564aeb4bf901a4fcce413052584214e12a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 10:11:43 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 10:39:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56493056

games-strategy/wargus: Support extracting BNE data

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 games-strategy/wargus/metadata.xml                                 | 4 ++++
 .../wargus/{wargus-3.0.0.ebuild => wargus-3.0.0-r1.ebuild}         | 7 ++++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/games-strategy/wargus/metadata.xml b/games-strategy/wargus/metadata.xml
index 4dbdbbfd032..e87f6c4d810 100644
--- a/games-strategy/wargus/metadata.xml
+++ b/games-strategy/wargus/metadata.xml
@@ -9,6 +9,10 @@
 		<email>games@gentoo.org</email>
 		<name>Gentoo Games Project</name>
 	</maintainer>
+	<use>
+		<flag name="bne">Support extracting data from the Battle.net
+			Edition</flag>
+	</use>
 	<upstream>
 		<remote-id type="github">Wargus/wargus</remote-id>
 	</upstream>

diff --git a/games-strategy/wargus/wargus-3.0.0.ebuild b/games-strategy/wargus/wargus-3.0.0-r1.ebuild
similarity index 94%
rename from games-strategy/wargus/wargus-3.0.0.ebuild
rename to games-strategy/wargus/wargus-3.0.0-r1.ebuild
index 23954b3347a..a15e86163b5 100644
--- a/games-strategy/wargus/wargus-3.0.0.ebuild
+++ b/games-strategy/wargus/wargus-3.0.0-r1.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="+bne"
 
 RDEPEND="
 	=games-engines/stratagus-${PV}*[theora]
@@ -21,6 +21,7 @@ RDEPEND="
 	sys-libs/zlib:=
 	x11-libs/gtk+:2
 	x11-libs/libX11
+	bne? ( app-arch/stormlib:= )
 	!games-strategy/wargus-data"
 DEPEND="${RDEPEND}"
 BDEPEND="
@@ -42,6 +43,7 @@ src_configure() {
 		-DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
 		-DSHAREDIR="${EPREFIX}/usr/share/stratagus/wargus"
 		-DICONDIR=/usr/share/icons/hicolor/64x64/apps
+		-DWITH_STORMLIB=$(usex bne)
 	)
 	cmake_src_configure
 }
@@ -49,8 +51,7 @@ src_configure() {
 pkg_postinst() {
 	elog "Wargus requires the data from the original game to run.  The game"
 	elog "will ask you for the location of the game data and extract/convert"
-	elog "it automatically on the first run.  Only the DOS version is supported"
-	elog "at the moment."
+	elog "it automatically on the first run."
 
 	if ! has_version media-video/ffmpeg ||
 		! has_version media-sound/cdparanoia


             reply	other threads:[~2020-12-20 10:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-20 10:40 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-15 15:15 [gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/ Michał Górny
2022-12-18 17:04 Andreas Sturmlechner
2022-08-10 20:44 Michał Górny
2022-08-01 11:07 Michał Górny
2022-08-01 11:07 Michał Górny
2022-07-29 18:02 Michał Górny
2021-12-24 22:52 Michał Górny
2021-07-17  6:18 Michał Górny
2021-07-15 17:50 Michał Górny
2021-07-03 21:46 Michał Górny
2021-02-14 21:24 Andreas Sturmlechner
2020-12-19 15:32 Michał Górny
2020-11-23  0:33 Michał Górny
2020-11-22 22:33 Michał Górny
2020-11-22 22:33 Michał Górny
2018-04-29 13:06 Pacho Ramos
2018-01-27 14:47 David Seifert
2016-03-20 20:51 Michael Sterrett
2016-03-15 11:30 Agostino Sarubbo
2016-01-15 23:27 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=1608460794.564930564aeb4bf901a4fcce413052584214e12a.mgorny@gentoo \
    --to=mgorny@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