diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-11-05 12:59:09 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-11-05 12:59:09 +0000 |
commit | 44c9219fdcd554a4c7e487c7d7a3aac2021241c6 (patch) | |
tree | d61dfcdfb3625e1abd5d3a1f9b1b4667d9ccbb17 /media-video | |
parent | Added dependencies (diff) | |
download | gentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.tar.gz gentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.tar.bz2 gentoo-2-44c9219fdcd554a4c7e487c7d7a3aac2021241c6.zip |
Added dependencies and use gnome feature
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild | 13 | ||||
-rw-r--r-- | media-video/vlc/vlc-0.1.99h.ebuild | 25 | ||||
-rw-r--r-- | media-video/xmps/xmps-0.1.3-r1.ebuild | 18 |
3 files changed, 48 insertions, 8 deletions
diff --git a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild b/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild index a316708a6761..825a8bfd4468 100644 --- a/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild +++ b/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild @@ -1,7 +1,7 @@ # 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-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild,v 1.2 2000/09/15 20:09:06 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/smpeg-xmms/smpeg-xmms-0.3.1.ebuild,v 1.3 2000/11/05 12:59:09 achim Exp $ P=smpeg-xmms-0.3.1 A=${P}.tar.gz @@ -10,11 +10,20 @@ DESCRIPTION="A MPEG Plugin for XMMS" SRC_URI="ftp://ftp.xmms.org/xmms/plugins/smpeg-xmms/${A}" HOMEPAGE="http://www.xmms.org/plugins_input.html" +DEPEND=">=media-sound/xmms-1.2.3" +RDEPEND=">=media-sound/xmms-1.2.3" src_compile() { cd ${S} - try ./configure --prefix=/usr/X11R6 --host=${CHOST} + local myopts + if [ -n "`use gnome`" ] + then + myopts="--prefix=/opt/gnome" + else + myopts="--prefix=/usr/X11R6" + fi + try ./configure ${myopts} --host=${CHOST} try make } diff --git a/media-video/vlc/vlc-0.1.99h.ebuild b/media-video/vlc/vlc-0.1.99h.ebuild index 4ea642d4694b..5ade0365cf60 100644 --- a/media-video/vlc/vlc-0.1.99h.ebuild +++ b/media-video/vlc/vlc-0.1.99h.ebuild @@ -1,7 +1,7 @@ # 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-video/vlc/vlc-0.1.99h.ebuild,v 1.2 2000/09/15 20:09:06 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.1.99h.ebuild,v 1.3 2000/11/05 12:59:09 achim Exp $ P=vlc-0.1.99h A=${P}.tar.bz2 @@ -10,15 +10,26 @@ DESCRIPTION="A Player for MPEG2 Videos" SRC_URI="http://www.videolan.org/packages/0.1.99h/${A}" HOMEPAGE="http://www.videolan.org/" +DEPEND=">=media-libs/libsdl-1.1.5 + gnome? ( gnome-base/gnome-libs-1.2.4 )" +RDEPEND=$DEPEND src_compile() { unset CFLAGS unset CXXFLAGS cd ${S} - try ./configure --prefix=/usr --host=${CHOST} \ + + local myopts + if [ -n "`use gnome`" ] + then + myopts="--enable-gnome --prefix=/opt/gnome" + else + myopts="--prefix=/usr/X11R6" + fi + try ./configure --host=${CHOST} ${myopts} \ --enable-mmx --enable-dsp --enable-esd \ - --enable-fb --enable-sdl --enable-gnome --enable-x11 + --enable-fb --enable-sdl --enable-x11 try make } @@ -26,7 +37,13 @@ src_compile() { src_install () { cd ${S} - try make prefix=${D}/usr install + local myopts + if [ -n "`use gnome`" ] + then + try make prefix=${D}/opt/gnome install + else + try make prefix=${D}/usr/X11R6 install + fi dodoc AUTHORS ChangeLog COPYING README TODO diff --git a/media-video/xmps/xmps-0.1.3-r1.ebuild b/media-video/xmps/xmps-0.1.3-r1.ebuild index a5f1fa81e594..9277f0036bd1 100644 --- a/media-video/xmps/xmps-0.1.3-r1.ebuild +++ b/media-video/xmps/xmps-0.1.3-r1.ebuild @@ -1,7 +1,7 @@ # 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-video/xmps/xmps-0.1.3-r1.ebuild,v 1.4 2000/10/05 20:45:06 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/xmps/xmps-0.1.3-r1.ebuild,v 1.5 2000/11/05 12:59:09 achim Exp $ P=xmps-0.1.3 A=${P}.tar.gz @@ -10,10 +10,24 @@ DESCRIPTION="X Movie Player System" SRC_URI="http://www-eleves.enst-bretagne.fr/~chavarri/xmps/sources/${A}" HOMEPAGE="http://www-eleves.enst-bretagne.fr/~chavarri/xmps/" +DEPEND=">=media-libs/smpeg-0.4.1 + >=dev-lang/nasm-0.98 + gnome? ( >=gnome-base/gnome-libs-1.2.4 )" + +RDEPEND=">=media-libs/smpeg-0.4.1 + gnome? ( >=gnome-base/gnome-libs-1.2.4 )" + src_compile() { cd ${S} - try ./configure --prefix=/usr/X11R6 --host=${CHOST} \ + local myopts + if [ -n "`use gnome`" ] + then + myopts="--enable-gnome --prefix=/opt/gnome" + else + myopts="--disable-gnome --prefix=/usr/X11R6" + fi + try ./configure ${myopts} --host=${CHOST} \ --with-catgets cp Makefile Makefile.orig sed -e "s:\$(bindir)/xmps-config:\$(DESTDIR)\$(bindir)/xmps-config:" \ |