diff options
author | Sam James <sam@gentoo.org> | 2021-04-10 09:03:25 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-10 09:03:38 +0000 |
commit | 89640a2f491436778c7caf49b1103e31314c159d (patch) | |
tree | 3c3c2c6d9e1723b8390301a36449feec5f432864 /games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild | |
parent | games-roguelike/scourge: respect AR (diff) | |
download | gentoo-89640a2f491436778c7caf49b1103e31314c159d.tar.gz gentoo-89640a2f491436778c7caf49b1103e31314c159d.tar.bz2 gentoo-89640a2f491436778c7caf49b1103e31314c159d.zip |
games-puzzle/fish-fillets: respect AR
Closes: https://bugs.gentoo.org/778590
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild')
-rw-r--r-- | games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild b/games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild index 196ab712fb4d..6dc60e4f3df2 100644 --- a/games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild +++ b/games-puzzle/fish-fillets/fish-fillets-1.0.1-r100.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,6 +12,7 @@ DESCRIPTION="Underwater puzzle game - find a safe way out" HOMEPAGE="http://fillets.sourceforge.net/" SRC_URI="mirror://sourceforge/fillets/fillets-ng-${PV}.tar.gz mirror://sourceforge/fillets/fillets-ng-data-${DATA_PV}.tar.gz" +S="${WORKDIR}/fillets-ng-${PV}" LICENSE="GPL-2" SLOT="0" @@ -19,42 +20,49 @@ KEYWORDS="~amd64 ~x86" REQUIRED_USE="${LUA_REQUIRED_USE}" -RDEPEND="${LUA_DEPS} +RDEPEND=" + ${LUA_DEPS} + dev-libs/fribidi >=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/sdl-ttf media-libs/smpeg x11-libs/libX11 - media-libs/sdl-ttf - dev-libs/fribidi " DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" -S="${WORKDIR}/fillets-ng-${PV}" +PATCHES=( + "${FILESDIR}/${PN}-1.0.1-respect-AR.patch" +) 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 + + rm -f missing || die mv configure.in configure.ac || die eautoreconf } src_configure() { - econf --datadir="/usr/share/${PN}" + econf --datadir=/usr/share/${PN} } src_install() { + rm -f COPYING || die + default - insinto "/usr/share/${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" |