summaryrefslogtreecommitdiff
path: root/games-arcade/sdlroids
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-28 20:02:04 +0100
commita4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad (patch)
tree852c90a4bf354c30ea66504f70bfab5401fba18d /games-arcade/sdlroids
parent5e8702bcbbed438e6c6cce023e7ef0cc9baa3e02 (diff)
gentoo resync : 28.04.2018
Diffstat (limited to 'games-arcade/sdlroids')
-rw-r--r--games-arcade/sdlroids/Manifest4
-rw-r--r--games-arcade/sdlroids/files/1.3.4-sound.patch4
-rw-r--r--games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild (renamed from games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild)13
3 files changed, 11 insertions, 10 deletions
diff --git a/games-arcade/sdlroids/Manifest b/games-arcade/sdlroids/Manifest
index 4e5e62b0f4c9..499d6f9fbba8 100644
--- a/games-arcade/sdlroids/Manifest
+++ b/games-arcade/sdlroids/Manifest
@@ -1,4 +1,4 @@
-AUX 1.3.4-sound.patch 654 BLAKE2B a04f440b92ef0a0d57e0b024e11f53a1f1d8bb7a0553074a535e343e07babd7942e3f745826e73b110f0823ca71180c6dc0fe7d46fe36491087e9141dbb1dd7e SHA512 34bc317700cfa69281e84c8838fe10079bd4a8a509a93fb9f8acf6f53c2d868076ed7c462d4e2451369d939eecd1ffcf4ed5d55ee1fa2565f366a54cfadd2749
+AUX 1.3.4-sound.patch 658 BLAKE2B c7a9a46881e1f8f9d9c48e843338bc9c61a1a3cda4d8f3ca27f9e47410f0e40eca039bbf3069c8be2bdb23f97e9b02a1dc3e955e07b5191c54dceafc12f29782 SHA512 4d01491aa3a57c9ea43cb15e815e761e78cae50c8f4c7abce4b02c2343ad7671b688d81da94bbca8036d081b427a08791e0332e3fb3fdad71ba41b15f291a619
DIST sdlroids-1.3.4.tar.bz2 136588 BLAKE2B e2dd15c0437184af557f96daaa11d9b50ae991e7c29ccd3e4a27f2668719d0f7ef8244e681bdac2d8726b1493175ab4a3f754daf0f471f606bcb5cbe1b5aa1c8 SHA512 abd202e462ac96781481defb9442f3ee69cbfafb5b4e82ae435dca23068257c3e65ba4886c0c41f2568a8568b52267ded24b8684efb3f7cafd21754103cc31b4
-EBUILD sdlroids-1.3.4-r3.ebuild 755 BLAKE2B cf3c285b424ee284901ec9261200bae349f77c31919ab8306ebdf6489f2d2c5c7984a6353c9aace64dff41b0f31ba04c0fbd98f215daf6c0af738a8eaa5fa2eb SHA512 e43f2920421e740c4f4b26dfb21384993bbc41c2329a7daa55990f7039b460686603015615caf408698d0e9aac6be6db4a1288d39fbe0cf985d45433b095254a
+EBUILD sdlroids-1.3.4-r4.ebuild 745 BLAKE2B 9263dcceb1ae7c01de6e13b017a8d2f8db323946487780682391aaf99585d44cd9510682a371ad404aa3d006ef0e5f0888448acaad0d5be30ae58ad157ed4e15 SHA512 2a39cee0143bacdd2feabb02053a3d5d646829f413ac2cd2d710fcb5df3b9ca11a6960eb737d50e380000e39b2e44ea3c987a73c9025c02814f7174aa0593db4
MISC metadata.xml 331 BLAKE2B 6d663f6943fa4c3419e12335c8d6c4913ad7658635d37889373a3b90bb7fb810cc80478d41eee57e2cda6099b7b3b748bd7583b248be2543293e6d48d5ccbe42 SHA512 b126b6b4997b53170da871ca8cf66be75350ad1b2492a62f99b8a512eab5ce63a8ededd8794ca480ecf711a4e585e0b81d77b4f1fa0dcee500c54bd48878305b
diff --git a/games-arcade/sdlroids/files/1.3.4-sound.patch b/games-arcade/sdlroids/files/1.3.4-sound.patch
index 00da03f94252..eb2eb0c2ada4 100644
--- a/games-arcade/sdlroids/files/1.3.4-sound.patch
+++ b/games-arcade/sdlroids/files/1.3.4-sound.patch
@@ -1,5 +1,5 @@
---- sdlsound.c.orig 2004-07-02 23:03:03.000000000 -0700
-+++ sdlsound.c 2004-07-02 23:05:37.000000000 -0700
+--- a/sdlsound.c.orig 2004-07-02 23:03:03.000000000 -0700
++++ b/sdlsound.c 2004-07-02 23:05:37.000000000 -0700
@@ -205,9 +205,9 @@
int load_sample(int num) {
diff --git a/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild b/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild
index 51c927585219..83678ee1a7b4 100644
--- a/games-arcade/sdlroids/sdlroids-1.3.4-r3.ebuild
+++ b/games-arcade/sdlroids/sdlroids-1.3.4-r4.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils games
+EAPI=6
+inherit desktop
DESCRIPTION="Asteroids Clone for X using SDL"
HOMEPAGE="http://david.hedbor.org/projects/sdlroids/"
@@ -14,20 +14,21 @@ KEYWORDS="~alpha ~amd64 ~x86 ~x86-fbsd"
IUSE=""
DEPEND="media-libs/libsdl
- media-libs/sdl-mixer"
+ media-libs/sdl-mixer
+"
RDEPEND="${DEPEND}"
src_prepare() {
+ default
sed -i \
-e 's/$(SOUNDSDIR)/$(DESTDIR)$(SOUNDSDIR)/' \
-e 's/$(GFXDIR)/$(DESTDIR)$(GFXDIR)/' Makefile.in \
|| die "sed failed"
- epatch "${FILESDIR}"/${PV}-sound.patch
+ eapply "${FILESDIR}"/${PV}-sound.patch
}
src_install() {
default
newicon icons/sdlroids-48x48.xpm ${PN}.xpm
make_desktop_entry ${PN} SDLRoids ${PN}
- prepgamesdirs
}