ChangeLog

# 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 $

22 Jun 2008; Markus Rothe scummvm-0.11.1.ebuild:
Stable on ppc64; bug #225619

14 Jun 2008; Santiago M. Mola scummvm-0.11.1.ebuild:
amd64 stable wrt bug #225619

11 Jun 2008; nixnut scummvm-0.11.1.ebuild:
Stable on ppc wrt bug 225619

10 Jun 2008; Raúl Porcel scummvm-0.11.1.ebuild:
sparc/x86 stable wrt #225619

09 Jun 2008; Raúl Porcel scummvm-0.10.0.ebuild:
sparc stable

24 May 2008; Joseph Jezak scummvm-0.10.0.ebuild:
Marked ppc/ppc64 stable.

*scummvm-0.11.1 (02 Mar 2008)

02 Mar 2008; Michael Sterrett
-scummvm-0.11.0.ebuild, +scummvm-0.11.1.ebuild:
version bump

29 Feb 2008; Carsten Lohrke scummvm-0.9.1.ebuild,
scummvm-0.10.0.ebuild:
Remove icon extension from desktop entry to match Icon Theme Specification.

*scummvm-0.11.0 (16 Jan 2008)

16 Jan 2008; Michael Sterrett
+scummvm-0.11.0.ebuild:
version bump

30 Jul 2007; Michael Sterrett
scummvm-0.10.0.ebuild:
make the nasm call more yasm friendly

06 Jul 2007; Diego Pettenò scummvm-0.10.0.ebuild:
Add a pkg_setup check for midi USE flag in alsa-lib.

05 Jul 2007; Markus Rothe scummvm-0.10.0.ebuild:
Added ~ppc64; bug #183570

*scummvm-0.10.0 (26 Jun 2007)

26 Jun 2007; Michael Sterrett
+scummvm-0.10.0.ebuild:
version bump

