public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: games-strategy/armies-of-exigo-demo/
Date: Sat, 23 Mar 2024 13:16:14 +0000 (UTC)	[thread overview]
Message-ID: <1711160920.79be15d992b7a71e58b0c0f973ecb8839e303a33.julien@gentoo> (raw)

commit:     79be15d992b7a71e58b0c0f973ecb8839e303a33
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Mar 23 02:28:40 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Mar 23 02:28:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79be15d9

games-strategy/armies-of-exigo-demo: add multiplayer demo

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 games-strategy/armies-of-exigo-demo/Manifest       |  1 +
 .../armies-of-exigo-demo-1.0.ebuild                | 29 +++++++++++++---------
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/games-strategy/armies-of-exigo-demo/Manifest b/games-strategy/armies-of-exigo-demo/Manifest
index 97ac98e107..13461387b2 100644
--- a/games-strategy/armies-of-exigo-demo/Manifest
+++ b/games-strategy/armies-of-exigo-demo/Manifest
@@ -1 +1,2 @@
+DIST armies-of-exigo--multiplayer-demo--portable-without-installer.tar.xz 462702016 BLAKE2B fba9e0d2ade32779b8c08edf1402a4d7502bb4463a3565e37f14d159f0e2854129f1c6a82441fff3e934186cba36bcfa858ac42f6ebf89affefc463b68fee77e SHA512 0beb7790425f7220bdaf3247513466fede9d1c139f2e4dddc09c9fc8a0d67fc0d858f2ac916f1de30a7f117e9ffe08bbfe0ca188222ce772edc5cb579eff03ee
 DIST armies-of-exigo--single-player-demo--portable-without-installer.tar.xz 97293504 BLAKE2B c9441d12795273cae4118ddab3e2fdd5df6c621b351f4370f8aba18310cec80a0d02295f343e4639236ca034a055491a9b714ddf2c2e8cd54c492eceb787b4f9 SHA512 b6121c64503fa7362a4c3050f601fa0c365b3154783c7e1fc84307e933f76b8b3fa9fe5061af6fa3fa813e88e680ef1b9ad8e34b4bf2f5d45a884e20f580b078

diff --git a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
index 8bdbedb061..16fd8a1ada 100644
--- a/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
+++ b/games-strategy/armies-of-exigo-demo/armies-of-exigo-demo-1.0.ebuild
@@ -8,8 +8,10 @@ inherit wrapper
 DESCRIPTION="Singleplayer demo of Armies of Exigo (like WarCraft III), Windows"
 HOMEPAGE="https://en.wikipedia.org/wiki/Armies_of_Exigo"
 
-SRC_URI="https://archive.org/download/armies-of-exigo--single-player-demo--portable-without-installer.tar/armies-of-exigo--single-player-demo--portable-without-installer.tar.xz"
-# TODO add multiplayer demo
+SRC_URI="
+	https://archive.org/download/armies-of-exigo--single-player-demo--portable-without-installer.tar/armies-of-exigo--single-player-demo--portable-without-installer.tar.xz
+	https://archive.org/download/armies-of-exigo--multiplayer-demo--portable-without-installer.tar/armies-of-exigo--multiplayer-demo--portable-without-installer.tar.xz
+"
 
 KEYWORDS="~amd64"
 S="${WORKDIR}"
@@ -21,26 +23,29 @@ RESTRICT="strip"
 RDEPEND="
 	~games-emulation/conty-1.25.2:0
 "
+# TODO add USE flag to be able to choolse local wine or wine-proton, against 1.4 GB dependency?
 
 QA_PREBUILT="*"
 
-dir=/opt/armies-of-exigo
+dir=/opt/armies-of-exigo/demo/
 
 src_install() {
 
-	conty=conty-1.25.2
+	mkdir -p "$ED$dir"
 
-	single=armies-of-exigo-demo-single
+	nameSingle=armies-of-exigo--single-player-demo--portable-without-installer
+	nameMulti=armies-of-exigo--multiplayer-demo--portable-without-installer
 
-	mkdir -p "$ED"/opt/armies-of-exigo
+	cp -r "$nameSingle" "$ED$dir"singleplayer
+	cp -r "$nameMulti"  "$ED$dir"multiplayer
 
-	name=armies-of-exigo--single-player-demo--portable-without-installer
+	single=armies-of-exigo--demo-singleplayer
+	multi=armies-of-exigo--demo-multiplayer
 
-	cp -r "$name" "$ED"/opt/armies-of-exigo/singleplayer-demo
+	conty='conty-1.25.2'
 
-	path="$dir/singleplayer-demo/Exigo_spdemo.exe"
-	make_wrapper "$single" "$conty wine \"$path\""
-	# TODO add USE flag to be able to choolse local wine or wine-proton, against 1.4 GB dependency?
+	make_wrapper "$single" "$conty wine $dir/singleplayer/Exigo_spdemo.exe"
+	make_wrapper "$multi"  "$conty wine $dir/multiplayer/Exigo_mpdemo.exe"
 
 }
 
@@ -56,5 +61,5 @@ pkg_postinst() {
 	einfo "or Intellectual Property holder can make a remake - add more display resolutions, improve the AI,"
 	einfo "make it runnable on modern Windows."
 	einfo ""
-	einfo "The game is installed to $dir - if you want to run it by another Wine"
+	einfo "The game is installed to $dir - if you want to run it by another Wine or operating system"
 }


             reply	other threads:[~2024-03-23 13:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23 13:16 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-17 15:08 [gentoo-commits] repo/proj/guru:dev commit in: games-strategy/armies-of-exigo-demo/ Arthur Zamarin
2024-04-17 15:11 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2024-03-23 16:05 Julien Roy
2024-03-22 21:28 Julien Roy
2024-03-22 21:28 Julien Roy
2024-03-21 23:12 Julien Roy
2024-03-21 23:06 Julien Roy
2024-03-21 23:06 Julien Roy

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=1711160920.79be15d992b7a71e58b0c0f973ecb8839e303a33.julien@gentoo \
    --to=julien@jroy.ca \
    --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