[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 1eeb95b6a097c892a6f9b05cd74cbf8bffa45bd7 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 15 15:07:08 2024 + Commit: Michał Górny gentoo org> CommitDate: Thu Feb 15 15:15:39 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eeb95b6 games-strategy/wargus: Remove old Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 - games-strategy/wargus/wargus-3.3.1.ebuild | 81 --- 2 files changed, 82 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 83efd6284304..9eaf30f49f15 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,2 +1 @@ -DIST wargus-3.3.1.tar.gz 5094251 BLAKE2B b5f3674db93a8973f166e6dd0dcd9adeee330aa3932b97218b10e3540f5bc6123c977f45463d77c1cf6cc8d5dcadf39d799551311e9a891ec91200e668febcd8 SHA512 33a642d87a9a0d407fd8591fbb19d5357b5d7ae2fa3319512776feb0b6dbdc4d403e82de907235a9614302b5b0af466da37af21f7f4093715d39fe7e7da30468 DIST wargus-3.3.2.tar.gz 5110092 BLAKE2B bbde0931307f7a182086e898ff87e8d559ad0f239b04a019359a30fbca20b82745d598571d8d42353952aade4b96ded3de8e06b92dc947c7a7d9aee00c315c71 SHA512 111d7bc0889f86356226478834d515912b1221a131aa405acf75cbdd16cda4e83c4e900ea30e86c162301504a617755284a9656d6709aaa7ab2baf8f8591dcf8 diff --git a/games-strategy/wargus/wargus-3.3.1.ebuild b/games-strategy/wargus/wargus-3.3.1.ebuild deleted file mode 100644 index fff6023fa177.. --- a/games-strategy/wargus/wargus-3.3.1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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 -}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus-data/, profiles/
commit: d6889d03dfe8a1e86a93d5e041a19bd54c280a25 Author: David Seifert gentoo org> AuthorDate: Sat Mar 11 18:30:31 2023 + Commit: David Seifert gentoo org> CommitDate: Sat Mar 11 18:30:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6889d03 games-strategy/wargus-data: Remove last-rited pkg Closes: https://bugs.gentoo.org/578340 Closes: https://bugs.gentoo.org/838298 Signed-off-by: David Seifert gentoo.org> games-strategy/wargus-data/metadata.xml| 11 -- games-strategy/wargus-data/wargus-data-0-r1.ebuild | 45 -- profiles/package.mask | 6 --- 3 files changed, 62 deletions(-) diff --git a/games-strategy/wargus-data/metadata.xml b/games-strategy/wargus-data/metadata.xml deleted file mode 100644 index cc7f88c680c1.. --- a/games-strategy/wargus-data/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - ga...@gentoo.org - Gentoo Games Project - - - wargus - - diff --git a/games-strategy/wargus-data/wargus-data-0-r1.ebuild b/games-strategy/wargus-data/wargus-data-0-r1.ebuild deleted file mode 100644 index 9636a8e03f33.. --- a/games-strategy/wargus-data/wargus-data-0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cdrom - -DESCRIPTION="Warcraft II data for wargus (needs DOS CD)" -HOMEPAGE="http://wargus.sourceforge.net/; -SRC_URI="" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -# wargus is needed for wartool (bug #578340) -DEPEND=" - games-strategy/wargus - media-sound/cdparanoia - media-sound/timidity++ - media-video/ffmpeg2theora" -# wrt bug #419331 -RESTRICT="userpriv" - -S=${WORKDIR} - -src_configure() { - export CDROM_NAME="WARCRAFT2" - cdrom_get_cds data/rezdat.war -} - -src_compile() { - # cdparanoia needs write acces to the cdrom device - # this fixes sandbox violation wrt #418051 - local save_sandbox_write=${SANDBOX_WRITE} - addwrite /dev - "${EPREFIX}"/usr/bin/wartool -v -r "${CDROM_ROOT}"/data "${S}"/ || die - SANDBOX_WRITE=${save_sandbox_write} -} - -src_install() { - insinto /usr/share/stratagus/wargus - doins -r . -} diff --git a/profiles/package.mask b/profiles/package.mask index 5465052d3080..b0c0c2e2ac7c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -391,12 +391,6 @@ media-plugins/vdr-vaapidevice media-sound/potamus media-video/ffmpeg2theora -# Michał Górny (2023-01-21) -# Obsoleted in favor of using extract-on-the-first-run feature -# of games-strategy/wargus. -# Removal on 2023-02-20. Bug #578340. -games-strategy/wargus-data - # Hans de Graaff (2023-01-21) # No longer maintained upstream and missing recent security fixes. # Use a newer Rails version instead.
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 840b42d15757a203eb468fd16bdbcb4826aae2a8 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 18 13:16:48 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 18 17:04:07 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840b42d1 games-strategy/wargus: drop 3.2.0, 3.3.0 Signed-off-by: Andreas Sturmlechner gentoo.org> games-strategy/wargus/Manifest| 2 - games-strategy/wargus/wargus-3.2.0.ebuild | 73 games-strategy/wargus/wargus-3.3.0.ebuild | 81 --- 3 files changed, 156 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index d6a3a56c6eaf..83efd6284304 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,4 +1,2 @@ -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 diff --git a/games-strategy/wargus/wargus-3.2.0.ebuild b/games-strategy/wargus/wargus-3.2.0.ebuild deleted file mode 100644 index 05c144af13dd.. --- a/games-strategy/wargus/wargus-3.2.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -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" - -RDEPEND=" - =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" -DEPEND="${RDEPEND}" -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 -} diff --git a/games-strategy/wargus/wargus-3.3.0.ebuild b/games-strategy/wargus/wargus-3.3.0.ebuild deleted file mode 100644 index fff6023fa177.. --- a/games-strategy/wargus/wargus-3.3.0.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 773388832afa39cff42777c11e2db7f7946fb335 Author: Michał Górny gentoo org> AuthorDate: Wed Aug 10 20:39:24 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Aug 10 20:43:57 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77338883 games-strategy/wargus: Bump to 3.3.2 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.3.2.ebuild | 81 +++ 2 files changed, 82 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 256fed47430f..d6a3a56c6eaf 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,3 +1,4 @@ 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 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 1519f9467bd1fb13da9485cc7a737965bb097136 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 1 10:58:22 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 1 11:07:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1519f946 games-strategy/wargus: Bump to 3.3.1 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.3.1.ebuild | 81 +++ 2 files changed, 82 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 4ba61d64d047..9a547b9fb426 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -5,3 +5,4 @@ DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5 DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e 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 diff --git a/games-strategy/wargus/wargus-3.3.1.ebuild b/games-strategy/wargus/wargus-3.3.1.ebuild new file mode 100644 index ..fff6023fa177 --- /dev/null +++ b/games-strategy/wargus/wargus-3.3.1.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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: ecc0601efb919df2f6b16c9ab818a7da3b7b4aac Author: Michał Górny gentoo org> AuthorDate: Mon Aug 1 10:59:15 2022 + Commit: Michał Górny gentoo org> CommitDate: Mon Aug 1 11:07:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc0601e games-strategy/wargus: Remove old Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest | 5 -- games-strategy/wargus/wargus-2.4.3.ebuild| 71 --- games-strategy/wargus/wargus-3.0.0-r1.ebuild | 72 --- games-strategy/wargus/wargus-3.1.0.ebuild| 73 games-strategy/wargus/wargus-3.1.1.ebuild| 73 games-strategy/wargus/wargus-3.1.2.ebuild| 73 6 files changed, 367 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 9a547b9fb426..256fed47430f 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,8 +1,3 @@ -DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c -DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 -DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169 -DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59 -DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e 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 diff --git a/games-strategy/wargus/wargus-2.4.3.ebuild b/games-strategy/wargus/wargus-2.4.3.ebuild deleted file mode 100644 index 23954b3347a3.. --- a/games-strategy/wargus/wargus-2.4.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake xdg-utils - -DESCRIPTION="Warcraft II for the Stratagus game engine" -HOMEPAGE="https://wargus.github.io/ - 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="" - -RDEPEND=" - =games-engines/stratagus-${PV}*[theora] - media-libs/libpng:0= - sys-libs/zlib:= - x11-libs/gtk+:2 - x11-libs/libX11 - !games-strategy/wargus-data" -DEPEND="${RDEPEND}" -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=( -
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: b5462d7f8693e42615d7a02824fe1c8b151052cc Author: Michał Górny gentoo org> AuthorDate: Fri Jul 29 16:08:33 2022 + Commit: Michał Górny gentoo org> CommitDate: Fri Jul 29 18:02:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5462d7f games-strategy/wargus: Bump to 3.3.0 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.3.0.ebuild | 81 +++ 2 files changed, 82 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 3eabf6a8f07a..4ba61d64d047 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -4,3 +4,4 @@ DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a5 DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59 DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e DIST wargus-3.2.0.tar.gz 5062175 BLAKE2B e742c2dae21aa5a8a05ef8a4cefc7d1245707d401aa9e14dfc633aeac0e4e4e54459c0ce07cbd32aed842c3dcf57ea8df39fcfc34a9316211146a61ce71464dc SHA512 bc85304c0994abf778cf157d1013d9dea18e1d761a3b432018641211824bcdb2e424c938842848d8c7a670d8660289b5860342a99be7af259cf8eaf883af1285 +DIST wargus-3.3.0.tar.gz 5094634 BLAKE2B aa0b02d62dc8620ba9517e5c7d1e8193f2c4c0e20b9b96b91cd5aa57fefdfda7354c82d67507aea67704adc7c77d90b858f0f3fb78d2a1bf430b5c4c5251f432 SHA512 3a2bd04aed0ced18a11ab925ca3d4da98f8848b45a0716fe5164ee5e0f9c76a63d7783d9ba94f3de022622e841f0257cb59d507ea772b2cc42419cef01ea8cbc diff --git a/games-strategy/wargus/wargus-3.3.0.ebuild b/games-strategy/wargus/wargus-3.3.0.ebuild new file mode 100644 index ..fff6023fa177 --- /dev/null +++ b/games-strategy/wargus/wargus-3.3.0.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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 2c116e01b135765dd8dff752157b053d6681741d Author: Michał Górny gentoo org> AuthorDate: Fri Dec 24 21:38:54 2021 + Commit: Michał Górny gentoo org> CommitDate: Fri Dec 24 22:52:35 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c116e01 games-strategy/wargus: Bump to 3.2.0 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.2.0.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 2c3f8bf8c483..3eabf6a8f07a 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -3,3 +3,4 @@ DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7be DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169 DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59 DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e +DIST wargus-3.2.0.tar.gz 5062175 BLAKE2B e742c2dae21aa5a8a05ef8a4cefc7d1245707d401aa9e14dfc633aeac0e4e4e54459c0ce07cbd32aed842c3dcf57ea8df39fcfc34a9316211146a61ce71464dc SHA512 bc85304c0994abf778cf157d1013d9dea18e1d761a3b432018641211824bcdb2e424c938842848d8c7a670d8660289b5860342a99be7af259cf8eaf883af1285 diff --git a/games-strategy/wargus/wargus-3.2.0.ebuild b/games-strategy/wargus/wargus-3.2.0.ebuild new file mode 100644 index ..05c144af13dd --- /dev/null +++ b/games-strategy/wargus/wargus-3.2.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND=" + =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" +DEPEND="${RDEPEND}" +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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: fae525a4b60c0bb0e8c02f10609b12ca792b0ede Author: Michał Górny gentoo org> AuthorDate: Sat Jul 17 06:07:10 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 17 06:07:10 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fae525a4 games-strategy/wargus: Bump to 3.1.2 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.1.2.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 0856378be40..2c3f8bf8c48 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -2,3 +2,4 @@ DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61 DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169 DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59 +DIST wargus-3.1.2.tar.gz 4981468 BLAKE2B 76e925a6cd469a583adffe67f53a407f919b93c6700aeaa182db05b07691d64e6040d6f9f80461b14b81b412882bb58b976253b382d9e4aced7d1429c28832d2 SHA512 6925eab28b63222c4957b40c7b9a57ca231a18a7b36509c90f72d563a43a2ac4bd82bda3ca02e68099045fcddf10dd36c5a93c6f114f7bdcfb67afa7c7471b1e diff --git a/games-strategy/wargus/wargus-3.1.2.ebuild b/games-strategy/wargus/wargus-3.1.2.ebuild new file mode 100644 index 000..05c144af13d --- /dev/null +++ b/games-strategy/wargus/wargus-3.1.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND=" + =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" +DEPEND="${RDEPEND}" +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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: b3fc7b4f1617756ab34f6574bc277aee70cbf446 Author: Michał Górny gentoo org> AuthorDate: Thu Jul 15 17:42:16 2021 + Commit: Michał Górny gentoo org> CommitDate: Thu Jul 15 17:50:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3fc7b4f games-strategy/wargus: Bump to 3.1.1 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.1.1.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index ec865d94bee..0856378be40 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,3 +1,4 @@ DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169 +DIST wargus-3.1.1.tar.gz 4982124 BLAKE2B 1dd583c46f841c03d0e859e3c79da72da5866c5f6c67d1e23bf186935f2ae8d539e6dec36bb7c41b6f74af3a4f93c308489c802890c982a13aa68ba2cfbc4626 SHA512 8ec6a3dd11db9cb5984c9d61882beac0851f744203f9d90f23783b8a6b7f2728a180d7354c2e85d7ec8105c731a3e6996f5a688ce6bf5fa9437040c09cea6a59 diff --git a/games-strategy/wargus/wargus-3.1.1.ebuild b/games-strategy/wargus/wargus-3.1.1.ebuild new file mode 100644 index 000..05c144af13d --- /dev/null +++ b/games-strategy/wargus/wargus-3.1.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND=" + =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" +DEPEND="${RDEPEND}" +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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: f4afc8107d251b5d5a096a2de7470a75cc08879d Author: Michał Górny gentoo org> AuthorDate: Sat Jul 3 20:56:45 2021 + Commit: Michał Górny gentoo org> CommitDate: Sat Jul 3 21:46:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4afc810 games-strategy/wargus: Bump to 3.1.0 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.1.0.ebuild | 73 +++ 2 files changed, 74 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index ed1abf6206d..ec865d94bee 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,2 +1,3 @@ DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 +DIST wargus-3.1.0.tar.gz 4977868 BLAKE2B 063d47f53b58360c3ccc1aea301f4731a0108a52867b529a1f3935e500e569c11775074241ed8acd58ee7b33064831abebee693a9720927a1432c3f4ed9b17dc SHA512 9e4c3ed955cbf0ff38fd8a847a9590fb3588923b88065a8eb3d2e82fa20b10cd00d507b74c5440486237eb20b71435f72c219efdf288eb67fca594050622f169 diff --git a/games-strategy/wargus/wargus-3.1.0.ebuild b/games-strategy/wargus/wargus-3.1.0.ebuild new file mode 100644 index 000..05c144af13d --- /dev/null +++ b/games-strategy/wargus/wargus-3.1.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" + +RDEPEND=" + =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" +DEPEND="${RDEPEND}" +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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: a3c23c8f4080ca7398f37938604e2d9860d6620a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Feb 14 21:05:42 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Feb 14 21:24:39 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c23c8f games-strategy/wargus: Drop 2.4.1 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> games-strategy/wargus/Manifest| 1 - games-strategy/wargus/wargus-2.4.1.ebuild | 48 --- 2 files changed, 49 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 2a1683db475..ed1abf6206d 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,3 +1,2 @@ -DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0 DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 diff --git a/games-strategy/wargus/wargus-2.4.1.ebuild b/games-strategy/wargus/wargus-2.4.1.ebuild deleted file mode 100644 index e88a97f6bba..000 --- a/games-strategy/wargus/wargus-2.4.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils gnome2-utils - -DESCRIPTION="Warcraft II for the Stratagus game engine" -HOMEPAGE="http://wargus.sourceforge.net/; -SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - =games-engines/stratagus-${PV}*[theora] - media-libs/libpng:0= - sys-libs/zlib:= - x11-libs/gtk+:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - virtual/pkgconfig" -PDEPEND="games-strategy/wargus-data" - -src_configure() { - local mycmakeargs=( - -DGAMEDIR="${EPREFIX}/usr/bin" - -DBINDIR="${EPREFIX}/usr/bin" - -DSTRATAGUS="${EPREFIX}/usr/bin"/stratagus - -DICONDIR=/usr/share/icons/hicolor/64x64/apps - ) - cmake-utils_src_configure -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - elog "Enabling OpenGL in-game seems to cause segfaults/crashes." - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 564930564aeb4bf901a4fcce413052584214e12a Author: Michał Górny gentoo org> AuthorDate: Sun Dec 20 10:11:43 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Dec 20 10:39:54 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56493056 games-strategy/wargus: Support extracting BNE data Signed-off-by: Michał Górny 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 @@ ga...@gentoo.org Gentoo Games Project + + Support extracting data from the Battle.net + Edition + Wargus/wargus 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
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: a1f836436c19a8afdcdaa62864b716d0e04e65c2 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 19 13:02:17 2020 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 19 15:32:05 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f83643 games-strategy/wargus: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-3.0.0.ebuild | 71 +++ 2 files changed, 72 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 75a106a3ee0..2a1683db475 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,2 +1,3 @@ DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0 DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c +DIST wargus-3.0.0.tar.gz 4890178 BLAKE2B 7ab4a4b5e8171b2297e17f0338a5fd674cff7beb3457e33c7938c12f9a262d81b9faf2db6ae00fdbbef440624880c37bfe61c2b9957e943cf13d364544f58a65 SHA512 70bf6a5a3d489c9d88bf28e65eea85936ac42850b9c8f27c5cb4a7ba8ff28c609274235c735abb4de92e5c63113d4850adc1da313ff39cbdee797de6b9e1cc43 diff --git a/games-strategy/wargus/wargus-3.0.0.ebuild b/games-strategy/wargus/wargus-3.0.0.ebuild new file mode 100644 index 000..23954b3347a --- /dev/null +++ b/games-strategy/wargus/wargus-3.0.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg-utils + +DESCRIPTION="Warcraft II for the Stratagus game engine" +HOMEPAGE="https://wargus.github.io/ + 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="" + +RDEPEND=" + =games-engines/stratagus-${PV}*[theora] + media-libs/libpng:0= + sys-libs/zlib:= + x11-libs/gtk+:2 + x11-libs/libX11 + !games-strategy/wargus-data" +DEPEND="${RDEPEND}" +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 + ) + 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. Only the DOS version is supported" + elog "at the moment." + + 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 +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 95f903c8e2edc876b6b9e5c328e2c7e0f20dce9b Author: Michał Górny gentoo org> AuthorDate: Sun Nov 22 22:59:57 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Nov 23 00:33:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95f903c8 games-strategy/wargus: Add postinst about missing ripping deps Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/wargus-2.4.3.ebuild | 11 +++ 1 file changed, 11 insertions(+) diff --git a/games-strategy/wargus/wargus-2.4.3.ebuild b/games-strategy/wargus/wargus-2.4.3.ebuild index 644f87d1d5a..23954b3347a 100644 --- a/games-strategy/wargus/wargus-2.4.3.ebuild +++ b/games-strategy/wargus/wargus-2.4.3.ebuild @@ -52,6 +52,17 @@ pkg_postinst() { elog "it automatically on the first run. Only the DOS version is supported" elog "at the moment." + 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 }
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: f0361e4b97556976e9bcfce9a51b17dc25b5d7ae Author: Michał Górny gentoo org> AuthorDate: Sun Nov 22 21:04:15 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 22 22:33:29 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0361e4b games-strategy/wargus: Take over Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/games-strategy/wargus/metadata.xml b/games-strategy/wargus/metadata.xml index 734f09c524c..a0c5f2797cb 100644 --- a/games-strategy/wargus/metadata.xml +++ b/games-strategy/wargus/metadata.xml @@ -1,6 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> + + mgo...@gentoo.org + Michał Górny + ga...@gentoo.org Gentoo Games Project
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: cd504fd515bf44c61e4138f71cb8a3c0c4a50dcf Author: Michał Górny gentoo org> AuthorDate: Sun Nov 22 21:11:17 2020 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 22 22:33:30 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd504fd5 games-strategy/wargus: Bump to 2.4.3 Closes: https://bugs.gentoo.org/693314 Signed-off-by: Michał Górny gentoo.org> games-strategy/wargus/Manifest| 1 + games-strategy/wargus/metadata.xml| 3 +- games-strategy/wargus/wargus-2.4.3.ebuild | 60 +++ 3 files changed, 62 insertions(+), 2 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 576754948ba..75a106a3ee0 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1 +1,2 @@ DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0 +DIST wargus-2.4.3.tar.gz 46635465 BLAKE2B be559e6efdba7542e9ed65f4ece5419b781b61d7d6d43b40418ca8dffc446fa7478f608d7f24696281c7acbda4dc5bf8d808feeb3376ae3e8a04b3372d18ace1 SHA512 0c9eca898146c44e211e0da7061cb605eb04ab113fd9ad0c51f9b92df8724a5b28aea9b7cf9bfadd44f0183f8b5c519d7da0050b260624f4f7da4b9f8aee458c diff --git a/games-strategy/wargus/metadata.xml b/games-strategy/wargus/metadata.xml index a0c5f2797cb..4dbdbbfd032 100644 --- a/games-strategy/wargus/metadata.xml +++ b/games-strategy/wargus/metadata.xml @@ -10,7 +10,6 @@ Gentoo Games Project - wargus - wargus + Wargus/wargus diff --git a/games-strategy/wargus/wargus-2.4.3.ebuild b/games-strategy/wargus/wargus-2.4.3.ebuild new file mode 100644 index 000..644f87d1d5a --- /dev/null +++ b/games-strategy/wargus/wargus-2.4.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg-utils + +DESCRIPTION="Warcraft II for the Stratagus game engine" +HOMEPAGE="https://wargus.github.io/ + 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="" + +RDEPEND=" + =games-engines/stratagus-${PV}*[theora] + media-libs/libpng:0= + sys-libs/zlib:= + x11-libs/gtk+:2 + x11-libs/libX11 + !games-strategy/wargus-data" +DEPEND="${RDEPEND}" +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 + ) + 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. Only the DOS version is supported" + elog "at the moment." + + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: a3fe230930485a109385b5f0c0cbf3abfbcf1b0d Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 13:05:03 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 13:06:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fe2309 games-strategy/wargus: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-strategy/wargus/Manifest| 1 - games-strategy/wargus/wargus-2.3.0.ebuild | 60 --- 2 files changed, 61 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index d3d1bd00c36..576754948ba 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,2 +1 @@ DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0 -DIST wargus_2.3.0.orig.tar.gz 45006918 BLAKE2B b952d4b93a6aed22c201ce6caa2398a8d2ac60366882dd091c861733bf9f6baca409fcb4f0fd59a1c8673744c80b154cd6053ab81a89afef6e95737766c41e88 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87 diff --git a/games-strategy/wargus/wargus-2.3.0.ebuild b/games-strategy/wargus/wargus-2.3.0.ebuild deleted file mode 100644 index d86fdccacc3..000 --- a/games-strategy/wargus/wargus-2.3.0.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils cmake-utils gnome2-utils games - -DESCRIPTION="Warcraft II for the Stratagus game engine" -HOMEPAGE="http://wargus.sourceforge.net/; -SRC_URI="https://launchpad.net/${PN}/trunk/2.3/+download/${PN}_${PV}.orig.tar.gz; - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="=games-engines/stratagus-${PV}*[theora] - media-libs/libpng:0 - sys-libs/zlib - x11-libs/gtk+:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - virtual/pkgconfig" -PDEPEND="games-strategy/wargus-data" - -S=${WORKDIR}/${PN}_${PV}.orig - -src_configure() { - local mycmakeargs=( - -DGAMEDIR="${GAMES_BINDIR}" - -DBINDIR="${GAMES_BINDIR}" - -DSTRATAGUS="${GAMES_BINDIR}"/stratagus - -DICONDIR=/usr/share/icons/hicolor/64x64/apps - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - elog "Enabling OpenGL in-game seems to cause segfaults/crashes." - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus-data/
commit: d16dd3ffdb4fd8aad698ce661a4690c69529c9c6 Author: Pacho Ramos gentoo org> AuthorDate: Sun Apr 29 13:05:28 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Sun Apr 29 13:06:51 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16dd3ff games-strategy/wargus-data: Drop old Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-strategy/wargus-data/wargus-data-0.ebuild | 45 - 1 file changed, 45 deletions(-) diff --git a/games-strategy/wargus-data/wargus-data-0.ebuild b/games-strategy/wargus-data/wargus-data-0.ebuild deleted file mode 100644 index 6e64f009ed1..000 --- a/games-strategy/wargus-data/wargus-data-0.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit cdrom games - -DESCRIPTION="Warcraft II data for wargus (needs DOS CD)" -HOMEPAGE="http://wargus.sourceforge.net/; -SRC_URI="" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -# wargus is needed for wartool (bug #578340) -DEPEND="${RDEPEND} - games-strategy/wargus - media-sound/cdparanoia - media-sound/timidity++ - media-video/ffmpeg2theora" -# wrt bug #419331 -RESTRICT="userpriv" - -S=${WORKDIR} - -src_prepare() { - export CDROM_NAME="WARCRAFT2" - cdrom_get_cds data/rezdat.war -} - -src_compile() { - # cdparanoia needs write acces to the cdrom device - # this fixes sandbox violation wrt #418051 - local save_sandbox_write=${SANDBOX_WRITE} - addwrite /dev - "${GAMES_BINDIR}"/wartool -m -v -r "${CDROM_ROOT}"/data "${S}"/ || die - SANDBOX_WRITE=${save_sandbox_write} -} - -src_install() { - insinto "${GAMES_DATADIR}"/stratagus/wargus - doins -r * - prepgamesdirs -}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus-data/
commit: 4052b3461ab775cc09ba330b36b6e20850daf196 Author: David Seifert gentoo org> AuthorDate: Sat Jan 27 13:49:30 2018 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 27 14:47:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4052b346 games-strategy/wargus-data: Remove games.eclass Package-Manager: Portage-2.3.20, Repoman-2.3.6 games-strategy/wargus-data/wargus-data-0-r1.ebuild | 45 ++ 1 file changed, 45 insertions(+) diff --git a/games-strategy/wargus-data/wargus-data-0-r1.ebuild b/games-strategy/wargus-data/wargus-data-0-r1.ebuild new file mode 100644 index 000..9636a8e03f3 --- /dev/null +++ b/games-strategy/wargus-data/wargus-data-0-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cdrom + +DESCRIPTION="Warcraft II data for wargus (needs DOS CD)" +HOMEPAGE="http://wargus.sourceforge.net/; +SRC_URI="" + +LICENSE="all-rights-reserved" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# wargus is needed for wartool (bug #578340) +DEPEND=" + games-strategy/wargus + media-sound/cdparanoia + media-sound/timidity++ + media-video/ffmpeg2theora" +# wrt bug #419331 +RESTRICT="userpriv" + +S=${WORKDIR} + +src_configure() { + export CDROM_NAME="WARCRAFT2" + cdrom_get_cds data/rezdat.war +} + +src_compile() { + # cdparanoia needs write acces to the cdrom device + # this fixes sandbox violation wrt #418051 + local save_sandbox_write=${SANDBOX_WRITE} + addwrite /dev + "${EPREFIX}"/usr/bin/wartool -v -r "${CDROM_ROOT}"/data "${S}"/ || die + SANDBOX_WRITE=${save_sandbox_write} +} + +src_install() { + insinto /usr/share/stratagus/wargus + doins -r . +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 99626844688c8e5b91324c26062f0ea3ec7e8409 Author: David Seifert gentoo org> AuthorDate: Sat Jan 27 13:46:56 2018 + Commit: David Seifert gentoo org> CommitDate: Sat Jan 27 14:47:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99626844 games-strategy/wargus: Version bump to 2.4.1 Package-Manager: Portage-2.3.20, Repoman-2.3.6 games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-2.4.1.ebuild | 48 +++ 2 files changed, 49 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index cd13fe2cc4e..d3d1bd00c36 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1 +1,2 @@ +DIST wargus-2.4.1.tar.gz 45981981 BLAKE2B 8d80e5d781a1be1edf602f13d77b84e85fe2592fb0a784f1b25b5c9656eaf10a11c3241dfa71388c9a01a9e8fad15b1805a67ddb3157c2a0e86d967f3852869a SHA512 d468d9ad08907fbbfd02af0bca069d6a95d5303cd4f3d838c12bbfe6af0d48f695f9f49d446dbddeae2a91deb1eaa17875954eefdfbe5e25cd840c4454dc6ea0 DIST wargus_2.3.0.orig.tar.gz 45006918 BLAKE2B b952d4b93a6aed22c201ce6caa2398a8d2ac60366882dd091c861733bf9f6baca409fcb4f0fd59a1c8673744c80b154cd6053ab81a89afef6e95737766c41e88 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87 diff --git a/games-strategy/wargus/wargus-2.4.1.ebuild b/games-strategy/wargus/wargus-2.4.1.ebuild new file mode 100644 index 000..e88a97f6bba --- /dev/null +++ b/games-strategy/wargus/wargus-2.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils + +DESCRIPTION="Warcraft II for the Stratagus game engine" +HOMEPAGE="http://wargus.sourceforge.net/; +SRC_URI="https://github.com/Wargus/wargus/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + =games-engines/stratagus-${PV}*[theora] + media-libs/libpng:0= + sys-libs/zlib:= + x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="games-strategy/wargus-data" + +src_configure() { + local mycmakeargs=( + -DGAMEDIR="${EPREFIX}/usr/bin" + -DBINDIR="${EPREFIX}/usr/bin" + -DSTRATAGUS="${EPREFIX}/usr/bin"/stratagus + -DICONDIR=/usr/share/icons/hicolor/64x64/apps + ) + cmake-utils_src_configure +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + elog "Enabling OpenGL in-game seems to cause segfaults/crashes." + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus-data/
commit: 5ce3e68e06ac7d0c6b4354331ccbc744168788fd Author: Michael Sterrett gentoo org> AuthorDate: Fri Apr 1 20:06:57 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Fri Apr 1 20:06:57 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce3e68e games-strategy/wargus-data: wargus is needed for wartool (bug #578340) Package-Manager: portage-2.2.26 games-strategy/wargus-data/wargus-data-0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/games-strategy/wargus-data/wargus-data-0.ebuild b/games-strategy/wargus-data/wargus-data-0.ebuild index f41e354..4140515 100644 --- a/games-strategy/wargus-data/wargus-data-0.ebuild +++ b/games-strategy/wargus-data/wargus-data-0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,7 +14,9 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" +# wargus is needed for wartool (bug #578340) DEPEND="${RDEPEND} + games-strategy/wargus media-sound/cdparanoia media-sound/timidity++ media-video/ffmpeg2theora"
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 02c0a3bb9a00e2d2bec433f8c06664d5245a40fe Author: Michael Sterrett gentoo org> AuthorDate: Sun Mar 20 20:47:19 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Sun Mar 20 20:51:19 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c0a3bb games-strategy/wargus: clean old Package-Manager: portage-2.2.26 games-strategy/wargus/Manifest| 1 - games-strategy/wargus/wargus-2.2.7.ebuild | 62 --- 2 files changed, 63 deletions(-) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index ef5fb99..541dd70 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1,2 +1 @@ -DIST wargus_2.2.7.orig.tar.gz 3655476 SHA256 f688663458e035725f5cd18535a7a1eaecd66eaf55b032fe2ac21ed48b239908 SHA512 a419e70c53db6f3919255ef98ea717a0802e0854095b019bd9c6eef66d6602f75c1849a53ef654b5d66191a824725e3eff23f1f01767eab861e6ddfaf2414bbb WHIRLPOOL d440ac1f279912b13f37fd618f31b1bb2ac53f143789dbe56835343e9486a6ec2aeca71874c4ae2bd9c707706cdf33efbec8df8993d102b0276da0aa53e04cc3 DIST wargus_2.3.0.orig.tar.gz 45006918 SHA256 9b8def814a8c7135653ae95bb1ff836627d39d5f8242a436f486c59701eaeee7 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87 WHIRLPOOL 8c34fcd6b84f26183c5a0ad1f8d14cae1eed601d2b4e38aa22a8fa8a1bd068b93fb2f1ae5fb223a41524ef467269b585c446e8476a4736507b91cb6bd23b8006 diff --git a/games-strategy/wargus/wargus-2.2.7.ebuild b/games-strategy/wargus/wargus-2.2.7.ebuild deleted file mode 100644 index 170cf8b..000 --- a/games-strategy/wargus/wargus-2.2.7.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils cmake-utils gnome2-utils games - -DESCRIPTION="Warcraft II for the Stratagus game engine" -HOMEPAGE="http://wargus.sourceforge.net/; -SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${PN}_${PV}.orig.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND="=games-engines/stratagus-${PV}*[theora] - media-libs/freetype - media-libs/libpng:0 - sys-libs/zlib - x11-libs/gtk+:2 - x11-libs/libX11" -DEPEND="${RDEPEND} - virtual/pkgconfig" -PDEPEND="games-strategy/wargus-data" - -S=${WORKDIR}/${PN}_${PV}.orig - -src_configure() { - local mycmakeargs=( - -DGAMEDIR="${GAMES_BINDIR}" - -DBINDIR="${GAMES_BINDIR}" - -DSTRATAGUS="${GAMES_BINDIR}"/stratagus - -DICONDIR=/usr/share/icons/hicolor/64x64/apps - ) - - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile -} - -src_install() { - cmake-utils_src_install - prepgamesdirs -} - -pkg_preinst() { - games_pkg_preinst - gnome2_icon_savelist -} - -pkg_postinst() { - elog "Enabling OpenGL in-game seems to cause segfaults/crashes." - games_pkg_postinst - gnome2_icon_cache_update -} - -pkg_postrm() { - gnome2_icon_cache_update -}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 87612cd9e7f25f2496ac64a779aeff6a73fb5484 Author: Agostino Sarubbo gentoo org> AuthorDate: Tue Mar 15 11:30:40 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Tue Mar 15 11:30:40 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87612cd9 games-strategy/wargus: amd64 stable wrt bug #574838 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> games-strategy/wargus/wargus-2.3.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-strategy/wargus/wargus-2.3.0.ebuild b/games-strategy/wargus/wargus-2.3.0.ebuild index 25d3b5c..9070ade 100644 --- a/games-strategy/wargus/wargus-2.3.0.ebuild +++ b/games-strategy/wargus/wargus-2.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://launchpad.net/${PN}/trunk/2.3/+download/${PN}_${PV}.orig.tar.gz LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="" RDEPEND="=games-engines/stratagus-${PV}*[theora]
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus/
commit: 9e73d6066791cfe9fdf35ac6dfc10e3ddd3ebe11 Author: Michael Sterrett gentoo org> AuthorDate: Fri Jan 15 22:43:35 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Fri Jan 15 23:27:31 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e73d606 games-strategy/wargus: version bump (bug #565670) Package-Manager: portage-2.2.26 games-strategy/wargus/Manifest| 1 + games-strategy/wargus/wargus-2.3.0.ebuild | 61 +++ 2 files changed, 62 insertions(+) diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest index 9c0175c..ef5fb99 100644 --- a/games-strategy/wargus/Manifest +++ b/games-strategy/wargus/Manifest @@ -1 +1,2 @@ DIST wargus_2.2.7.orig.tar.gz 3655476 SHA256 f688663458e035725f5cd18535a7a1eaecd66eaf55b032fe2ac21ed48b239908 SHA512 a419e70c53db6f3919255ef98ea717a0802e0854095b019bd9c6eef66d6602f75c1849a53ef654b5d66191a824725e3eff23f1f01767eab861e6ddfaf2414bbb WHIRLPOOL d440ac1f279912b13f37fd618f31b1bb2ac53f143789dbe56835343e9486a6ec2aeca71874c4ae2bd9c707706cdf33efbec8df8993d102b0276da0aa53e04cc3 +DIST wargus_2.3.0.orig.tar.gz 45006918 SHA256 9b8def814a8c7135653ae95bb1ff836627d39d5f8242a436f486c59701eaeee7 SHA512 79dbef5f86fafe7357c2911a16655c29bccef71dad39bfe6e02866c1734ee1598bb29a9005c8fa7c73d6f64e13fb7cdd3962214921b0b18c3868cb5abb2a0a87 WHIRLPOOL 8c34fcd6b84f26183c5a0ad1f8d14cae1eed601d2b4e38aa22a8fa8a1bd068b93fb2f1ae5fb223a41524ef467269b585c446e8476a4736507b91cb6bd23b8006 diff --git a/games-strategy/wargus/wargus-2.3.0.ebuild b/games-strategy/wargus/wargus-2.3.0.ebuild new file mode 100644 index 000..25d3b5c --- /dev/null +++ b/games-strategy/wargus/wargus-2.3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils cmake-utils gnome2-utils games + +DESCRIPTION="Warcraft II for the Stratagus game engine" +HOMEPAGE="http://wargus.sourceforge.net/; +SRC_URI="https://launchpad.net/${PN}/trunk/2.3/+download/${PN}_${PV}.orig.tar.gz; + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="=games-engines/stratagus-${PV}*[theora] + media-libs/libpng:0 + sys-libs/zlib + x11-libs/gtk+:2 + x11-libs/libX11" +DEPEND="${RDEPEND} + virtual/pkgconfig" +PDEPEND="games-strategy/wargus-data" + +S=${WORKDIR}/${PN}_${PV}.orig + +src_configure() { + local mycmakeargs=( + -DGAMEDIR="${GAMES_BINDIR}" + -DBINDIR="${GAMES_BINDIR}" + -DSTRATAGUS="${GAMES_BINDIR}"/stratagus + -DICONDIR=/usr/share/icons/hicolor/64x64/apps + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + cmake-utils_src_install + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + elog "Enabling OpenGL in-game seems to cause segfaults/crashes." + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}
[gentoo-commits] repo/gentoo:master commit in: games-strategy/wargus-data/
commit: 4f2c5dc55da691d632eb4d43add90008d41fea35 Author: Michael Sterrett gentoo org> AuthorDate: Fri Dec 18 01:15:33 2015 + Commit: Michael Sterrett gentoo org> CommitDate: Fri Dec 18 08:17:24 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2c5dc5 EAPI=5 Package-Manager: portage-2.2.24 games-strategy/wargus-data/wargus-data-0.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/games-strategy/wargus-data/wargus-data-0.ebuild b/games-strategy/wargus-data/wargus-data-0.ebuild index cc06c76..f41e354 100644 --- a/games-strategy/wargus-data/wargus-data-0.ebuild +++ b/games-strategy/wargus-data/wargus-data-0.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=4 - +EAPI=5 inherit cdrom games DESCRIPTION="Warcraft II data for wargus (needs DOS CD)"