diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-01 07:05:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2008-09-01 07:05:44 +0000 |
commit | ff484eb4fb1a820c8de3a78a1b045e5e055f3427 (patch) | |
tree | f2a69e2497cec886a98dda8a323d0f7bc272978e /games-engines | |
parent | Stable on ppc64; bug #235822 (diff) | |
download | historical-ff484eb4fb1a820c8de3a78a1b045e5e055f3427.tar.gz historical-ff484eb4fb1a820c8de3a78a1b045e5e055f3427.tar.bz2 historical-ff484eb4fb1a820c8de3a78a1b045e5e055f3427.zip |
version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-engines')
-rw-r--r-- | games-engines/scummvm/ChangeLog | 8 | ||||
-rw-r--r-- | games-engines/scummvm/Manifest | 4 | ||||
-rw-r--r-- | games-engines/scummvm/scummvm-0.12.0.ebuild | 96 |
3 files changed, 106 insertions, 2 deletions
diff --git a/games-engines/scummvm/ChangeLog b/games-engines/scummvm/ChangeLog index 633633e90ae5..4a0cb3b2a99d 100644 --- a/games-engines/scummvm/ChangeLog +++ b/games-engines/scummvm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-engines/scummvm # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.59 2008/06/22 06:43:45 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/ChangeLog,v 1.60 2008/09/01 07:05:44 mr_bones_ Exp $ + +*scummvm-0.12.0 (01 Sep 2008) + + 01 Sep 2008; Michael Sterrett <mr_bones_@gentoo.org> + +scummvm-0.12.0.ebuild: + version bump 22 Jun 2008; Markus Rothe <corsair@gentoo.org> scummvm-0.11.1.ebuild: Stable on ppc64; bug #225619 diff --git a/games-engines/scummvm/Manifest b/games-engines/scummvm/Manifest index 64ad132208c0..b214b6304206 100644 --- a/games-engines/scummvm/Manifest +++ b/games-engines/scummvm/Manifest @@ -1,6 +1,8 @@ DIST scummvm-0.10.0.tar.bz2 4756977 RMD160 6de5ecbf1006f47287fd665acaf6af1fdaf27b8b SHA1 f0c4885300ea8d6a804eb4f3ece86f85bab44e6d SHA256 c9d1c68937cde4e4f2ba01c9b43bc745721fdd6c89064b3a60cf5ba2d7263126 DIST scummvm-0.11.1.tar.bz2 5539656 RMD160 067be5e8f4bdc099cd3faa963e3df3b3a1fd39e2 SHA1 a254d7382aa6c3f769591999f83ca9dfad939028 SHA256 0859c2b1e66584b29909dae2c7cc700c408e99fee28a668ca1e06a6df651a58e +DIST scummvm-0.12.0.tar.bz2 5984412 RMD160 872646df24e8881f05902b11e9ca2ea3262b4d88 SHA1 b2ef8bcf656f778ba8e87a6a341198384291394b SHA256 db9aa3bbb648d09639d9e16f1872558a105f222dac5e3d0a16370b4cf7c3e699 EBUILD scummvm-0.10.0.ebuild 2990 RMD160 ac5c158e3ea76c8b3b2598b304479c1d028128a2 SHA1 a512ab48d884a667b4c795106d9401526ba3aa50 SHA256 46d31e36dff1106522a621e2f4eb3c365230bcb2a926eb7f9ec7341983bbf842 EBUILD scummvm-0.11.1.ebuild 2711 RMD160 3bcc7d2a68b213196dc0e940107c7d933afc7580 SHA1 24a0facbdc9d710a8bcf9870cf490e51b79655a4 SHA256 2bb6126526b7f26a633fb57bda5d43a1385b47dc05bc93749049b15931ca41c2 -MISC ChangeLog 9915 RMD160 43b47e761df931bdce02d59fbe89d538530dd7a9 SHA1 903287185e2daa9c5f51aa6d59901a829037c636 SHA256 70cba07f1769dd821bd2375c3f6d0031422f6f7e972857944526d055986af013 +EBUILD scummvm-0.12.0.ebuild 2718 RMD160 a4f5e396c41bf9356ea94d2b7b0399ddbaf4227d SHA1 bf7ac5385ed8b3c9e425e7ee5ed0a7f3d3563f7b SHA256 a6eb5ccf01eff65f87ec87e63b41ff19f6c657f9bc4528f9bf2a86f1d3c4aae8 +MISC ChangeLog 10045 RMD160 647e1cf81a20d583650039ff5d8c9c90a688d041 SHA1 3094f91176a59790e00dd39d95127005d1c0b37e SHA256 8e07d7871c3aaf0a58b05bf564e70203904d14965bb43e629ca07784dc0d8c21 MISC metadata.xml 248 RMD160 ef65397fe4528a5ae0332b01a77e8f2a9e4c4e91 SHA1 a1c019c07494e52a3167dc8945533c2fd3ea1fc5 SHA256 d07430a4c6da117a018a33c479a43b812752dc8658311ae2559ef1d9f3654385 diff --git a/games-engines/scummvm/scummvm-0.12.0.ebuild b/games-engines/scummvm/scummvm-0.12.0.ebuild new file mode 100644 index 000000000000..24c838279354 --- /dev/null +++ b/games-engines/scummvm/scummvm-0.12.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-engines/scummvm/scummvm-0.12.0.ebuild,v 1.1 2008/09/01 07:05:44 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 ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="alsa debug flac fluidsynth mp3 ogg vorbis zlib" +RESTRICT="test" # it only looks like there's a test there #77507 + +RDEPEND=">=media-libs/libsdl-1.2.2 + >media-libs/libmpeg2-0.3.1 + ogg? ( media-libs/libogg media-libs/libvorbis ) + vorbis? ( media-libs/libogg media-libs/libvorbis ) + alsa? ( >=media-libs/alsa-lib-0.9 ) + mp3? ( media-libs/libmad ) + flac? ( media-libs/flac ) + fluidsynth? ( media-sound/fluidsynth ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm )" + +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() { + local f + + unpack ${A} + cd "${S}" + # -g isn't needed for nasm here + sed -i \ + -e '/NASMFLAGS/ s/-g//' \ + ./Makefile.common \ + || die "sed failed" + for f in graphics/scaler/{hq3x_i386.asm,hq2x_i386.asm} + do + cat >> $f <<EOF + %ifidn __OUTPUT_FORMAT__,elf + section .note.GNU-stack noalloc noexec nowrite progbits + %endif +EOF + done +} + +src_compile() { + local myconf="--backend=sdl" # x11 backend no worky (bug #83502) + + # let the engine find its data files in the right place (bug #178116) + myconf="${myconf} --datadir=${GAMES_DATADIR}" + + ( use vorbis || use ogg ) \ + && myconf="${myconf} --enable-vorbis" \ + || myconf="${myconf} --disable-vorbis --disable-mpeg2" + + # bug #137547 + use fluidsynth || myconf="${myconf} --disable-fluidsynth" + + # NOT AN AUTOCONF SCRIPT SO DONT CALL ECONF + # mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis + ./configure \ + $(use_enable debug) \ + $(use_enable alsa) \ + $(use_enable mp3 mad) \ + $(use_enable flac) \ + $(use_enable zlib) \ + $(use_enable x86 nasm) \ + ${myconf} \ + || die "configure failed" + emake || die "emake failed" +} + +src_install() { + dogamesbin scummvm || die "dobin failed" + doman dists/scummvm.6 + dodoc AUTHORS NEWS README TODO + insinto "${GAMES_DATADIR}"/${PN}/engines + doins gui/themes/modern.* + doicon icons/scummvm.svg + make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame" + prepgamesdirs +} |