summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-05-07 16:06:54 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-05-07 16:06:54 +0000
commitdcaeadbd663ed637909ac01bf5d561acd64e69ba (patch)
tree6f9f3ba782460d8c356d2ef31c8f1ca368e5370e /media-video/vlc
parentgdb-5.1.1-r1 works for me on i386 but not others... I'll have to update the ... (diff)
downloadhistorical-dcaeadbd663ed637909ac01bf5d561acd64e69ba.tar.gz
historical-dcaeadbd663ed637909ac01bf5d561acd64e69ba.tar.bz2
historical-dcaeadbd663ed637909ac01bf5d561acd64e69ba.zip
New upstream version.
Diffstat (limited to 'media-video/vlc')
-rw-r--r--media-video/vlc/ChangeLog9
-rw-r--r--media-video/vlc/files/digest-vlc-0.3.11
-rw-r--r--media-video/vlc/vlc-0.3.1.ebuild68
3 files changed, 77 insertions, 1 deletions
diff --git a/media-video/vlc/ChangeLog b/media-video/vlc/ChangeLog
index 9247ee6e671a..dda7f9763fb9 100644
--- a/media-video/vlc/ChangeLog
+++ b/media-video/vlc/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/vlc
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/ChangeLog,v 1.2 2002/05/07 16:06:54 karltk Exp $
+
+*vlc-0.3.1 (07 May 2002)
+
+ 07 May 2002; Karl Trygve Kalleberg <karltk@gentoo.org> vlc-0.3.1.ebuild files/digest-vlc-0.3.1 :
+
+ New upstream version.
+
*vlc-0.2.91 (1 Feb 2002)
diff --git a/media-video/vlc/files/digest-vlc-0.3.1 b/media-video/vlc/files/digest-vlc-0.3.1
new file mode 100644
index 000000000000..b2b7ad689e53
--- /dev/null
+++ b/media-video/vlc/files/digest-vlc-0.3.1
@@ -0,0 +1 @@
+MD5 bd679a84b0b29e7e87b43f4f901af5d1 vlc-0.3.1.tar.gz 1172172
diff --git a/media-video/vlc/vlc-0.3.1.ebuild b/media-video/vlc/vlc-0.3.1.ebuild
new file mode 100644
index 000000000000..01401b4b5d46
--- /dev/null
+++ b/media-video/vlc/vlc-0.3.1.ebuild
@@ -0,0 +1,68 @@
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author: Nathaniel Hirsch <nh2@njit.edu>
+# Author: Achim Gottinger <achim@gentoo.org>
+# Author: Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-video/vlc/vlc-0.3.1.ebuild,v 1.1 2002/05/07 16:06:54 karltk Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="DVD / video player"
+SRC_URI="http://www.videolan.org/pub/videolan/${PN}/${PV}/${P}.tar.gz"
+HOMEPAGE="http://www.videolan.org"
+
+DEPEND=">=media-libs/libsdl-1.1.8-r1
+ >=media-libs/libdvdcss-1.1.1
+ gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
+ esd? ( >=media-sound/esound-0.2.22 )
+ ggi? ( >=media-libs/libggi-2.0_beta3 )
+ qt? ( =x11-libs/qt-2.3* )
+ gtk? ( >=x11-libs/gtk+-1.2.10-r4 )
+ X? ( virtual/x11 )"
+ #alsa? ( >=media-libs/alsa-lib-0.5.10 )
+ #kde? ( >=kde-base/kdelibs-2.1.1 )
+
+src_compile() {
+ local myc
+
+ use fbdev && myc="$myc --enable-fb" || myc="$myc --disable-fb"
+ use mmx && myc="$myc --enable-mmx" || myc="$myc --disable-mmx"
+ use esd && myc="$myc --enable-esd" || myc="$myc --disable-esd"
+ use ggi && myc="$myc --with-ggi" || myc="$myc --without-ggi"
+
+ if [ "`use qt`" ] ; then
+ export QTDIR=/usr/qt/2
+ myc="$myc --enable-qt"
+ fi
+
+ #use kde && myc="$myc --enable-kde" || myc="$myc --disable-kde"
+ use gnome && myc="$myc --enable-gnome" || myc="$myc --disable-gnome"
+ use gtk && myc="$myc --enable-gtk" || myc="$myc --disable-gtk"
+ use X && myc="$myc --enable-xvideo" || myc="$myc --disable-x11"
+
+# Currently alsa support in vlc requires Alsa 0.90 (which is unstable).
+# Until some release of alsa is released which works with vlc don't use it.
+# if [ "`use alsa`" ]
+# then
+# myconf="$myconf --enable-alsa"
+# fi
+
+ # vlc uses its own ultraoptimizaed CXXFLAGS, and forcing custom ones generally fails building
+ export CXXFLAGS=""
+ export CFLAGS=""
+
+
+ # Why are we requiring SDL here ? -- karltk
+ ./configure \
+ --prefix=/usr \
+ $myconf \
+ --with-sdl \
+ --disable-alsa \
+ --enable-release || die
+ make || die
+}
+
+src_install() {
+ dodir /usr/{bin,lib}
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL README TODO
+}
+