summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-09-21 04:27:10 +0000
committerMike Frysinger <vapier@gentoo.org>2006-09-21 04:27:10 +0000
commitc19bd2e3f223a1a5d14922bca087b6b3cf01ba17 (patch)
treef46fc2f3f2679cd05360316dcce86c4721aa8aee /games-puzzle
parentStable on SPARC wrt bug #146702. (diff)
downloadgentoo-2-c19bd2e3f223a1a5d14922bca087b6b3cf01ba17.tar.gz
gentoo-2-c19bd2e3f223a1a5d14922bca087b6b3cf01ba17.tar.bz2
gentoo-2-c19bd2e3f223a1a5d14922bca087b6b3cf01ba17.zip
Push out patches and fix datadir path.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r16
-rw-r--r--games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild55
2 files changed, 61 insertions, 0 deletions
diff --git a/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1 b/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1
new file mode 100644
index 000000000000..81d9393abb25
--- /dev/null
+++ b/games-puzzle/fish-fillets/files/digest-fish-fillets-0.7.3-r1
@@ -0,0 +1,6 @@
+MD5 3cdb20616c8bf4498f2990f4e0d526a1 fillets-ng-0.7.3.tar.gz 311799
+RMD160 6c8f41feab9df2b6dee3942c18848d61ab2f2c7d fillets-ng-0.7.3.tar.gz 311799
+SHA256 cbcc62fa399f96f636f547cd424c0abbbc7860227e837f191e8eded686b6ffc2 fillets-ng-0.7.3.tar.gz 311799
+MD5 dabb8aa5dcce57e782a2a27343c40cc6 fillets-ng-data-0.7.1.tar.gz 95672064
+RMD160 bee5a815bbcb439bb3bf1fdcf925fb3db304a566 fillets-ng-data-0.7.1.tar.gz 95672064
+SHA256 7f9196e81e279ad088dd64a604bc6a8e9e10eedb75f080b6e845536e3ee13659 fillets-ng-data-0.7.1.tar.gz 95672064
diff --git a/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild b/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild
new file mode 100644
index 000000000000..94ab07de3a43
--- /dev/null
+++ b/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/fish-fillets/fish-fillets-0.7.3-r1.ebuild,v 1.1 2006/09/21 04:27:10 vapier Exp $
+
+inherit autotools eutils games
+
+DATA_PV="0.7.1"
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="X"
+
+DEPEND=">=media-libs/libsdl-1.2
+ >=media-libs/sdl-mixer-1.2.5
+ >=media-libs/sdl-image-1.2.2
+ X? ( x11-libs/libX11 )
+ media-libs/sdl-ttf
+ >=dev-lang/lua-5"
+
+S=${WORKDIR}/fillets-ng-${PV}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-check-for-X.patch
+ epatch "${FILESDIR}"/${P}-custom-datadir.patch
+ epatch "${FILESDIR}"/${P}-no-local-paths.patch
+ epatch "${FILESDIR}"/${P}-use-lua-pkg-config.patch
+ eautoreconf
+}
+
+src_compile() {
+ egamesconf \
+ --datadir="${GAMES_DATADIR}/${PN}" \
+ $(use_with X) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ insinto "${GAMES_DATADIR}/${PN}"
+ cd "${WORKDIR}"/fillets-ng-data-${DATA_PV} || die
+ rm -f COPYING
+ doins -r * || die "doins failed"
+ newicon images/icon.png fillets.png
+ make_desktop_entry fillets FishFillets fillets.png
+ prepgamesdirs
+}