summaryrefslogtreecommitdiff
path: root/games-puzzle/fish-fillets
diff options
context:
space:
mode:
Diffstat (limited to 'games-puzzle/fish-fillets')
-rw-r--r--games-puzzle/fish-fillets/Manifest2
-rw-r--r--games-puzzle/fish-fillets/fish-fillets-1.0.1-r1.ebuild (renamed from games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild)26
2 files changed, 16 insertions, 12 deletions
diff --git a/games-puzzle/fish-fillets/Manifest b/games-puzzle/fish-fillets/Manifest
index 2016d253d06a..92509c1e6f18 100644
--- a/games-puzzle/fish-fillets/Manifest
+++ b/games-puzzle/fish-fillets/Manifest
@@ -1,4 +1,4 @@
DIST fillets-ng-1.0.1.tar.gz 380290 BLAKE2B 675839cb451686c35611120b0b8e1044bc6511ce2369157f7d7c934eb0477b10e925268ffb35d5415070f25d7469da249027f148ac06ba65bd139fbddfb20a03 SHA512 fe4a5186f94e953cbc85fe8b0ce804c881c96feda385cfc36e1840e448cf094c3d815fdbe32976a6697a855038951f97a384c277a1c52a048520e8da71136718
DIST fillets-ng-data-1.0.0.tar.gz 146418413 BLAKE2B 0359cee1db5d54a124f76520c4c416d954969bd9fc79eb9305613549722133684c2f6696b754729316ca4f4ebcc3aff63db845fd71ffc955d5e9584d89a50999 SHA512 61c7fe3980510a7dbd85f4c246e7e42a0f79d8e2aacd96a0c7a14189c5dee92292efb030ac92299474162995039073288283fee0f352cf08be6975a2c86703e7
-EBUILD fish-fillets-1.0.1.ebuild 1267 BLAKE2B 89f4d0006be91c0b2399fc71f3243f5752b0b982d74d9c444cf229f86ca825b15b302fb4c6d744eddf661023c31310acc56746989008374e3abd0b6b1a29db03 SHA512 b6b97f23b9d5ecdc5b3d9ccc8b26513727977657874364bb77bdb49866416c1794c67b1bec4c360bd38c59cb861fd8925ee0e8e1aceb7a9a2f269e36cdf20556
+EBUILD fish-fillets-1.0.1-r1.ebuild 1292 BLAKE2B 0b87179878b44942f3341a23c965f96db07abe3e86eeb312e0081484196648d363a29635b9dc152ca6a2ef65c63cc6e55d216902e3812b1edc80a0e398f93891 SHA512 84a81e5956a0a23143d8f2c75936938b865c2705f093091a0ade7fb1808c26629c41beab6c5de90a1b585421836511ed33a943188fbcdb7f2c6825d36bfb92c6
MISC metadata.xml 330 BLAKE2B 47ef211faf9977fbf1b3f58ead7b59c2b025e3b731433586d948d82b3f25b95470beb1904981bc001cd4f086deb133c809ac4676c553135502f0b00699c6b996 SHA512 dbe794bba7ca2d4414f5ea3b4ef5b8958268abf2f8bd45705300baddcca5cbb485ddc24b3328e25568b9aa741c50251417ee4100f3f118827fcc5c1a285dba66
diff --git a/games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild b/games-puzzle/fish-fillets/fish-fillets-1.0.1-r1.ebuild
index fec0213902dd..722c291c1dd8 100644
--- a/games-puzzle/fish-fillets/fish-fillets-1.0.1.ebuild
+++ b/games-puzzle/fish-fillets/fish-fillets-1.0.1-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 autotools eutils games
+EAPI=6
+inherit autotools desktop
DATA_PV="1.0.0"
DESCRIPTION="Underwater puzzle game - find a safe way out"
@@ -15,41 +15,45 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-RDEPEND=">=media-libs/libsdl-1.2[sound,video]
+RDEPEND="
+ >=media-libs/libsdl-1.2[sound,video]
>=media-libs/sdl-mixer-1.2.5[vorbis]
>=media-libs/sdl-image-1.2.2[png]
media-libs/smpeg
x11-libs/libX11
media-libs/sdl-ttf
dev-libs/fribidi
- >=dev-lang/lua-5:0"
+ >=dev-lang/lua-5:0
+"
DEPEND="${RDEPEND}
- virtual/pkgconfig"
+ virtual/pkgconfig
+"
-S=${WORKDIR}/fillets-ng-${PV}
+S="${WORKDIR}/fillets-ng-${PV}"
src_prepare() {
+ default
#.mod was renamed to .fmod in lua 5.1.3 - bug #223271
sed -i \
-e 's/\.mod(/.fmod(/' \
$(grep -rl "\.mod\>" "${WORKDIR}"/fillets-ng-data-${DATA_PV}) \
|| die "sed failed"
rm -f missing
+ mv configure.in configure.ac || die
eautoreconf
}
src_configure() {
- egamesconf \
- --datadir="${GAMES_DATADIR}/${PN}"
+ econf --datadir="/usr/share/${PN}"
}
src_install() {
default
- insinto "${GAMES_DATADIR}/${PN}"
+ insinto "/usr/share/${PN}"
cd "${WORKDIR}"/fillets-ng-data-${DATA_PV} || die
rm -f COPYING
+ einstalldocs
doins -r *
newicon images/icon.png ${PN}.png
make_desktop_entry fillets "Fish Fillets NG"
- prepgamesdirs
}