summaryrefslogtreecommitdiff
path: root/games-strategy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-11 02:19:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-11 02:19:03 +0100
commit995884416efaa899e9abe8d5c6899570e518b84b (patch)
treeb80d7fe7cc1e5e48e899d459fa62594665af4eb5 /games-strategy
parentf1cd8f3514f8b9fbc1cc9cfe0dd08a8cb258e87a (diff)
gentoo auto-resync : 11:08:2022 - 02:19:03
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/Manifest.gzbin8250 -> 8250 bytes
-rw-r--r--games-strategy/war1gus/Manifest2
-rw-r--r--games-strategy/war1gus/war1gus-3.3.2.ebuild68
-rw-r--r--games-strategy/wargus/Manifest2
-rw-r--r--games-strategy/wargus/wargus-3.3.2.ebuild81
5 files changed, 153 insertions, 0 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz
index 82d0e8c4ce2d..adaa90c0a6fe 100644
--- a/games-strategy/Manifest.gz
+++ b/games-strategy/Manifest.gz
Binary files differ
diff --git a/games-strategy/war1gus/Manifest b/games-strategy/war1gus/Manifest
index 9c0c39652772..63c9e7156182 100644
--- a/games-strategy/war1gus/Manifest
+++ b/games-strategy/war1gus/Manifest
@@ -1,7 +1,9 @@
DIST war1gus-3.2.0.tar.gz 408417 BLAKE2B 8369d380813aa6a5c7484e7b668284ee3b59bd4a914b82b074640344af977c08727260efc284a5ffc7d5c52ef7ae0ab45b484d87d855a088198b02adf5240bac SHA512 2e3509792509730254e9292dce66491e848980a37171281dcd851aaa0662a3dd8911444d97c25486acb61fa5ad913da3bb397ddd599cd7ea1293b0afbfc88bc6
DIST war1gus-3.3.0.tar.gz 486274 BLAKE2B 90675ce44cab26079c53ebd70377ea24bef3894d1f194f45496a0df6528e1bb63184f3c93f843ab9176ad02c542a9e51fbfa9f4af3bce6018fa7085d31494998 SHA512 9e17101954f7e953ba11cebd2f62eb9e3465217897bd55699846d6290fa5d249574d144f271e08485bc38ef7dd63e5efa05437faa5191148d1ea9341157834ea
DIST war1gus-3.3.1.tar.gz 486322 BLAKE2B cdf3db536c6cae2327ba044da13f2743c299481503723d00fbfeb8103932a0065afb0771f1719264fa7ed298b876f2189bc9c1def2b4fcc6c1b4a45992d0d322 SHA512 947592a220aeae99840abc88c5086d681afb72971f25f3e42c475d416529bb0341ca409aa5459e049d1dbe4b937cf25c29c6445958c5c61e26a67c4a4dd7ccb0
+DIST war1gus-3.3.2.tar.gz 486326 BLAKE2B 2ea0506bc2dabf8a1a58f52fe3bb0b110f07100b6f6ade29f2273f7718c8ef8572c642e6fba5005894383100190f3b649faa1b06286f11d4b7718cb59833eeb4 SHA512 e4c0b297cf215618edf007d2b1584f7d812607a33587b5254e1620dff6aa7a282b67b464b39eed11cd7405cae34d11f1587f42893b2ccf4ca531dc4c37375d74
EBUILD war1gus-3.2.0.ebuild 1495 BLAKE2B 10ab67d560010d6147c6e282fa338175cfac6a0123b0615cad5fc1fe8ae09247a9fa784d23ddf043bf595b4583a42ff0e182a338aa80dc43eac589d5aad2c583 SHA512 c8780c26dee696a286fb5370b53a92b90634442f2e9b4554189ab986e9e24fb98bd632a124fd702070e20f448499bbf7a624ad7e32192e06fd2d696e2015fb69
EBUILD war1gus-3.3.0.ebuild 1498 BLAKE2B 642be81055314d0f2f375d50707c94dbb901bc936527f2b19042ce08fb5e703671ba90626d4db21f4a6842bd6ad004f2a1c98bad83f8946575ece78c1ac45479 SHA512 9092d857009bed0219eb2c9ca9bcbeb75d4663394be94976c4a1ee0eccc0bcee8cee7dd3a81c5b464d4795a3bd227c2e4a62ec04a132ec18a5088a3644115278
EBUILD war1gus-3.3.1.ebuild 1498 BLAKE2B 642be81055314d0f2f375d50707c94dbb901bc936527f2b19042ce08fb5e703671ba90626d4db21f4a6842bd6ad004f2a1c98bad83f8946575ece78c1ac45479 SHA512 9092d857009bed0219eb2c9ca9bcbeb75d4663394be94976c4a1ee0eccc0bcee8cee7dd3a81c5b464d4795a3bd227c2e4a62ec04a132ec18a5088a3644115278
+EBUILD war1gus-3.3.2.ebuild 1498 BLAKE2B 642be81055314d0f2f375d50707c94dbb901bc936527f2b19042ce08fb5e703671ba90626d4db21f4a6842bd6ad004f2a1c98bad83f8946575ece78c1ac45479 SHA512 9092d857009bed0219eb2c9ca9bcbeb75d4663394be94976c4a1ee0eccc0bcee8cee7dd3a81c5b464d4795a3bd227c2e4a62ec04a132ec18a5088a3644115278
MISC metadata.xml 327 BLAKE2B 46d81ac16cc61355d8953d219d4fc378cca7390f8b4087410c898f25b3beaf97d8c74af9f99e9201adb92efe737c9fb5c3951a2f9859d24d802b5ecb846996a7 SHA512 6b513ad53703bf295fce142b26ec995fb6a1115a6ecf13813eec0f2cd5318f3d0f0fe01f4c3ef4848a6d00417dbb2558a6ed1879e3890951960c127e7693b1ed
diff --git a/games-strategy/war1gus/war1gus-3.3.2.ebuild b/games-strategy/war1gus/war1gus-3.3.2.ebuild
new file mode 100644
index 000000000000..d61b049b1854
--- /dev/null
+++ b/games-strategy/war1gus/war1gus-3.3.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Warcraft: Orcs & Humans for the Stratagus game engine"
+HOMEPAGE="
+ https://stratagus.com/war1gus.html
+ https://github.com/Wargus/war1gus/
+"
+SRC_URI="
+ https://github.com/Wargus/war1gus/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ =games-engines/stratagus-${PV}*[theora]
+ media-libs/libpng:0=
+ sys-libs/zlib:=
+ x11-libs/gtk+:2
+ x11-libs/libX11
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DGAMEDIR="${EPREFIX}/usr/bin"
+ -DBINDIR="${EPREFIX}/usr/bin"
+ -DSTRATAGUS="${EPREFIX}/usr/bin/stratagus"
+ -DSHAREDIR="${EPREFIX}/usr/share/stratagus/war1gus"
+ -DICONDIR=/usr/share/icons/hicolor/64x64/apps
+ )
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ elog "War1gus 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."
+
+ if ! has_version media-video/ffmpeg ||
+ ! has_version media-sound/timidity++
+ then
+ elog
+ elog "If you did not convert the game data yet, you may want to install"
+ elog "the following optional dependencies:"
+ elog
+ elog "media-video/ffmpeg -- to convert game videos"
+ elog "media-sound/timidity++ -- to convert game music"
+ fi
+
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}
diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest
index bc25aac8cd0e..8b72455151f3 100644
--- a/games-strategy/wargus/Manifest
+++ b/games-strategy/wargus/Manifest
@@ -1,7 +1,9 @@
DIST wargus-3.2.0.tar.gz 5062175 BLAKE2B e742c2dae21aa5a8a05ef8a4cefc7d1245707d401aa9e14dfc633aeac0e4e4e54459c0ce07cbd32aed842c3dcf57ea8df39fcfc34a9316211146a61ce71464dc SHA512 bc85304c0994abf778cf157d1013d9dea18e1d761a3b432018641211824bcdb2e424c938842848d8c7a670d8660289b5860342a99be7af259cf8eaf883af1285
DIST wargus-3.3.0.tar.gz 5094634 BLAKE2B aa0b02d62dc8620ba9517e5c7d1e8193f2c4c0e20b9b96b91cd5aa57fefdfda7354c82d67507aea67704adc7c77d90b858f0f3fb78d2a1bf430b5c4c5251f432 SHA512 3a2bd04aed0ced18a11ab925ca3d4da98f8848b45a0716fe5164ee5e0f9c76a63d7783d9ba94f3de022622e841f0257cb59d507ea772b2cc42419cef01ea8cbc
DIST wargus-3.3.1.tar.gz 5094251 BLAKE2B b5f3674db93a8973f166e6dd0dcd9adeee330aa3932b97218b10e3540f5bc6123c977f45463d77c1cf6cc8d5dcadf39d799551311e9a891ec91200e668febcd8 SHA512 33a642d87a9a0d407fd8591fbb19d5357b5d7ae2fa3319512776feb0b6dbdc4d403e82de907235a9614302b5b0af466da37af21f7f4093715d39fe7e7da30468
+DIST wargus-3.3.2.tar.gz 5110092 BLAKE2B bbde0931307f7a182086e898ff87e8d559ad0f239b04a019359a30fbca20b82745d598571d8d42353952aade4b96ded3de8e06b92dc947c7a7d9aee00c315c71 SHA512 111d7bc0889f86356226478834d515912b1221a131aa405acf75cbdd16cda4e83c4e900ea30e86c162301504a617755284a9656d6709aaa7ab2baf8f8591dcf8
EBUILD wargus-3.2.0.ebuild 1938 BLAKE2B dd8622e5021dcb08c3d52838023871eb1cae2f66198d336bbd8e40cb9cb780642b71655211acff480da59e65d25eb594ec9a137fd26471824e8158c3141133b6 SHA512 0a46d7635c3b3a59a18f952df7427b8e8e454bd7c5ac56e232338c88387b050eddefc028f9a1415ec1db76ac3b8c4e86d7c31ce1bc3d697aadd50bf3e14fdcc9
EBUILD wargus-3.3.0.ebuild 1949 BLAKE2B c9f02b4a29a00843e327fccc84aa2ce9ace4eb2611d4925dae763ec9cfda9cf5759e9e4ee71837445c3580ca9de2573f064e2b837260f5e978c1dc8cf48cdb87 SHA512 80e5ae52de4cae8499b9d904a7f73f35ea7ea13e53c9cb6a2a9576d57afe507fa6c67036e9858949b41056ec006ad17ee5610b82f3e9dd06841a14aa77086f6f
EBUILD wargus-3.3.1.ebuild 1949 BLAKE2B c9f02b4a29a00843e327fccc84aa2ce9ace4eb2611d4925dae763ec9cfda9cf5759e9e4ee71837445c3580ca9de2573f064e2b837260f5e978c1dc8cf48cdb87 SHA512 80e5ae52de4cae8499b9d904a7f73f35ea7ea13e53c9cb6a2a9576d57afe507fa6c67036e9858949b41056ec006ad17ee5610b82f3e9dd06841a14aa77086f6f
+EBUILD wargus-3.3.2.ebuild 1949 BLAKE2B c9f02b4a29a00843e327fccc84aa2ce9ace4eb2611d4925dae763ec9cfda9cf5759e9e4ee71837445c3580ca9de2573f064e2b837260f5e978c1dc8cf48cdb87 SHA512 80e5ae52de4cae8499b9d904a7f73f35ea7ea13e53c9cb6a2a9576d57afe507fa6c67036e9858949b41056ec006ad17ee5610b82f3e9dd06841a14aa77086f6f
MISC metadata.xml 536 BLAKE2B 4d7b4b47f8ac2fd71541d4f013b9e9e68a1be97426acdf768bbc2bb75cd16ec583a6542eab31a0cf11f16e3ebfbfcce6bf4b968a7dde059d388d1b8bf18a6048 SHA512 6cb843f123a8e5c5f81e92db2088a64601f00dffbebec293a59f34a6bff16aa763aaecc49d3e7429831bfebc77c72c70d9ae0958ecaf51ae73ea2ff746c4adab
diff --git a/games-strategy/wargus/wargus-3.3.2.ebuild b/games-strategy/wargus/wargus-3.3.2.ebuild
new file mode 100644
index 000000000000..fff6023fa177
--- /dev/null
+++ b/games-strategy/wargus/wargus-3.3.2.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg-utils
+
+DESCRIPTION="Warcraft II for the Stratagus game engine"
+HOMEPAGE="
+ https://stratagus.com/
+ https://github.com/Wargus/wargus/
+"
+SRC_URI="
+ https://github.com/Wargus/wargus/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+bne"
+
+DEPEND="
+ =games-engines/stratagus-${PV}*[theora]
+ media-libs/libpng:0=
+ sys-libs/zlib:=
+ x11-libs/gtk+:2
+ x11-libs/libX11
+ bne? ( app-arch/stormlib:= )
+ !games-strategy/wargus-data
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+pkg_pretend() {
+ if has_version games-strategy/wargus-data; then
+ ewarn "The system-wide install of game data via games-strategy/wargus-data"
+ ewarn "no longer works. The old data will be uninstalled after merging"
+ ewarn "this version of Wargus. If you would like to preserve it, please"
+ ewarn "abort the process and back /usr/share/stratagus/wargus up."
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DGAMEDIR="${EPREFIX}/usr/bin"
+ -DBINDIR="${EPREFIX}/usr/bin"
+ -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
+}
+
+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."
+
+ if ! has_version media-video/ffmpeg ||
+ ! has_version media-sound/cdparanoia
+ then
+ elog
+ elog "If you did not convert the game data yet, you may want to install"
+ elog "the following optional dependencies:"
+ elog
+ elog "media-video/ffmpeg -- to convert game videos"
+ elog "media-sound/cdparanoia -- to rip game music from the CD"
+ fi
+
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}