summaryrefslogtreecommitdiff
path: root/games-strategy
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-17 10:35:54 +0000
commit463397cf1e064185110fe57c568d73f99a06f5d1 (patch)
tree9aa75eefc5154eaf0e3c33658b830fc54dc68052 /games-strategy
parentc8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (diff)
gentoo resync : 17.02.2021
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/Manifest.gzbin8233 -> 8233 bytes
-rw-r--r--games-strategy/julius/Manifest3
-rw-r--r--games-strategy/julius/files/julius-1.4.1-rename.patch26
-rw-r--r--games-strategy/julius/julius-1.4.1.ebuild17
-rw-r--r--games-strategy/naev/Manifest6
-rw-r--r--games-strategy/naev/naev-0.6.1-r1.ebuild79
-rw-r--r--games-strategy/naev/naev-0.7.0.ebuild75
-rw-r--r--games-strategy/naev/naev-0.8.1.ebuild63
-rw-r--r--games-strategy/wargus/Manifest2
-rw-r--r--games-strategy/wargus/wargus-2.4.1.ebuild48
10 files changed, 101 insertions, 218 deletions
diff --git a/games-strategy/Manifest.gz b/games-strategy/Manifest.gz
index c78c8b17885d..3f7ecb2a3f1c 100644
--- a/games-strategy/Manifest.gz
+++ b/games-strategy/Manifest.gz
Binary files differ
diff --git a/games-strategy/julius/Manifest b/games-strategy/julius/Manifest
index 9d461747d7c7..4b572d86f3db 100644
--- a/games-strategy/julius/Manifest
+++ b/games-strategy/julius/Manifest
@@ -1,4 +1,5 @@
AUX 90julius.sh 72 BLAKE2B d07d935037fa998174fffd1c786ffe2dab8d6af4eb9b71f0c30e1ad2e528ddda09232c4009573935f64eccf3c99b23041441579b99110a96f31a003b7db87ba6 SHA512 39ad3849f341a0817623cd3daf3d0ce255784c33538a9b1f9e25fa6655c59e8c3f56cc2f4bca23692e64118c78900c8dede656e9a1af5a043904b02fdf0e84dc
+AUX julius-1.4.1-rename.patch 718 BLAKE2B 00a4cfb23cb4586a7a1a4069d1ba3db7edab0f6cfeaf3f5efc396a7c2be4e94923272a6d82585173f8d2569d84c97ca2046682e85d638d9c473b22577c693840 SHA512 0401429f24c5cb3285bef68b1fa2b489ec32d7fa13d20448e8f06231b23d137ed9edeb6fcc693cbcc6f891a38dcd3fb34c519fe9ff41b5f35c8b7dec52847c12
DIST julius-1.4.1.tar.gz 8592785 BLAKE2B 8eb91522fccdee33600b02de766727beb19f138c0f695eb92aaa77ea2f25ec293906d0c75d31d42159097a12317ba38b22c01e7edf722670f51fe56d625d9ae7 SHA512 8488cee4a229299fd771f7ebddf076888b2e11458b2edbb6058b29b1f7e79d372ec2f913df3afacd8191551ba692a900508e64661ead1029916e28f356f79f7b
-EBUILD julius-1.4.1.ebuild 1457 BLAKE2B d7ed69d09ed8720e99472e704f9244a571e94b224666335724a219454575426cb107dd0dd291d147fff52e53bc9a0c24f0b52b3fdbe812ed9ed691514c06a7cd SHA512 ff027e9e7503ef84c2fef0a90486670ecd94139fa96b9e6aa1f9d8f394e278773e40981e339072422b5740f21f89f2d80043d2e6eb1f585f2c8de15588c235e9
+EBUILD julius-1.4.1.ebuild 1306 BLAKE2B 160cb72243abb56855a255f66441746552e3ffddc1bea2f12f214e43ec5a63b8668324f139b6f30c618ef1d5fbc66b0d23bea51929864146c700aeda66fa43c3 SHA512 ba54aa83edab78734f68b10a98da1ec708e6bd2af2e29cca65ee8b95bf493e95cec6bfb7c2013006e4e3fa7ee0e0456ef6a0768e97e28f7e3ebfd5b2020c96e8
MISC metadata.xml 970 BLAKE2B 520aa602d0f8ac7f53320be45ce6ed36d05262dd5f8bcadd763a2e7c32d0e19030b0ce6b670f7ef6cd4b811a25692123da70460f6d9c7f9a9692095b5524ef37 SHA512 de3723c1436aefb2e5dbad6c286cdf586ad67b2449dd140a00af22096c9779886ae6882193a41b6700af778c6f8e7e74aaff4aad1be2419c3f0e357a89828d38
diff --git a/games-strategy/julius/files/julius-1.4.1-rename.patch b/games-strategy/julius/files/julius-1.4.1-rename.patch
new file mode 100644
index 000000000000..cf6b6d53aadd
--- /dev/null
+++ b/games-strategy/julius/files/julius-1.4.1-rename.patch
@@ -0,0 +1,26 @@
+Avoid conflict with app-accessibility/julius.
+
+diff --color -Naur a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt 2020-06-01 14:53:28.000000000 +0100
++++ b/CMakeLists.txt 2021-02-14 11:51:30.364704957 +0000
+@@ -27,7 +27,7 @@
+ endif()
+ endif()
+
+-set(SHORT_NAME julius)
++set(SHORT_NAME julius-game)
+ project(${SHORT_NAME} C)
+
+ if (VITA_BUILD)
+diff --color -Naur a/res/julius.desktop b/res/julius.desktop
+--- a/res/julius.desktop 2020-06-01 14:53:28.000000000 +0100
++++ b/res/julius.desktop 2021-02-14 11:51:45.518122772 +0000
+@@ -2,7 +2,7 @@
+ [Desktop Entry]
+ Type=Application
+ Version=1.0
+-Exec=julius
++Exec=julius-game
+ Icon=com.github.bvschaik.julius
+ Name=Julius
+ GenericName=Roman city management game
diff --git a/games-strategy/julius/julius-1.4.1.ebuild b/games-strategy/julius/julius-1.4.1.ebuild
index bffe7ad84787..dc3f63777c18 100644
--- a/games-strategy/julius/julius-1.4.1.ebuild
+++ b/games-strategy/julius/julius-1.4.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake xdg
+inherit xdg cmake
DESCRIPTION="Feature-faithful open source re-implementation of Caesar III"
HOMEPAGE="https://github.com/bvschaik/julius"
@@ -18,19 +18,18 @@ DEPEND="
media-libs/libsdl2[joystick,video,sound]
media-libs/sdl2-mixer
"
-RDEPEND="${DEPEND}"
+RDEPEND="
+ ${DEPEND}
+"
-src_prepare() {
- cmake_src_prepare
- xdg_src_prepare
-}
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4.1-rename.patch
+)
src_install() {
insinto /etc/profile.d
doins "${FILESDIR}"/90julius.sh
cmake_src_install
- mv "${ED}"/usr/bin/julius "${ED}"/usr/bin/julius-game ||
- die "Failed to rename executable (required as per conflict with app-accessibility/julius)"
}
pkg_postinst() {
diff --git a/games-strategy/naev/Manifest b/games-strategy/naev/Manifest
index 219444602f9e..08bbf4784d5e 100644
--- a/games-strategy/naev/Manifest
+++ b/games-strategy/naev/Manifest
@@ -1,8 +1,6 @@
-DIST naev-0.6.1.tar.bz2 1047908 BLAKE2B 3763440c64f89c5ceb5993a3e4ee356d0cc615df8b70dba14ce0fb35d12a0a136e82958349887d9c5a719e14d9ddfc47beb524b88650ea6f7a6859a6422d6898 SHA512 4766c80b49de5a7e748948f0404ac54edbc5afa80618150d1f993d66c7462ea73bfc5220d73073cb51cd76ff5dc6ecdf935d6f843051943136ceefaea9837203
DIST naev-0.7.0-ndata.zip 319608404 BLAKE2B e6edd79282171d4b327d220b33af37720e09f7137a26697de472e3494587525de5d9509865bfccc1093f5d4befa11faa10e0d4f4c59ea8621ecd8d564eb546fe SHA512 5fa8faad36e410f0d2af1c80e6fedbffdd020da72dc96b329ce623e9836490cfb515c1bb88719045491366ca96a32888374029eec6cd14ed86ac8597750995ca
DIST naev-0.7.0.tar.bz2 1076658 BLAKE2B 582bbfbc16e33d16600c19928ed6810dfe5fd3165930e6a51ec9b65d25305cd0bbfaf6f4cced12c5b7f76163ed4dc36b7108e81f4a4e82dc626c6045d3fe769f SHA512 9f8a2912e9f4f29ed6e276b008d4010da3ccdd309de5bb4360c393f2704aa7aff6e18db9e5d3657b4229e911ddec9b2a3312cf182c3c48a91a007a91138d84ae
-DIST ndata-0.6.1.zip 303984255 BLAKE2B 154d8b326e2596cfe16fc646e7d482c07d7015253b6933889d12b93a2ee7e28649b1f3ffcb0c0ed2bfe9d1e3654623cab00113486d05fe6fd1262ce989bf9c25 SHA512 71c3024e1713b094b63cb0de3c70239d61c54142b715e61d5206c5eb3cb8c7a851fc1b388ecf891110dd8bb5c2b3759af71d20f39cb6e629c71b27386a57d7fe
-EBUILD naev-0.6.1-r1.ebuild 1531 BLAKE2B b58f34c1cf684d0e18bb215ace1fa3b77a3cf6e65131b1cc8dda0ae04bff1dc0bbda13540502b696ada59da9035ca7c001553078e6088ee1dacd5911d98d07ee SHA512 efad61393d551d265b6980198bb0efdb32132d32255472f9512c0dedc696816338c8926b4dc1795e8dd9131da5c601078e55bb004cf49dec039c81b0529aabff
+DIST naev-0.8.1-source.tar.gz 359781119 BLAKE2B 021824b0af031af8ff2aa565989c3d7811fcbcdc082649f208e8318b0d69b1c3c27492936a6afdc38de9448aa0dcca2f8ef73879155217e34968f81246017aa6 SHA512 8f9aede300d06b0beae12d4809cc58ac740bc1934c2fa5fdb04452cd2eb63de697e0bbf2aacf5af4878b62eee30878ed50388ee8386fbb19f9d56cb7cad8d7f2
EBUILD naev-0.7.0-r100.ebuild 1762 BLAKE2B a12a17eb355d9eee407e8d7f7ad67336f7d7fe67c91a1172edce75bc4f02f82ca617648690a66c3355306c89fec00824f367a1dd495da42cdb263ba5ffbfad63 SHA512 4999ea6b00f059bc257c5c2e13201cf2ad6f02e55d1b36251b2010ecb9b3739f493d333f231506317e1b719d2517541e089248ad3dfc088b78c1820530ed2ac5
-EBUILD naev-0.7.0.ebuild 1650 BLAKE2B 8860b084a795490592ad44c2eaaab6fc2b773cae609828eff1ec69bde8bc487df8c39ec8fde88a69e46e8fb921e3dff81eed2494eb10e08f3acf07a5267016c1 SHA512 94eb6478deaf3cadf04c6ee06cb63e9bca0dee9dd51e07db93f5f399cf000b98cbb12df70d62d52e3df5a729046bc823ff98f705025ca48530af7d49a31a4b5d
+EBUILD naev-0.8.1.ebuild 1552 BLAKE2B d398392bf128e0c2f64913d7225f8f46bc1e8e9e934a8e2bf6376339936a0341fc6c9beae7995bcdb55dab5b64cd7f788f820d23e8ea7f2a4ec9dc1a0fc8604c SHA512 e87e1bdd566a5fd1ad0b34955b258b8b75ff099102fcf74cd7885b3b8276b68c9ca66b9a9710e04164c71e792ec935f88cf092d57cd2adcdb1791657080039f7
MISC metadata.xml 480 BLAKE2B 4d01de527c3e9c5d5b97dfc169be7b0639be97a2cfa75564b6f2f3f0543c783f9b2403b15471191ecd0b1cf6ddc97eb87d9e04d7f53fe9534fd3626398f02425 SHA512 48c3f9af6ccc92e0cd032f169c8febe7a954cc3b304717e329d2bc9f8d4fff4d9be72bcab2cbfa2c3b75c46ab85a044fe76c786638c062c2a8a9005f1fff6b54
diff --git a/games-strategy/naev/naev-0.6.1-r1.ebuild b/games-strategy/naev/naev-0.6.1-r1.ebuild
deleted file mode 100644
index aaf016935851..000000000000
--- a/games-strategy/naev/naev-0.6.1-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit flag-o-matic gnome2-utils
-
-DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
-HOMEPAGE="https://github.com/naev/naev"
-SRC_URI="mirror://sourceforge/naev/${P}.tar.bz2
- mirror://sourceforge/naev/ndata-${PV}.zip"
-
-LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug +mixer +openal"
-
-RDEPEND="
- media-libs/libsdl2[X,sound,video]
- dev-libs/libzip
- dev-libs/libxml2
- >=media-libs/freetype-2:2
- >=media-libs/libvorbis-1.2.1
- >=media-libs/libpng-1.2:0=
- virtual/glu
- virtual/opengl
- dev-lang/lua:0
- mixer? ( media-libs/sdl2-mixer )
- openal? ( media-libs/openal )
-"
-DEPEND="${RDEPEND}
- app-arch/unzip
- virtual/pkgconfig
-"
-
-src_unpack() {
- unpack ${P}.tar.bz2
-}
-
-src_configure() {
- econf \
- --enable-lua=shared \
- $(use_enable debug) \
- $(use_with openal) \
- $(use_with mixer sdlmixer)
-}
-
-src_compile() {
- emake V=1
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- appicondir=/usr/share/pixmaps \
- appdatadir=/usr/share/appdata \
- Graphicsdir=/usr/share/applications \
- install
- insinto /usr/share/${PN}
- newins "${DISTDIR}"/ndata-${PV}.zip ndata
-
- local res
- for res in 16 32 64 128; do
- newicon -s ${res} extras/logos/logo${res}.png naev.png
- done
-
- rm -f "${D}"/usr/share/doc/${PF}/LICENSE
-}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}
diff --git a/games-strategy/naev/naev-0.7.0.ebuild b/games-strategy/naev/naev-0.7.0.ebuild
deleted file mode 100644
index d778be1396f6..000000000000
--- a/games-strategy/naev/naev-0.7.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit xdg-utils
-
-DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
-HOMEPAGE="https://naev.org/ https://github.com/naev/naev"
-SRC_URI="https://github.com/naev/naev/releases/download/v${PV}/${P}.tar.bz2
- https://github.com/naev/naev/releases/download/v${PV}/${P}-ndata.zip"
-
-LICENSE="GPL-2 GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug +mixer +openal"
-
-RDEPEND="
- media-libs/libsdl2[X,sound,video]
- dev-libs/libzip
- dev-libs/libxml2
- >=media-libs/freetype-2:2
- >=media-libs/libvorbis-1.2.1
- >=media-libs/libpng-1.2:0=
- virtual/glu
- virtual/opengl
- dev-lang/lua:0
- mixer? ( media-libs/sdl2-mixer )
- openal? ( media-libs/openal )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
- app-arch/unzip
- virtual/pkgconfig
-"
-
-# This is so that only the source tarball is unpacked - the data file
-# is supposed to be installed *zipped*. This is why we do not need unzip
-# in BDEPEND in spite of what repoman/pkgcheck might say.
-src_unpack() {
- unpack ${P}.tar.bz2
-}
-
-src_configure() {
- econf \
- --enable-lua=shared \
- $(use_enable debug) \
- $(use_with openal) \
- $(use_with mixer sdlmixer)
-}
-
-src_compile() {
- emake V=1
-}
-
-src_install() {
- emake \
- DESTDIR="${D}" \
- appicondir=/usr/share/pixmaps \
- appdatadir=/usr/share/metainfo \
- Graphicsdir=/usr/share/applications \
- install
- insinto /usr/share/${PN}
- newins "${DISTDIR}/${P}-ndata.zip" ndata
-
- rm -f "${D}/usr/share/doc/${PF}/LICENSE"
-}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}
diff --git a/games-strategy/naev/naev-0.8.1.ebuild b/games-strategy/naev/naev-0.8.1.ebuild
new file mode 100644
index 000000000000..a1df3ee985d0
--- /dev/null
+++ b/games-strategy/naev/naev-0.8.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LUA_COMPAT=( lua5-1 luajit )
+inherit lua-single meson xdg
+
+DESCRIPTION="A 2D space trading and combat game, in a similar vein to Escape Velocity"
+HOMEPAGE="https://naev.org/ https://github.com/naev/naev"
+SRC_URI="https://github.com/naev/naev/releases/download/v${PV}/${P}-source.tar.gz"
+
+LICENSE="GPL-3 public-domain CC-BY-3.0 CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +mixer nls +openal"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="${LUA_DEPS}
+ dev-libs/libzip
+ dev-libs/libxml2
+ media-libs/libsdl2[X,sound,video]
+ media-libs/libpng:0=
+ media-libs/freetype:2
+ sci-libs/suitesparse
+ virtual/glu
+ virtual/opengl
+ mixer? ( media-libs/sdl2-mixer )
+ nls? ( virtual/libintl )
+ openal? (
+ media-libs/libvorbis
+ media-libs/openal
+ )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ doc? (
+ app-doc/doxygen
+ dev-lua/ldoc
+ )
+ nls? ( sys-devel/gettext )"
+
+src_prepare() {
+ default
+ sed -i -e "s:lua51:lua5.1:g" meson.build || die
+ # meson can't into docdir!
+ sed -i -e "s:doc/naev:doc/${PF}:g" meson.build || die
+ sed -i -e "s:'doc/naev':get_option('datadir') / 'doc/${PF}':g" docs/meson.build || die
+ # remove license file from install
+ sed -i -e "/'LICENSE'/d" meson.build || die
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature doc docs_c)
+ $(meson_feature doc docs_lua)
+ $(meson_feature lua_single_target_luajit luajit)
+ $(meson_feature nls)
+ $(meson_feature openal)
+ $(meson_feature mixer sdl_mixer)
+ )
+ meson_src_configure
+}
diff --git a/games-strategy/wargus/Manifest b/games-strategy/wargus/Manifest
index 6d9fbb4874be..13faecd6847d 100644
--- a/games-strategy/wargus/Manifest
+++ b/games-strategy/wargus/Manifest
@@ -1,7 +1,5 @@
-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
-EBUILD wargus-2.4.1.ebuild 1015 BLAKE2B 2ec460a15d26df522ead61b9863618d24057da3b48e73eedb8888017369b94458e87e4792f05d6eb965412c3fee8b21a8fbaf8868065d46948e1e8acfdc0f793 SHA512 4b5b967cfbd52156e3fbe32eb75829ef627ef69534fb5994ad3d0a76ad4280cb89026eed1a5eef643c198865781a32eccb3d9308b356b3b00ae936fe736fd9f8
EBUILD wargus-2.4.3.ebuild 1933 BLAKE2B 1570688d37ca291df56f903b130957f8e898b8b3c618863743bdf24f3c8a4ea2ce6d3850bd3d746947efcef7f0bead9849a23f72124b87d12e323ecd4bad0e7c SHA512 eda886eae8fdd69c877d3b2f9c175eedb899a2d79b0d67c3006b69f15800679297c0397a861a86749187cd62f4423f4cffa1969ff7c10ae4583ca7ad2a800a1c
EBUILD wargus-3.0.0-r1.ebuild 1939 BLAKE2B b8272a50ba893a4c39ab03374af5ab4e7b3da5cfa5643be31e7c6f38ed85baec5d96b4e6bdeb313481711fd2f355240ad2c5e2044df4b903cbf2ea960ff16673 SHA512 c3cd057699fd4b42111eef93e6143f554c695ead5ceaf4801b6420fc581004b61f0f6b9dae3603ed4245dba14d94075d6fd38ae9a975007883eb15611560c640
MISC metadata.xml 535 BLAKE2B 1c618d85c92a9daa24009d320dbc05c83d78ffb58a343e88e5df9cbf0a8097051ebb10021200ebe7f2ba5679274d316a98d7cc0171224f371dffe35cee29fa85 SHA512 d369b2201b6461b4709d54817f0b99982260362e3c54e99e93aaeec614843aa14d1fb0d4c24c7c5b5825e05c2e2bd52971f7a6395995aee3f33d9872f9ad2215
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 e88a97f6bba3..000000000000
--- 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
-}