diff options
author | Doug Goldstein <cardoe@gentoo.org> | 2002-08-03 09:25:05 +0000 |
---|---|---|
committer | Doug Goldstein <cardoe@gentoo.org> | 2002-08-03 09:25:05 +0000 |
commit | fd1b7b67f1f264c997c391fbc1be16826ab7c2e7 (patch) | |
tree | a8db18b29dbf22c39f79aa568be3d3f9552ca5f4 /media-libs/smpeg | |
parent | Added mask for new smpeg and smpeg-xmms ebuilds (diff) | |
download | historical-fd1b7b67f1f264c997c391fbc1be16826ab7c2e7.tar.gz historical-fd1b7b67f1f264c997c391fbc1be16826ab7c2e7.tar.bz2 historical-fd1b7b67f1f264c997c391fbc1be16826ab7c2e7.zip |
Fixed support for gcc-3.1
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r-- | media-libs/smpeg/ChangeLog | 13 | ||||
-rw-r--r-- | media-libs/smpeg/files/digest-smpeg-0.4.4-r3 | 1 | ||||
-rw-r--r-- | media-libs/smpeg/smpeg-0.4.4-r3.ebuild | 61 |
3 files changed, 72 insertions, 3 deletions
diff --git a/media-libs/smpeg/ChangeLog b/media-libs/smpeg/ChangeLog index 408ed64ae26a..ea692b130f75 100644 --- a/media-libs/smpeg/ChangeLog +++ b/media-libs/smpeg/ChangeLog @@ -1,16 +1,23 @@ # ChangeLog for media-libs/smpeg # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.4 2002/08/03 05:03:42 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.5 2002/08/03 09:25:05 cardoe Exp $ - 5 Apr 2002; M.Schlemmer <azarah@gentoo.org> smpeg-0.4.4-r2.ebuild : +*smpeg-0.4.4-r3 (03 Aug 2002) + + 03 Aug 2002; Doug Goldstein <cardoe@gentoo.org> smpeg-0.4.4-r3.ebuild : - gcc-3 fixes by PreZ. + Fixed gcc-3.1 support. (No ppc KEYWORD yet) + Bug #5558 Olivier Crete <tester@videotron.ca> posted the patch from Redhat. *smpeg-0.4.4-r2 (3 Feb 2002) 02 Aug 2002; mark Guertin <gerk@gentoo.org> smpeg-0.4.4-r2.ebuild : Added ppc to keywords + 5 Apr 2002; M.Schlemmer <azarah@gentoo.org> smpeg-0.4.4-r2.ebuild : + + gcc-3 fixes by PreZ. + 3 Feb 2002; M.Schlemmer <azarah@gentoo.org> smpeg-0.4.4-r2.ebuild : '--enable-mmx' causes test apps to crash on startup. Disable this for now. diff --git a/media-libs/smpeg/files/digest-smpeg-0.4.4-r3 b/media-libs/smpeg/files/digest-smpeg-0.4.4-r3 new file mode 100644 index 000000000000..9aa5597db6c8 --- /dev/null +++ b/media-libs/smpeg/files/digest-smpeg-0.4.4-r3 @@ -0,0 +1 @@ +MD5 59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz 315054 diff --git a/media-libs/smpeg/smpeg-0.4.4-r3.ebuild b/media-libs/smpeg/smpeg-0.4.4-r3.ebuild new file mode 100644 index 000000000000..ea8af92c70ca --- /dev/null +++ b/media-libs/smpeg/smpeg-0.4.4-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r3.ebuild,v 1.1 2002/08/03 09:25:05 cardoe Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="SDL MPEG Player Library" +SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${P}.tar.gz" +HOMEPAGE="http://www.lokigames.com/development/smpeg.php3" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="x86" + +DEPEND=">=media-libs/libsdl-1.2.0 + opengl? ( virtual/opengl virtual/glu ) + gtk? ( =x11-libs/gtk+-1.2* )" + +src_unpack() { + + unpack ${P}.tar.gz + + ## GCC 3.1 fix from bug #5558 (cardoe 08/03/02 + cd ${S} + patch -p1 < ${FILESDIR}/${P}-gcc-3.1.patch || die + +} + + +src_compile() { + + local myconf +# --enable-mmx causes test apps to crash on startup .. smpeg bug? +# bugzilla bug #470 -- azarah (03/02/2002) +# if [ "`use mmx`" ] ; then +# myconf="--enable-mmx" +# fi + if [ -z "`use gtk`" ] ; then + myconf="${myconf} --disable-gtk-player" + fi + if [ -z "`use X`" ] ; then + myconf="${myconf} --disable-gtk-player --without-x" + fi + if [ -z "`use opengl`" ] ; then + myconf="${myconf} --disable-opengl-player" + fi + + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --host=${CHOST} \ + ${myconf} || die + + emake CCLD="g++" || die +} + +src_install () { + + make DESTDIR=${D} install || die + + dodoc CHANGES COPYING README* TODO +} + |