12 May 2007; Michael Sterrett scummvm-0.9.1.ebuild:
patch from Marek Szuba to make the engine find its data files in the
right place (bug #178116)

12 Mar 2007; Marius Mauch scummvm-0.9.1.ebuild:
Replacing einfo with elog

12 Dec 2006; Chris Gianelloni scummvm-0.9.1.ebuild:
Remove dependency on the specific flac version.

12 Dec 2006; Chris Gianelloni
+files/flac-1.1.3.patch, scummvm-0.9.1.ebuild:
Added patch from Josh Coalson (from FLAC) and closing bug #157582.

28 Nov 2006; Tristan Heaven scummvm-0.9.1.ebuild:
List in the AdventureGame menu category, bug #155852

06 Nov 2006; Javier Villavicencio
scummvm-0.9.1.ebuild:
Keyworded ~x86-fbsd.

30 Oct 2006; Michael Sterrett
-scummvm-0.9.0.ebuild:
clean out old, broken version (bug #146336)

*scummvm-0.9.1 (30 Oct 2006)

30 Oct 2006; Michael Sterrett
+scummvm-0.9.1.ebuild:
version bump

27 Oct 2006; Steve Dibb scummvm-0.9.0.ebuild:
amd64 stable, bug 144170

19 Oct 2006; Diego Pettenò scummvm-0.8.1.ebuild,
scummvm-0.9.0.ebuild:
Depend on 1.1.2 version of flac, as the 1.1.3 version changes API.

25 Aug 2006; Jason Wever scummvm-0.9.0.ebuild:
Stable on SPARC.

05 Aug 2006; Michael Hanselmann scummvm-0.9.0.ebuild:
Stable on ppc.

30 Jul 2006; Michael Sterrett
-files/scummvm-0.8.0-configure.patch, -scummvm-0.8.0.ebuild,
scummvm-0.9.0.ebuild:
stable for x86; also install new modern theme - patch submission from Michael
Vogt (bug #138121)

*scummvm-0.9.0 (26 Jun 2006)

26 Jun 2006; Michael Sterrett
+scummvm-0.9.0.ebuild:
version bump

22 Jun 2006; Michael Sterrett scummvm-0.8.2.ebuild:
Add support for fluidsynth (bug #137547)

27 Apr 2006; Marien Zwart files/digest-scummvm-0.8.0,
files/digest-scummvm-0.8.1, Manifest:
Fixing SHA256 digest, pass four

*scummvm-0.8.2 (10 Feb 2006)

10 Feb 2006; Chris Gianelloni
+files/scummvm-0.8.2-configure.patch, +scummvm-0.8.2.ebuild:
Version bumped to 0.8.2 and closing bug #122261.

*scummvm-0.8.1 (31 Jan 2006)

31 Jan 2006; Michael Sterrett
+files/scummvm-0.8.1-configure.patch, +scummvm-0.8.1.ebuild:
version bump

*scummvm-0.8.0 (31 Oct 2005)

31 Oct 2005; Mike Frysinger
+files/scummvm-0.8.0-configure.patch, +scummvm-0.8.0.ebuild:
Version bump #110930 by Robert Lundmark.

16 Sep 2005; Ciaran McCreesh ChangeLog:
Converted to UTF-8, fixed encoding screwups

01 Sep 2005; Mike Frysinger
+files/scummvm-0.7.1-64bit.patch, scummvm-0.7.1.ebuild:
Add a patch for 64bit issues #103450 by Ian Kumlien.

12 May 2005; Michael Sterrett
-files/0.7.0-configure.patch, -scummvm-0.7.0.ebuild:
clean old version

*scummvm-0.7.1 (28 Mar 2005)

28 Mar 2005; Michael Sterrett
+files/0.7.1-configure.patch, +scummvm-0.7.1.ebuild:
version bump

27 Feb 2005; Michael Sterrett scummvm-0.7.0.ebuild:
the x11 backend isn't fully functional so we require sdl (bug #83502)

21 Feb 2005; Michael Sterrett
+files/0.7.0-configure.patch, -scummvm-0.6.1b.ebuild, scummvm-0.7.0.ebuild:
fix tail call; fix gcc version detection (bug #82836)

23 Jan 2005; Michael Sterrett scummvm-0.7.0.ebuild:
fix non-working option (bug #79279)

22 Jan 2005; Michael Sterrett scummvm-0.7.0.ebuild:
mpeg2 support needs vorbis (bug #79149) so turn it off if -oggvorbis
add flac support
use doicon

20 Jan 2005; Michael Sterrett scummvm-0.7.0.ebuild:
don't try to run the non-working test (bug #77507)

27 Dec 2004; Mike Frysinger scummvm-0.7.0.ebuild:
Only enable nasm code on x86 #75730 by Marco Matthies.

*scummvm-0.7.0 (26 Dec 2004)

26 Dec 2004; Mike Frysinger +scummvm-0.7.0.ebuild:
Version bump #75614 by cpu.

25 Sep 2004; Jason Wever scummvm-0.6.1b.ebuild:
Stable on sparc.

18 Sep 2004; Michael Sterrett scummvm-0.6.1b.ebuild:
fix up configure for bug #64550

18 Sep 2004; Michael Sterrett
-files/0.5.1-alsa.patch, -files/0.6.0-gcc34.patch, -scummvm-0.5.1.ebuild,
-scummvm-0.6.0.ebuild:
clean older ebuilds and patches

*scummvm-0.6.1b (09 Aug 2004)

09 Aug 2004; Michael Sterrett +scummvm-0.6.1b.ebuild:
bug-fixed version bump

*scummvm-0.6.1 (29 Jul 2004)

29 Jul 2004; Michael Sterrett +scummvm-0.6.1.ebuild:
version bump (bug #58542)

01 Jun 2004; Travis Tilley scummvm-0.6.0.ebuild:
stable on amd64

01 Jun 2004; Mike Frysinger +files/0.6.0-gcc34.patch,
scummvm-0.6.0.ebuild:
Add gcc-3.4 patch #49304 by Robert Führicht.

11 Apr 2004; Jason Wever scummvm-0.6.0.ebuild:
Added ~sparc keyword.

29 Mar 2004; Lars Weiler scummvm-0.6.0.ebuild:
stable on ppc

*scummvm-0.6.0 (16 Mar 2004)

16 Mar 2004; Michael Sterrett scummvm-0.6.0.ebuild:
version bump (bug #44809); ebuild submitted by Stephan Schiffel

02 Jan 2004; Michael Sterrett scummvm-0.5.1.ebuild,
files/0.5.1-alsa.patch:
Add patch to compile against new Alsa; contributed by Danny van Dyk via bug
36191

27 Nov 2003; Michael Sterrett scummvm-0.5.1.ebuild:
fix mad depend (bug 34575)
more error checking/messages

*scummvm-0.5.1 (08 Aug 2003)

08 Aug 2003; Michael Sterrett scummvm-0.5.1.ebuild:
version bump

*scummv-0.5.0 (02 Aug 2003)
02 Aug 2003; Lisa Seelye ; scummvm-0.5.0.ebuild:
Version bump

02 Aug 2003; Lisa Seelye ; ChangeLog:
Moved 'reverted to 0.4.1' down under 4.1-r1.

*scummvm-0.4.1-r1 (17 Jul 2003)

19 Jul 2003; Nick Hadaway :
Reverted to 0.4.1

17 Jul 2003; Nick Hadaway scummvm-0.4.1-r1.ebuild:
Changed from media-sound/mad to media-libs/{libmad,libid3tag}

06 Jun 2003; scummvm-0.3.0b.ebuild,
scummvm-0.4.1.ebuild:
spellcheck: gameenginge -> "game engine"

*scummvm-0.4.1 (06 Jun 2003)

06 Jun 2003; scummvm-0.4.1.ebuild:
version bump

06 Jun 2003; scummvm-0.3.0b.ebuild:
DEPEND on sed >= 4; use sed -i

*scummvm-0.3.0b (14 Dec 2002)

22 Apr 2003; Graham Forest scummvm-0.3.0b.ebuild:
set ~ppc in keywords

18 Dec 2002; Mike Frysinger :
Updated ebuild to use mad properly and support for other sound libs.

14 Dec 2002; Maik Schreiber :
new version

*scummvm-0.2.0-r1 (17 Jun 2002)

23 Sep 2002; Mike Frysinger :
Changed SRC_URI to use mirror: and updated LICENSE

17 Jul 2002; Jose Alberto Suárez López scummvm-0.2.0.ebuild :
Added KEYWORDS, SLOT.

17 Jul 2002; Jose Alberto Suárez López scummvm-0.2.0-r1.ebuild :
Added KEYWORDS, SLOT.

17 Jun 2002; Ryan Phillips scummvm-0.2.0-r1.ebuild :

Added support for the SDL USE variable

*scummvm-0.2.0 (26 May 2002)

23 Sep 2002; Mike Frysinger :
Changed SRC_URI to use mirror: and updated LICENSE

26 May 2002; Ryan Phillips ChangeLog :

Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

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
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
MISC metadata.xml 248 RMD160 ef65397fe4528a5ae0332b01a77e8f2a9e4c4e91 SHA1 a1c019c07494e52a3167dc8945533c2fd3ea1fc5 SHA256 d07430a4c6da117a018a33c479a43b812752dc8658311ae2559ef1d9f3654385

metadata.xml




games

compile with support for fluidsynth

scummvm-0.10.0.ebuild

# 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.10.0.ebuild,v 1.8 2008/06/09 18:20:00 armin76 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 < %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.xpm
make_desktop_entry scummvm ScummVM scummvm "Game;AdventureGame"
prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
echo
elog "If you want to use the new \"modern\" theme for ${PN},"
elog "add the following line to the [scummvm] section of"
elog "your ~/.scummvmrc file (after running scummvm once):"
elog "themepath=${GAMES_DATADIR}/${PN}/engines/"
}

scummvm-0.11.1.ebuild

# 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.11.1.ebuild,v 1.5 2008/06/22 06:43:45 corsair 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 < %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
}