diff options
-rw-r--r-- | games-engines/scummvm/ChangeLog | 8 | ||||
-rw-r--r-- | games-engines/scummvm/Manifest | 2 | ||||
-rw-r--r-- | games-engines/scummvm/files/0.7.1-configure.patch | 19 | ||||
-rw-r--r-- | games-engines/scummvm/files/digest-scummvm-0.7.1 | 1 | ||||
-rw-r--r-- | games-engines/scummvm/scummvm-0.7.1.ebuild | 66 |
5 files changed, 95 insertions, 1 deletions
diff --git a/games-engines/scummvm/ChangeLog b/games-engines/scummvm/ChangeLog index 5e5e1db20ddb..f36e71392d05 100644 --- a/games-engines/scummvm/ChangeLog +++ b/games-engines/scummvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-engines/scummvm # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.22 2005/02/28 02:50:31 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.23 2005/03/29 00:09:17 mr_bones_ Exp $ + +*scummvm-0.7.1 (28 Mar 2005) + + 28 Mar 2005; Michael Sterrett <mr_bones_@gentoo.org> + +files/0.7.1-configure.patch, +scummvm-0.7.1.ebuild: + version bump 27 Feb 2005; Michael Sterrett <mr_bones_@gentoo.org> scummvm-0.7.0.ebuild: the x11 backend isn't fully functional so we require sdl (bug #83502) diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest index cf29e888cc7e..e1cda40cb56f 100644 --- a/games-engines/scummvm/Manifest +++ b/games-engines/scummvm/Manifest @@ -1,5 +1,7 @@ MD5 7bb225e0f76390a5031b89cd59dfa0ab ChangeLog 5111 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 +MD5 4bf7bd52770f46d7c14ee9e0e0f5e174 scummvm-0.7.1.ebuild 1724 MD5 949a3c76a724590e80999a0ec1f2f4b1 scummvm-0.7.0.ebuild 1715 MD5 57586dda15d6cc8d56f0cb5f247d627b files/digest-scummvm-0.7.0 67 MD5 8ef9b284e27984553472f877ab12561a files/0.7.0-configure.patch 655 +MD5 fb4256256ccf802b62a4a9e798e259d3 files/digest-scummvm-0.7.1 67 diff --git a/games-engines/scummvm/files/0.7.1-configure.patch b/games-engines/scummvm/files/0.7.1-configure.patch new file mode 100644 index 000000000000..e174994aa2ff --- /dev/null +++ b/games-engines/scummvm/files/0.7.1-configure.patch @@ -0,0 +1,19 @@ +--- configure.orig 2005-03-28 18:50:50.000000000 -0500 ++++ configure 2005-03-28 18:56:08.000000000 -0500 +@@ -462,14 +462,14 @@ + + echocheck "compiler version" + +-cxx_name=`( $cc -v ) 2>&1 | tail -1 | cut -d ' ' -f 1` ++cxx_name=`( $cc -v ) 2>&1 | tail -n 1 | cut -d ' ' -f 1` + cxx_version=`( $CXX -dumpversion ) 2>&1` + if test "$?" -gt 0; then + cxx_version="not found" + fi + + case $cxx_version in +- 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|4.[0-9].[0-9]) ++ 2.95.[2-9]|2.95.[2-9][-.]*|3.[0-9]|3.[0-9].[0-9]|3.[0-9].[0-9]-*|4.[0-9].[0-9]|4.[0-9].[0-9]-*) + _cxx_major=`echo $cxx_version | cut -d '.' -f 1` + _cxx_minor=`echo $cxx_version | cut -d '.' -f 2` + cxx_version="$cxx_version, ok" diff --git a/games-engines/scummvm/files/digest-scummvm-0.7.1 b/games-engines/scummvm/files/digest-scummvm-0.7.1 new file mode 100644 index 000000000000..945a8a522727 --- /dev/null +++ b/games-engines/scummvm/files/digest-scummvm-0.7.1 @@ -0,0 +1 @@ +MD5 a935499011c59441fcce8322ea1c4f1d scummvm-0.7.1.tar.bz2 2051004 diff --git a/games-engines/scummvm/scummvm-0.7.1.ebuild b/games-engines/scummvm/scummvm-0.7.1.ebuild new file mode 100644 index 000000000000..ccb4e6b409df --- /dev/null +++ b/games-engines/scummvm/scummvm-0.7.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-0.7.1.ebuild,v 1.1 2005/03/29 00:09:17 mr_bones_ Exp $ + +inherit eutils games + +DESCRIPTION="Reimplementation of the SCUMM game engine used in Lucasarts adventures" +HOMEPAGE="http://scummvm.sourceforge.net/" +SRC_URI="mirror://sourceforge/scummvm/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc sparc x86" +IUSE="alsa debug flac mad oggvorbis sdl zlib" +RESTRICT="maketest" # it only looks like there's a test there #77507 + +RDEPEND="virtual/libc + >=media-libs/libsdl-1.2.2 + >media-libs/libmpeg2-0.3.1 + oggvorbis? ( + media-libs/libogg + media-libs/libvorbis + ) + alsa? ( >=media-libs/alsa-lib-0.9 ) + mad? ( media-libs/libmad ) + flac? ( media-libs/flac ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PV}-configure.patch" +} + +src_compile() { + local myconf="--backend=sdl" # x11 backend no worky (bug #83502) + + use debug \ + || myconf="${myconf} --disable-debug" + use oggvorbis \ + || myconf="${myconf} --disable-mpeg2" + + # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF + # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis + ./configure \ + $(use_enable alsa) \ + $(use_enable mad) \ + $(use_enable flac) \ + $(use_enable oggvorbis vorbis) \ + $(use_enable zlib) \ + $(use_enable x86 nasm) \ + ${myconf} \ + || die "configure failed" + emake || die "emake failed" +} + +src_install() { + dogamesbin scummvm || die "dobin failed" + doman scummvm.6 + dodoc NEWS README TODO + doicon scummvm.xpm + make_desktop_entry scummvm ScummVM + prepgamesdirs +} |