summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-12 13:50:03 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-12 13:50:03 +0000
commit0fdf2867783653f1dc9c26037d674e5723bd56b9 (patch)
tree1f609bdd4847bc6b343667275f4fd98e8249c149 /media-libs/xine-lib
parentmissing ebuild file (diff)
downloadhistorical-0fdf2867783653f1dc9c26037d674e5723bd56b9.tar.gz
historical-0fdf2867783653f1dc9c26037d674e5723bd56b9.tar.bz2
historical-0fdf2867783653f1dc9c26037d674e5723bd56b9.zip
removed css USE flag in favour of dvd flag, and made win32 stuff optional with avi flag
Diffstat (limited to 'media-libs/xine-lib')
-rw-r--r--media-libs/xine-lib/files/digest-xine-lib-0.9.8-r21
-rw-r--r--media-libs/xine-lib/xine-lib-0.9.8-r2.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/media-libs/xine-lib/files/digest-xine-lib-0.9.8-r2 b/media-libs/xine-lib/files/digest-xine-lib-0.9.8-r2
new file mode 100644
index 000000000000..d19cb38cd72a
--- /dev/null
+++ b/media-libs/xine-lib/files/digest-xine-lib-0.9.8-r2
@@ -0,0 +1 @@
+MD5 d8fc9b30e15b50af8ab7552bbda7aeda xine-lib-0.9.8.tar.gz 1766178
diff --git a/media-libs/xine-lib/xine-lib-0.9.8-r2.ebuild b/media-libs/xine-lib/xine-lib-0.9.8-r2.ebuild
new file mode 100644
index 000000000000..4dde68d50ccc
--- /dev/null
+++ b/media-libs/xine-lib/xine-lib-0.9.8-r2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# Author Martin Schlemmer <azarah@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-0.9.8-r2.ebuild,v 1.1 2002/04/12 13:50:03 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Xine is a free gpl-licensed video player for unix-like systems"
+SRC_URI="http://xine.sourceforge.net/files/xine-lib-${PV}.tar.gz"
+HOMEPAGE="http://xine.sourceforge.net/"
+
+DEPEND=">=media-libs/aalib-1.4_rc3
+ X? ( virtual/x11 )
+ avi? ( >=media-libs/win32codecs-0.50 )
+ esd? ( media-sound/esound )
+ dvd? ( >=media-libs/libdvdcss-0.0.3.3
+ >=media-libs/libdvdread-0.9.2 )
+ arts? ( kde-base/kdelibs )
+ alsa? ( media-libs/alsa-lib )
+ aalib? ( media-libs/aalib )
+ oggvorbis? ( media-libs/libvorbis )"
+
+RDEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+
+ # Most of these are not working currently, but are here for completeness
+ local myconf
+ use X || myconf="${myconf} --disable-x11 --disable-xv"
+ use esd || myconf="${myconf} --disable-esd --disable-esdtest"
+ use nls || myconf="${myconf} --disable-nls"
+ use alsa || myconf="${myconf} --disable-alsa --disable-alsatest"
+ use arts || myconf="${myconf} --disable-arts --disable-artstest"
+# use aalib || myconf="${myconf} --disable-aalib --disable-aalibtest"
+
+ use oggvorbis \
+ || myconf="${myconf} --disable-ogg --disable-oggtest --disable-vorbis --disable-vorbistest"
+
+ use avi \
+ && myconf="${myconf} --with-w32-path=/usr/lib/win32" \
+ || myconf="${myconf} --disable-asf"
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc \
+ ${myconf} || die
+
+ emake || die
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ docdir=${D}/usr/share/doc/${PF}/html \
+ sysconfdir=${D}/etc \
+ install || die
+
+ dodoc AUTHORS COPYING ChangeLog INSTALL README TODO
+ cd ${S}/doc
+ dodoc dataflow.dia README*
+
+}