summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-09-02 08:40:19 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-09-02 08:40:19 +0000
commit502a7efaf9ac6dc3c248dd0294a544b6a8cfb1d0 (patch)
tree7dd7583fbc842f6c1210d1dfefdf7d4d263b2c3b /games-misc/jugglemaster/jugglemaster-0.4.ebuild
parent+games-misc/jugglemaster:ffmpeg - export MPEGs using ffmpeg and images (diff)
downloadhistorical-502a7efaf9ac6dc3c248dd0294a544b6a8cfb1d0.tar.gz
historical-502a7efaf9ac6dc3c248dd0294a544b6a8cfb1d0.tar.bz2
historical-502a7efaf9ac6dc3c248dd0294a544b6a8cfb1d0.zip
version bump
Diffstat (limited to 'games-misc/jugglemaster/jugglemaster-0.4.ebuild')
-rw-r--r--games-misc/jugglemaster/jugglemaster-0.4.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/games-misc/jugglemaster/jugglemaster-0.4.ebuild b/games-misc/jugglemaster/jugglemaster-0.4.ebuild
new file mode 100644
index 000000000000..7239a7f8086a
--- /dev/null
+++ b/games-misc/jugglemaster/jugglemaster-0.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-misc/jugglemaster/jugglemaster-0.4.ebuild,v 1.1 2004/09/02 08:40:19 mr_bones_ Exp $
+
+DESCRIPTION="A siteswap animator"
+HOMEPAGE="http://icculus.org/jugglemaster/"
+SRC_URI="http://icculus.org/${PN}/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE="ffmpeg"
+
+DEPEND="x11-libs/wxGTK
+ ffmpeg? ( media-video/ffmpeg )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if use ffmpeg ; then
+ sed -i \
+ -e "s/libavcodec/ffmpeg/" \
+ src/jmdlx/Makefile \
+ || die "sed failed"
+ sed -i \
+ -e "/^FFMPEG_PREFIX/s:=.*:=/usr/include:" \
+ -e "/^HAVE_FFMPEG/s:0:1:" \
+ Makefile.cfg \
+ || die "sed failed"
+ fi
+}
+
+src_compile() {
+ cd src/jmdlx
+ emake || die "emake failed"
+}
+
+src_install () {
+ dobin src/jmdlx/jmdlx || die "dobin failed"
+ dodoc ChangeLog README TODO
+}