summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-09-04 16:25:41 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-09-04 16:25:41 +0000
commit03bcc81afb5ae59951d55d6d005240e12a71d406 (patch)
treeec1d8bbdb359e25d22a3ee899d46e49eac15e717 /games-engines/freesci
parentVersion bump, gentoo security bug #236506. Fix dependencise, gentoo bug #232838 (diff)
downloadgentoo-2-03bcc81afb5ae59951d55d6d005240e12a71d406.tar.gz
gentoo-2-03bcc81afb5ae59951d55d6d005240e12a71d406.tar.bz2
gentoo-2-03bcc81afb5ae59951d55d6d005240e12a71d406.zip
Version bump, bug #225049
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64)
Diffstat (limited to 'games-engines/freesci')
-rw-r--r--games-engines/freesci/ChangeLog7
-rw-r--r--games-engines/freesci/freesci-0.6.4.ebuild60
2 files changed, 66 insertions, 1 deletions
diff --git a/games-engines/freesci/ChangeLog b/games-engines/freesci/ChangeLog
index 2850f6ffc4fc..c216441d131e 100644
--- a/games-engines/freesci/ChangeLog
+++ b/games-engines/freesci/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-engines/freesci
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/freesci/ChangeLog,v 1.19 2008/02/25 07:48:16 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-engines/freesci/ChangeLog,v 1.20 2008/09/04 16:25:41 nyhm Exp $
+
+*freesci-0.6.4 (04 Sep 2008)
+
+ 04 Sep 2008; Tristan Heaven <nyhm@gentoo.org> +freesci-0.6.4.ebuild:
+ Version bump, bug #225049
*freesci-0.6.3 (25 Feb 2008)
diff --git a/games-engines/freesci/freesci-0.6.4.ebuild b/games-engines/freesci/freesci-0.6.4.ebuild
new file mode 100644
index 000000000000..c6654ed1d7b6
--- /dev/null
+++ b/games-engines/freesci/freesci-0.6.4.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-engines/freesci/freesci-0.6.4.ebuild,v 1.1 2008/09/04 16:25:41 nyhm Exp $
+
+inherit eutils games
+
+DESCRIPTION="Sierra script interpreter for your old Sierra adventures"
+HOMEPAGE="http://freesci.linuxgames.com/"
+SRC_URI="http://www-plan.cs.colorado.edu/creichen/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="X ggi sdl"
+
+DEPEND="media-libs/alsa-lib
+ X? (
+ x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libXext
+ )
+ ggi? ( media-libs/libggi )
+ sdl? ( media-libs/libsdl )"
+
+pkg_setup() {
+ games_pkg_setup
+ if ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror "You need to build media-libs/alsa-lib with the midi USE flag."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "/^SUBDIRS =/s:desktop src conf debian:src:" \
+ Makefile.in \
+ || die "sed failed"
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-Wall \
+ --without-directfb \
+ $(use_with X x) \
+ $(use_with ggi) \
+ $(use_with sdl) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ doicon desktop/${PN}.png
+ make_desktop_entry ${PN} FreeSCI
+ dodoc AUTHORS ChangeLog NEWS README README.Unix THANKS TODO
+ prepgamesdirs
+}