summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-02-02 23:09:30 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-02-02 23:09:30 +0000
commita519499e39f0d5c6dacefefef225fb4c95edfd0d (patch)
tree3c9470210029499a5e1ddaf7e1434c8181701914 /media-libs/smpeg
parentnew version; removed older (diff)
downloadgentoo-2-a519499e39f0d5c6dacefefef225fb4c95edfd0d.tar.gz
gentoo-2-a519499e39f0d5c6dacefefef225fb4c95edfd0d.tar.bz2
gentoo-2-a519499e39f0d5c6dacefefef225fb4c95edfd0d.zip
fix bug #470
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r--media-libs/smpeg/ChangeLog9
-rw-r--r--media-libs/smpeg/files/digest-smpeg-0.4.4-r21
-rw-r--r--media-libs/smpeg/smpeg-0.4.4-r2.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/media-libs/smpeg/ChangeLog b/media-libs/smpeg/ChangeLog
index 5ea125ef1971..9c9eb9da2bf2 100644
--- a/media-libs/smpeg/ChangeLog
+++ b/media-libs/smpeg/ChangeLog
@@ -1,6 +1,13 @@
# 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.1 2002/02/01 21:53:31 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/ChangeLog,v 1.2 2002/02/02 23:09:30 azarah Exp $
+
+*smpeg-0.4.4-r2 (3 Feb 2002)
+
+ 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.
+ Resolves bug #470. Some form fixes.
*smpeg-0.4.4-r1 (1 Feb 2002)
diff --git a/media-libs/smpeg/files/digest-smpeg-0.4.4-r2 b/media-libs/smpeg/files/digest-smpeg-0.4.4-r2
new file mode 100644
index 000000000000..9aa5597db6c8
--- /dev/null
+++ b/media-libs/smpeg/files/digest-smpeg-0.4.4-r2
@@ -0,0 +1 @@
+MD5 59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz 315054
diff --git a/media-libs/smpeg/smpeg-0.4.4-r2.ebuild b/media-libs/smpeg/smpeg-0.4.4-r2.ebuild
new file mode 100644
index 000000000000..773cfedac4db
--- /dev/null
+++ b/media-libs/smpeg/smpeg-0.4.4-r2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4-r2.ebuild,v 1.1 2002/02/02 23:09:30 azarah 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"
+
+DEPEND=">=media-libs/libsdl-1.2.0
+ opengl? ( virtual/opengl virtual/glu )
+ gtk? ( >=x11-libs/gtk+-1.2.10-r4 )"
+
+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 || die
+}
+
+src_install () {
+
+ make DESTDIR=${D} install || die
+
+ dodoc CHANGES COPYING README* TODO
+}
+