summaryrefslogtreecommitdiff
path: root/games-puzzle/anagramarama
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-05-02 14:13:35 +0100
commit7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (patch)
treebac2a67fb24ac0836147fe370d30e1610ae1845d /games-puzzle/anagramarama
parent2f8db31405fac68eea6f7257d58529243815033b (diff)
gentoo resync : 02.05.2018
Diffstat (limited to 'games-puzzle/anagramarama')
-rw-r--r--games-puzzle/anagramarama/Manifest4
-rw-r--r--games-puzzle/anagramarama/anagramarama-0.2-r1.ebuild (renamed from games-puzzle/anagramarama/anagramarama-0.2.ebuild)28
-rw-r--r--games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch4
3 files changed, 19 insertions, 17 deletions
diff --git a/games-puzzle/anagramarama/Manifest b/games-puzzle/anagramarama/Manifest
index f0bce7a1bd31..251355711db0 100644
--- a/games-puzzle/anagramarama/Manifest
+++ b/games-puzzle/anagramarama/Manifest
@@ -1,4 +1,4 @@
-AUX anagramarama-0.2-gentoo.patch 914 BLAKE2B c05a1a90ba66e388f948d832a7efcac570e5bd04101b3b075840f2e40b2bc669a605285703b2230aa1af263ee6ecc9d6edf0daab5f891e862086d3a3fdfdc293 SHA512 8047ae5593d242d4755ade02ed792dcebdde7f36df30edf56155fcc14c65cec6d8a55ebe1ef7e7d012f58faf692515bf3d8fb609b07501dd77d2db28e0b317f7
+AUX anagramarama-0.2-gentoo.patch 918 BLAKE2B da8f286fd932f9bf8f8b00541565ea11f60e3d13581a46b86c4b9cb0572fbaa821b672554b3448da026ad15e97c87e39766fcba8ab4ece464cf605cbbb582712 SHA512 d87759b401efc4bb51dcf7f121548038b736d89b026cfc9fb82e467c131dae10cc933dd0aa2ec668c3636d93cb37bb8b6325691ed46366b7668605d8921308ab
DIST anagramarama-0.2.tar.gz 861484 BLAKE2B 9fb6b759b9d2f7a797e8ecf214c8723676577b8a7a88049da7b59a1e4287363c3ac58ee203033e7d7cad777d175599433fffc37fe824da4ca5511e85918b6ae8 SHA512 7cdafaf489100c184a71859f50b64fe8534210d953c4144d822727815ae2f7dd12302447b159039d95c9b3097711ab14931538789ac81c01233cc2c767291603
-EBUILD anagramarama-0.2.ebuild 985 BLAKE2B 29750c3e12a48678d70dba5baee15d8e708d84543f7f4e15333d56b7fa018110e0be64bed07e2e136d2f39c4f7ae61b0adff892a331a2b7186ab3aa323ae6500 SHA512 ac7fdfc5a854611976f68768e235b007f6f684b07f06b39359e38c9b67659134b2a4e9e02307cfb15da90e2dfc7faefd135ca132111be4bff2aacd4d5adaaba8
+EBUILD anagramarama-0.2-r1.ebuild 981 BLAKE2B c9684174378d228f6c147cd4677cb15c680073988797472fbde1f98b3fb624e4b31d0976b068948c8c32c37277ff1a2c46e814c1f8eb5762ca4db63430040398 SHA512 fbe12367b60218d971a180506d29b077aa7d8561874ff067b0b49570a81aea8fce7c0b199d7e684feb83dd7268e7b0603e7e2d70f43bba111ff5155349e4726a
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-puzzle/anagramarama/anagramarama-0.2.ebuild b/games-puzzle/anagramarama/anagramarama-0.2-r1.ebuild
index 5dc26f04662d..4e1bc1d0b0b2 100644
--- a/games-puzzle/anagramarama/anagramarama-0.2.ebuild
+++ b/games-puzzle/anagramarama/anagramarama-0.2-r1.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 vcs-clean
DESCRIPTION="Create as many words as you can before the time runs out"
HOMEPAGE="http://www.coralquest.com/anagramarama/"
@@ -17,26 +17,28 @@ DEPEND=">=media-libs/libsdl-1.2
>=media-libs/sdl-mixer-1.2
>=media-libs/sdl-image-1.2"
RDEPEND="${DEPEND}
- sys-apps/miscfiles"
+ sys-apps/miscfiles
+"
-S=${WORKDIR}/${PN}
+S="${WORKDIR}/${PN}"
src_prepare() {
+ default
+ ecvs_clean
sed -i \
- -e "s:wordlist.txt:${GAMES_DATADIR}\/${PN}\/wordlist.txt:" \
- -e "s:\"audio\/:\"${GAMES_DATADIR}\/${PN}\/audio\/:" \
- -e "s:\"images\/:\"${GAMES_DATADIR}\/${PN}\/images\/:" \
+ -e "s:wordlist.txt:/usr/share/${PN}/wordlist.txt:" \
+ -e "s:audio/:/usr/share/${PN}/audio/:" \
+ -e "s:images/:/usr/share/${PN}/images/:" \
src/{ag.c,dlb.c} \
|| die "sed failed"
- ecvs_clean
- epatch "${FILESDIR}"/${P}-gentoo.patch
+ eapply "${FILESDIR}"/${P}-gentoo.patch
}
src_install() {
- newgamesbin ag ${PN}
- insinto "${GAMES_DATADIR}/${PN}"
+ newbin ag ${PN}
+ insinto "/usr/share/${PN}"
doins wordlist.txt
doins -r images/ audio/
dodoc readme
- prepgamesdirs
+ make_desktop_entry ${PN} "Anagramarama"
}
diff --git a/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch
index 85b194ea7928..fb60615055db 100644
--- a/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch
+++ b/games-puzzle/anagramarama/files/anagramarama-0.2-gentoo.patch
@@ -1,5 +1,5 @@
---- makefile.old 2009-02-08 18:24:33.000000000 +0100
-+++ makefile 2009-02-08 18:29:12.000000000 +0100
+--- a/makefile.old 2009-02-08 18:24:33.000000000 +0100
++++ b/makefile 2009-02-08 18:29:12.000000000 +0100
@@ -1,5 +1,4 @@
-LFLAGS=-Wall -funroll-loops -fomit-frame-pointer -pipe -O9
-CFLAGS=-Wall `sdl-config --cflags --libs` -funroll-loops -fomit-frame-pointer -pipe -O9 -lSDL_mixer