diff options
author | Joe Bormolini <lordjoe@gentoo.org> | 2001-09-22 21:30:00 +0000 |
---|---|---|
committer | Joe Bormolini <lordjoe@gentoo.org> | 2001-09-22 21:30:00 +0000 |
commit | f553a8c3f067360d761026bdc1b8d4f569c53cbd (patch) | |
tree | 4a855b1298d9c12b45180629dd31dab15a0fca92 /media-libs/smpeg | |
parent | use USE=gnome to see if GNOME support really should be built (diff) | |
download | gentoo-2-f553a8c3f067360d761026bdc1b8d4f569c53cbd.tar.gz gentoo-2-f553a8c3f067360d761026bdc1b8d4f569c53cbd.tar.bz2 gentoo-2-f553a8c3f067360d761026bdc1b8d4f569c53cbd.zip |
New version, minor bug fixes
Diffstat (limited to 'media-libs/smpeg')
-rw-r--r-- | media-libs/smpeg/files/digest-smpeg-0.4.4 | 1 | ||||
-rw-r--r-- | media-libs/smpeg/smpeg-0.4.4.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/media-libs/smpeg/files/digest-smpeg-0.4.4 b/media-libs/smpeg/files/digest-smpeg-0.4.4 new file mode 100644 index 000000000000..a9c33c9389f7 --- /dev/null +++ b/media-libs/smpeg/files/digest-smpeg-0.4.4 @@ -0,0 +1 @@ +MD5 59c76ac704088ef5539210190c4e1fe3 smpeg-0.4.4.tar.gz diff --git a/media-libs/smpeg/smpeg-0.4.4.ebuild b/media-libs/smpeg/smpeg-0.4.4.ebuild new file mode 100644 index 000000000000..d262d356c53d --- /dev/null +++ b/media-libs/smpeg/smpeg-0.4.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-libs/smpeg/smpeg-0.4.4.ebuild,v 1.1 2001/09/22 21:30:00 lordjoe Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P} +DESCRIPTION="SDL MPEG Player Library" +SRC_URI="ftp://ftp.lokigames.com/pub/open-source/smpeg/${A}" +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.8 )" + +src_compile() { + + local myconf + 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 + try ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} ${myconf} || die + try emake || die + +} + +src_install () { + + try make DESTDIR=${D} install || die + + dodoc CHANGES COPYING README* TODO + +} |