summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-08 20:01:38 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-08 20:01:38 +0000
commit5d6d186b2c10bea6593fc4e60a2c9b7bcc9b5447 (patch)
treee1f0b0e7850869e567f9e9af99b327c2c3cd6626
parentmarking 2.5.8-r3 stable on x86 and alpha, adding -r4 (minor update to FvwmTabs) (diff)
downloadgentoo-2-5d6d186b2c10bea6593fc4e60a2c9b7bcc9b5447.tar.gz
gentoo-2-5d6d186b2c10bea6593fc4e60a2c9b7bcc9b5447.tar.bz2
gentoo-2-5d6d186b2c10bea6593fc4e60a2c9b7bcc9b5447.zip
touchups
-rw-r--r--media-video/xine-ui/xine-ui-0.9.23.ebuild33
1 files changed, 12 insertions, 21 deletions
diff --git a/media-video/xine-ui/xine-ui-0.9.23.ebuild b/media-video/xine-ui/xine-ui-0.9.23.ebuild
index 3665ba921538..a503ccad28a1 100644
--- a/media-video/xine-ui/xine-ui-0.9.23.ebuild
+++ b/media-video/xine-ui/xine-ui-0.9.23.ebuild
@@ -1,10 +1,17 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.23.ebuild,v 1.3 2004/01/14 18:24:01 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.23.ebuild,v 1.4 2004/02/08 20:01:38 vapier Exp $
-DESCRIPTION="Skinned front end for Xine movie player."
+inherit eutils
+
+DESCRIPTION="Xine movie player"
HOMEPAGE="http://xine.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xine/${P}.tar.gz"
+
LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64"
+IUSE="X gnome nls directfb lirc"
DEPEND="media-libs/libpng
>=media-libs/xine-lib-1_rc3
@@ -17,40 +24,24 @@ DEPEND="media-libs/libpng
>=dev-libs/DirectFB-0.9.9 )"
RDEPEND="nls? ( sys-devel/gettext )"
-IUSE="X gnome nls directfb lirc"
-
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~amd64 ~sparc"
-
-S=${WORKDIR}/${P}
-SRC_URI="mirror://sourceforge/xine/${P}.tar.gz"
-RESTRICT="nomirror"
-
src_unpack() {
unpack ${A}
cd ${S}
- epatch ${FILESDIR}/preserve-CFLAGS-${PV}.diff || die "patch failed"
-
- use directfb || ( \
- sed -i "s:dfb::" src/Makefile.in
- )
-
+ epatch ${FILESDIR}/preserve-CFLAGS-${PV}.diff
+ use directfb || sed -i "s:dfb::" src/Makefile.in
sed -i "s:LDFLAGS =:LDFLAGS = -L/lib:" src/xitk/Makefile.in
}
src_compile() {
-
- local myconf
+ local myconf=""
use X || myconf="${myconf} --disable-x11 --disable-xv"
use nls || myconf="${myconf} --disable-nls"
use lirc || myconf="${myconf} --disable-lirc"
-
econf ${myconf} || die
emake || die
}
src_install() {
-
make DESTDIR=${D} \
docdir=/usr/share/doc/${PF} \
docsdir=/usr/share/doc/${PF} \