From 29aabba0ea759c6a2864ff5631735b67ee38e5e0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 5 Feb 2020 18:44:56 +0000 Subject: gentoo resync : 05.02.2020 --- games-arcade/triplexinvaders/Manifest | 4 -- .../files/triplexinvaders-1.08-gentoo.patch | 62 ---------------------- games-arcade/triplexinvaders/metadata.xml | 12 ----- .../triplexinvaders/triplexinvaders-1.08-r1.ebuild | 46 ---------------- 4 files changed, 124 deletions(-) delete mode 100644 games-arcade/triplexinvaders/Manifest delete mode 100644 games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch delete mode 100644 games-arcade/triplexinvaders/metadata.xml delete mode 100644 games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild (limited to 'games-arcade/triplexinvaders') diff --git a/games-arcade/triplexinvaders/Manifest b/games-arcade/triplexinvaders/Manifest deleted file mode 100644 index da3e634f340c..000000000000 --- a/games-arcade/triplexinvaders/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX triplexinvaders-1.08-gentoo.patch 2313 BLAKE2B 0e5880be3bf8e1bbb79d5fade576cffe7a6a3137eb92e67888883d93446d305750baa9eb33f626f535de4f86ebc2f2040b2c26a0662e320f5b54480f04a7746d SHA512 912c1879cc2fe177decbe166c616c231c5496f240ecb4492a34952931f45ec549de700ed836aeb56c9b871074eac5adfd48a92d1ca21f07c4037b2ac2dceb429 -DIST triplexinvaders-1.08.zip 354188 BLAKE2B 5bce384ab55edd1dc0e3ed385002447c6cc81da95091b38e654fcb28c4df8f3c39907dfb23afadceaacd51491c53d4a8c937e09079905df2dd63ebe10a403164 SHA512 c763cf650046612152c9305a2067f52feedfeac5f16dd292031a184563f40efc9d95553bc01d59c5c6382394fd2a2d3fe971471cf775fe64c3b1f3c4842a0780 -EBUILD triplexinvaders-1.08-r1.ebuild 1031 BLAKE2B 75aaad421bc9beb7737d0c0858c4e724a06d1d7a9208fe018d4d9feb07662c5c571236592c9fb00c71d5d6394294985fc65bf9fe83cb66ac0d2318eab4508d59 SHA512 6f0e1e2bbe23b13f23aa9c0ae82bdf2f94f84187785b4c5e182d9bece0558bf58918dda57b930b1077b7c503ffac37c72fa0cba6d9cc23cbd9ee0607472c861e -MISC metadata.xml 454 BLAKE2B 677d6dbcf7b8dbe4126aadce45c160731d1e159c53ecc0f0159c2f4e709603b23d8cce9b658d15f11778cc8d6ccf0725b8470118f2940eb0251ea43eee00f22f SHA512 bfd1ac0a3820beb15f021ab53527d316be512ed123f8eb7253c03efe82a569298b3474c7618e999cb134ea90aebb9d508909e5e938657e751fd9ac18552e6276 diff --git a/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch b/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch deleted file mode 100644 index 85c88afcfe8a..000000000000 --- a/games-arcade/triplexinvaders/files/triplexinvaders-1.08-gentoo.patch +++ /dev/null @@ -1,62 +0,0 @@ ---- a/sound.py.old 2007-04-14 21:52:02.000000000 +0200 -+++ b/sound.py 2007-04-14 21:52:27.000000000 +0200 -@@ -16,7 +16,7 @@ - - - def reloadMusic(): -- pygame.mixer.music.load(os.path.join('sound', choice(music))) -+ pygame.mixer.music.load(os.path.join('@GENTOO_DATADIR@/sound', choice(music))) - pygame.mixer.music.set_endevent(ENDMUSIC) - pygame.mixer.music.play() - -@@ -24,7 +24,7 @@ - - def getSound(name, volume=0.4): - if name not in LoadedSounds: -- sound = pygame.mixer.Sound(os.path.join('sound', '%s.ogg' % name)) -+ sound = pygame.mixer.Sound(os.path.join('@GENTOO_DATADIR@/sound', '%s.ogg' % name)) - sound.set_volume(volume) - LoadedSounds[name] = sound - return LoadedSounds[name] ---- a/util.py.old 2007-04-14 21:56:30.000000000 +0200 -+++ b/util.py 2007-04-14 21:56:48.000000000 +0200 -@@ -30,7 +30,7 @@ - LoadedTextures = weakref.WeakValueDictionary() - - def loadTexture(name): -- filename = os.path.join('textures', '%s.png' % name) -+ filename = os.path.join('@GENTOO_DATADIR@/textures', '%s.png' % name) - textureSurface = pygame.image.load(filename) - textureData = pygame.image.tostring(textureSurface, "RGBA", True) - texid = glGenTextures(1) -@@ -47,7 +47,7 @@ - - def getModel(name): - if name not in LoadedModels: -- model = wavefront.load(os.path.join('models', '%s.obj' % name), name) -+ model = wavefront.load(os.path.join('@GENTOO_DATADIR@/models', '%s.obj' % name), name) - LoadedModels[name] = model - return LoadedModels[name] - ---- a/hiscore.py.old 2007-04-14 22:04:04.000000000 +0200 -+++ b/hiscore.py 2007-04-14 22:04:25.000000000 +0200 -@@ -5,7 +5,7 @@ - # copy the highscores to the user's homedir - highscorefile = os.path.join(configdir, 'hiscores') - if not os.path.exists(highscorefile): -- oldpath = 'hiscores' -+ oldpath = '@GENTOO_DATADIR@/hiscores' - shutil.copy(oldpath, highscorefile) - - def write(score, name): ---- a/options.py.old 2007-04-14 22:05:23.000000000 +0200 -+++ b/options.py 2007-04-14 22:05:42.000000000 +0200 -@@ -5,7 +5,7 @@ - # copy the options to the user's homedir - optionfile = os.path.join(configdir, 'options.conf') - if not os.path.exists(optionfile): -- oldpath = 'options.conf' -+ oldpath = '@GENTOO_DATADIR@/options.conf' - shutil.copy(oldpath, optionfile) - - execfile(optionfile) diff --git a/games-arcade/triplexinvaders/metadata.xml b/games-arcade/triplexinvaders/metadata.xml deleted file mode 100644 index 6ae220aaf948..000000000000 --- a/games-arcade/triplexinvaders/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - games@gentoo.org - Gentoo Games Project - - -In Triplex Invaders, the player pilots a spaceship against a never ending horde -of enemy ships. It has psychedelic 3d graphics (but 2d gameplay). - - diff --git a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild b/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild deleted file mode 100644 index 7b95c1773d95..000000000000 --- a/games-arcade/triplexinvaders/triplexinvaders-1.08-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python2_7 ) - -inherit desktop eutils python-single-r1 - -DESCRIPTION="An Alien Invaders style game with 3d graphics" -HOMEPAGE="http://triplexinvaders.infogami.com" -SRC_URI="http://acm.jhu.edu/~arthur/invaders/${P}.zip" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -IUSE="" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS} - dev-python/pygame[${PYTHON_USEDEP}] - dev-python/pyopengl[${PYTHON_USEDEP}] -" -DEPEND="app-arch/unzip" - -src_prepare() { - default - eapply "${FILESDIR}/${P}"-gentoo.patch - sed -i -e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \ - sound.py \ - util.py \ - hiscore.py \ - options.py || die "sed failed" -} - -src_install() { - local libdir=/usr/$(get_libdir) - - insinto "${libdir}/${PN}" - doins -r *.py - insinto "/usr/share/${PN}" - doins -r models sound options.conf hiscores - make_wrapper ${PN} "python2 ./invaders.py" "${libdir}/${PN}" - einstalldocs - make_desktop_entry ${PN} -} -- cgit v1.2.3