diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-04-27 00:08:54 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-04-27 00:08:54 +0000 |
commit | 6cbbce766bdc22e85f58386b56569707e6554cc0 (patch) | |
tree | f85b7ae791261016ce8c7bc23d53deca3f48f6ff /media-video | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-6cbbce766bdc22e85f58386b56569707e6554cc0.tar.gz gentoo-2-6cbbce766bdc22e85f58386b56569707e6554cc0.tar.bz2 gentoo-2-6cbbce766bdc22e85f58386b56569707e6554cc0.zip |
Enhanced version with DVD support
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/vlc/files/digest-vlc-0.2.72 | 1 | ||||
-rw-r--r-- | media-video/vlc/vlc-0.2.72.ebuild | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/media-video/vlc/files/digest-vlc-0.2.72 b/media-video/vlc/files/digest-vlc-0.2.72 new file mode 100644 index 000000000000..1bfad7b902de --- /dev/null +++ b/media-video/vlc/files/digest-vlc-0.2.72 @@ -0,0 +1 @@ +MD5 facdd5991a080f7326404736e1e7164d vlc-0.2.72.tar.gz diff --git a/media-video/vlc/vlc-0.2.72.ebuild b/media-video/vlc/vlc-0.2.72.ebuild new file mode 100644 index 000000000000..d9bc7c9701e6 --- /dev/null +++ b/media-video/vlc/vlc-0.2.72.ebuild @@ -0,0 +1,75 @@ +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Nathaniel Hirsch <nh2@njit.edu> Achim Gottinge <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.2.72.ebuild,v 1.1 2001/04/27 00:08:54 achim Exp $ + +P=vlc-0.2.72 +A=vlc-0.2.72.tar.gz +S=${WORKDIR}/vlc-0.2.72 +DESCRIPTION="DVD / video player" +SRC_URI="http://www.videolan.org/packages/0.2.72/${A}" +HOMEPAGE="http://www.videolan.org" + +DEPEND=">=media-libs/libsdl-1.1.8-r1 + gnome? ( >=gnome-base/gnome-libs-1.2.12 ) + esd? ( >=media-sound/esound-0.2.22 ) + ggi? ( >=media-libs/libggi-2.0_beta3 ) + qt? ( >=x11-libs/qt-x11-2.3.0 ) + gtk? ( >=x11-libs/gtk+-1.2.9 ) + alsa? ( >=media-libs/alsa-lib-0.5.10 ) + X? ( >=x11-base/xfree-4.0.2 )" + #kde? ( >=kde-base/kdelibs-2.1.1 ) + +src_compile(){ + local myconf + if [ "`use fbdev`" ] + then + myconf="--enable-fb" + fi + if [ -z "`use mmx`" ] + then + myconf="$myconf --disable-mmx" + fi + if [ "`use esd`" ] + then + myconf="$myconf --enable-esd" + fi + if [ "`use ggi`" ] + then + myconf="$myconf --with-ggi" + fi + if [ "`use qt`" ] + then + myconf="$myconf --enable-qt" + fi + #if [ "`use kde`" ] + #then + # myconf="$myconf --enable-kde" + #fi + if [ "`use gnome`" ] + then + myconf="$myconf --enable-gnome" + fi + if [ -z "`use gtk`" ] + then + myconf="$myconf --disable-gtk" + fi + if [ "`use X`" ] + then + myconf="$myconf --enable-xvideo" + else + myconf="$myconf --disable-x11" + fi + if [ "`use alsa`" ] + then + myconf="$myconf --enable-alsa" + fi + try ./configure --prefix=/usr $myconf --with-sdl + try make + } +src_install(){ + + dodir /usr/{bin,lib} + try make DESTDIR=${D} install + + } + |