diff options
author | 2002-03-12 13:01:06 +0000 | |
---|---|---|
committer | 2002-03-12 13:01:06 +0000 | |
commit | 1852e0263ddb9fdf77a83ccffc0ffa5121a91b98 (patch) | |
tree | 599815d2c327da2995adfb03fcb604cdba27f8d9 /media-libs | |
parent | Check USE toggles for nls and disable-nls if the user's nls toggle is (diff) | |
download | gentoo-2-1852e0263ddb9fdf77a83ccffc0ffa5121a91b98.tar.gz gentoo-2-1852e0263ddb9fdf77a83ccffc0ffa5121a91b98.tar.bz2 gentoo-2-1852e0263ddb9fdf77a83ccffc0ffa5121a91b98.zip |
Check for nls toggle, and disable if off
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/xine-lib/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/xine-lib/xine-lib-0.9.8-r1.ebuild | 64 |
2 files changed, 72 insertions, 1 deletions
diff --git a/media-libs/xine-lib/ChangeLog b/media-libs/xine-lib/ChangeLog index f3c6ec8f7d02..9f263fd0cef8 100644 --- a/media-libs/xine-lib/ChangeLog +++ b/media-libs/xine-lib/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/xine-lib # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.1 2002/02/01 21:53:31 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.2 2002/03/12 13:01:06 seemant Exp $ + +*xine-lib-0.9.7-r1 (12 Mar 2002) + + 12 Mar 2002; Seemant Kulleen <seemant@rocketmail.org> ChangeLog: + + Added a check for the nls toggle in USE, and makes sure nls is disabled if + the toggle is off. *xine-lib-0.9.7 (1 Feb 2002) diff --git a/media-libs/xine-lib/xine-lib-0.9.8-r1.ebuild b/media-libs/xine-lib/xine-lib-0.9.8-r1.ebuild new file mode 100644 index 000000000000..3541006f2fa3 --- /dev/null +++ b/media-libs/xine-lib/xine-lib-0.9.8-r1.ebuild @@ -0,0 +1,64 @@ +# 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-r1.ebuild,v 1.1 2002/03/12 13:01:06 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="virtual/glibc + >=media-libs/libdvdcss-0.0.3.3 + >=media-libs/libdvdread-0.9.2 + >=media-libs/win32codecs-0.50 + >=media-libs/aalib-1.4_rc3 + X? ( virtual/x11 ) + esd? ( media-sound/esound ) + arts? ( kde-base/kdelibs ) + alsa? ( media-libs/alsa-lib ) + ogg? ( media-libs/libogg ) + vorbis? ( media-libs/libvorbis ) + 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 alsa || myconf="${myconf} --disable-alsa --disable-alsatest" + use esd || myconf="${myconf} --disable-esd --disable-esdtest" +# use aalib || myconf="${myconf} --disable-aalib --disable-aalibtest" + use arts || myconf="${myconf} --disable-arts --disable-artstest" + use ogg || myconf="${myconf} --disable-ogg --disable-oggtest" + use vorbis || myconf="${myconf} --disable-vorbis --disable-vorbistest" + use nls || myconf="${myconf} --disable-nls" + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ --sysconfdir=/etc \ + --with-w32-path=/usr/lib/win32 \ + ${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* + +} + + + |