summaryrefslogtreecommitdiff
path: root/games-strategy/defcon-demo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-12-21 20:47:17 +0000
commit4ab6db5717ef23f29320d4c6fb9ebdb8dec1f193 (patch)
treef7640b8b96a04499f1ce44a2cad122d45a8373bd /games-strategy/defcon-demo
parent48bdeb0db9c7ffed22c6eb859ee40b55ba598b86 (diff)
gentoo resync : 21.12.2017
Diffstat (limited to 'games-strategy/defcon-demo')
-rw-r--r--games-strategy/defcon-demo/Manifest1
-rw-r--r--games-strategy/defcon-demo/defcon-demo-1.60.ebuild98
2 files changed, 0 insertions, 99 deletions
diff --git a/games-strategy/defcon-demo/Manifest b/games-strategy/defcon-demo/Manifest
index 625eee5fa0a9..9390dbfad4c6 100644
--- a/games-strategy/defcon-demo/Manifest
+++ b/games-strategy/defcon-demo/Manifest
@@ -2,5 +2,4 @@ AUX defcon 400 BLAKE2B 1258e4b6db8262ecd08cf481799a6a296bb7043af3a03a320a10d17ec
DIST defcon_1.6-1_amd64.deb 62377900 BLAKE2B ad6047a5f57492facf17da50a9d3003181d4352eebaa08e7185a676b3dcfb8a2c3d1001c96c09ae417d482b3a97894032084ede22f841516b9f67ed014861743 SHA512 b71aacc3cd94eec8f1ea19ee03d8098fcdd96191c12d614f55076826ef0bb44c8ada66dfd3df7d94d042b33bdd8fa5f0f58e69fc980d6213c320ab4ce2d682a9
DIST defcon_1.6-1_i386.deb 62311684 BLAKE2B 3dddd5495410dc875d4ac9ecaea26cbbf2cb258ccdf0ffe0ddb7234009b7986c1ebcb17bdef93a579db8b41eeefaeecea9ebb09bcdb049bee14c0b6af6df26c7 SHA512 0e60e8fbca2f3046228b656990e3adb471de4f64a99d435c96b1e5a8cc49b1250c48ceeb19a4bcb58354e750398de2559256d26a38b20286dec3c0ce7f97ebb8
EBUILD defcon-demo-1.60-r1.ebuild 2178 BLAKE2B ac3629eede6f8f96dc1dbd2e0f821682b8e73835b9110ce8259cdc38fb212fd5a5712b7755ea6302a9376ae13abd643930313ba45b81885f9bc47339910e9b5e SHA512 76deacb77ad8d5959a750bc74e71cd30d16b70394065879ea34ad7c0eb39204e7326e5efc777928b9544ad68e50534bb76ddcf605c2263b137dfea9c345f7dae
-EBUILD defcon-demo-1.60.ebuild 2277 BLAKE2B 67389953d9b61e95db86a813518a554fac1ae699deb26e380ef8d8fe4f743abb34b7ba72cebc7edc87969a66c5571a4289a91ecb14e8325c808492f45fd124da SHA512 40ebf679cd1ef98dfac3f2219c16d5d1c486673d752c0649437ffe6fa1ba8ec0e7897ce20dae43921ed5652822cba4708be96533bda2a1ac20b0437798d47f2f
MISC metadata.xml 390 BLAKE2B a7ff9a2ca8c3de7f31c7acea1ca630c3d0aa39fa108d6bc515c68d2801402051a863a4f1ff260ed56249cf5eef72d0638d86b746293f0b54c85642f4f569b3bb SHA512 afc01361f043a0267f09fc1a83571ade9a3cb3633744ff18e5b5c5f14ac061b5e9d6876c0b3805664a8321a6572bb6c2c3c1f3f0d9f0762d306b80a1b517ea5b
diff --git a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild b/games-strategy/defcon-demo/defcon-demo-1.60.ebuild
deleted file mode 100644
index 8dde409344d1..000000000000
--- a/games-strategy/defcon-demo/defcon-demo-1.60.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit eutils toolchain-funcs gnome2-utils games
-
-MY_PN=defcon
-MY_PV=${PV:0:3}
-MY_PVR=1
-MY_P=defcon_${MY_PV}-${MY_PVR}
-
-DESCRIPTION="Global thermonuclear war simulation with multiplayer support"
-HOMEPAGE="http://www.introversion.co.uk/defcon/"
-SRC_URI="x86? ( http://www.introversion.co.uk/defcon/downloads/${MY_P}_i386.deb )
- amd64? ( http://www.introversion.co.uk/defcon/downloads/${MY_P}_amd64.deb )"
-
-LICENSE="Introversion"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="+system-libs"
-RESTRICT="mirror strip"
-
-# glibc discussion:
-# http://forums.introversion.co.uk/defcon/viewtopic.php?t=4016
-RDEPEND="
- media-libs/libogg
- media-libs/libvorbis
- >=sys-libs/glibc-2.3
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXext
- x11-libs/libXdmcp
- system-libs? ( media-libs/libsdl[sound,video] )"
-DEPEND=""
-
-QA_PREBUILT="${GAMES_PREFIX_OPT:1}/${PN}/lib/${MY_PN}.bin.x86"
-
-S=${WORKDIR}/usr/local/games/${MY_PN}
-
-src_unpack() {
- default
- unpack ./data.tar.gz
-
- cd "${S}" || die
- # maintain compatibility with old installation/script
- [[ -e lib64 ]] && { mv lib64 lib || die ;}
- [[ -e ${MY_PN}.bin.x86_64 ]] && { mv ${MY_PN}.bin.x86_64 ${MY_PN}.bin.x86 || die ;}
-}
-
-src_prepare() {
- # FindPath scripts are ugly and unnecessary
- if use system-libs ; then
- rm -f lib/lib*
- fi
- sed \
- -e "s:GAMEDIR:${GAMES_PREFIX_OPT}/${PN}:g" \
- "${FILESDIR}"/${MY_PN} > "${T}"/${MY_PN} || die
- echo "int chdir(const char *d) { return 0; }" > chdir.c || die
-}
-
-src_compile() {
- echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c"
- $(tc-getCC) ${CFLAGS} ${LDFLAGS} -fPIC -shared -o lib/chdir.so chdir.c || die
-}
-
-src_install() {
- local dir=${GAMES_PREFIX_OPT}/${PN}
-
- insinto "${dir}/lib"
- doins *.dat
-
- exeinto "${dir}"/lib
- doexe lib/*.so
- doexe ${MY_PN}.bin.x86
-
- doicon -s 128 ${MY_PN}.png
-
- # Can be upgraded to full version, so is not installed as "demo"
- dogamesbin "${T}"/${MY_PN}
- make_desktop_entry ${MY_PN} "Defcon"
-
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
- elog "Screenshots will appear in ~/.${MY_PN}/lib"
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}