summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-02-25 07:48:16 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-02-25 07:48:16 +0000
commitb237365a21d02e91bded8ddbbe1b1a8d21d15d5a (patch)
treefbcee56cb94a705740b816608d04fb10d76b8193 /games-engines
parentstable x86/amd64 (diff)
downloadgentoo-2-b237365a21d02e91bded8ddbbe1b1a8d21d15d5a.tar.gz
gentoo-2-b237365a21d02e91bded8ddbbe1b1a8d21d15d5a.tar.bz2
gentoo-2-b237365a21d02e91bded8ddbbe1b1a8d21d15d5a.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/freesci/ChangeLog10
-rw-r--r--games-engines/freesci/freesci-0.6.3.ebuild64
2 files changed, 72 insertions, 2 deletions
diff --git a/games-engines/freesci/ChangeLog b/games-engines/freesci/ChangeLog
index 4d487545a7c6..2850f6ffc4fc 100644
--- a/games-engines/freesci/ChangeLog
+++ b/games-engines/freesci/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-engines/freesci
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-engines/freesci/ChangeLog,v 1.18 2007/07/06 17:48:34 flameeyes Exp $
+# 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 $
+
+*freesci-0.6.3 (25 Feb 2008)
+
+ 25 Feb 2008; Michael Sterrett <mr_bones_@gentoo.org>
+ +freesci-0.6.3.ebuild:
+ version bump
06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> freesci-0.6.2.ebuild:
Add a pkg_setup check for midi USE flag in alsa-lib.
diff --git a/games-engines/freesci/freesci-0.6.3.ebuild b/games-engines/freesci/freesci-0.6.3.ebuild
new file mode 100644
index 000000000000..2301900f38c2
--- /dev/null
+++ b/games-engines/freesci/freesci-0.6.3.ebuild
@@ -0,0 +1,64 @@
+# 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.3.ebuild,v 1.1 2008/02/25 07:48:16 mr_bones_ 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/reichenb/freesci/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86" # upstream asked us to not stabilize this version
+IUSE="X ggi directfb alsa sdl ncurses"
+
+RDEPEND="
+ X? (
+ x11-libs/libXi
+ x11-libs/libXrender
+ =media-libs/freetype-2* )
+ ggi? ( media-libs/libggi )
+ directfb? ( dev-libs/DirectFB )
+ alsa? ( >=media-libs/alsa-lib-0.5.0 )
+ sdl? ( >=media-libs/libsdl-1.1.8 )
+ ncurses? ( sys-libs/ncurses )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-libs/libXft
+ x11-libs/libXt )"
+
+pkg_setup() {
+ games_pkg_setup
+
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror ""
+ eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
+ eerror "need to have built media-libs/alsa-lib with 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/conf debian//" Makefile.in \
+ || die "sed Makefile.in failed"
+}
+src_compile() {
+ egamesconf \
+ $(use_with X x) \
+ $(use_with sdl) \
+ $(use_with directfb) \
+ $(use_with ggi) \
+ $(use_with alsa) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog NEWS README README.Unix THANKS TODO
+ prepgamesdirs
+}