summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2008-01-11 14:41:23 +0000
committerSteve Dibb <beandog@gentoo.org>2008-01-11 14:41:23 +0000
commit6f0ac68bfafd973684ea29b4615c299c1543140a (patch)
treeb5c399b61e5337192326206a2d513186ee6d62a1 /media-video/oxine
parentMarking netkit-ftpd-0.17-r7 ppc for bug 199206 (diff)
downloadgentoo-2-6f0ac68bfafd973684ea29b4615c299c1543140a.tar.gz
gentoo-2-6f0ac68bfafd973684ea29b4615c299c1543140a.tar.bz2
gentoo-2-6f0ac68bfafd973684ea29b4615c299c1543140a.zip
Version bump, bug 202145
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'media-video/oxine')
-rw-r--r--media-video/oxine/ChangeLog9
-rw-r--r--media-video/oxine/files/digest-oxine-0.7.13
-rw-r--r--media-video/oxine/oxine-0.7.1.ebuild115
3 files changed, 125 insertions, 2 deletions
diff --git a/media-video/oxine/ChangeLog b/media-video/oxine/ChangeLog
index d3f1a0e2942d..7b557e60c403 100644
--- a/media-video/oxine/ChangeLog
+++ b/media-video/oxine/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/oxine
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/oxine/ChangeLog,v 1.28 2007/11/27 12:11:35 zzam Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/oxine/ChangeLog,v 1.29 2008/01/11 14:41:22 beandog Exp $
+
+*oxine-0.7.1 (11 Jan 2008)
+
+ 11 Jan 2008; Steve Dibb <beandog@gentoo.org> +oxine-0.7.1.ebuild:
+ Version bump, bug 202145
27 Nov 2007; Matthias Schwarzott <zzam@gentoo.org> oxine-0.6.3-r1.ebuild,
oxine-0.6.6.ebuild:
diff --git a/media-video/oxine/files/digest-oxine-0.7.1 b/media-video/oxine/files/digest-oxine-0.7.1
new file mode 100644
index 000000000000..212a1c478bfa
--- /dev/null
+++ b/media-video/oxine/files/digest-oxine-0.7.1
@@ -0,0 +1,3 @@
+MD5 2a2d05ee21892624e35cf539e532c0dd oxine-0.7.1.tar.gz 3653511
+RMD160 503e9134e4a87cb7c066319bb323c958293b85be oxine-0.7.1.tar.gz 3653511
+SHA256 bfe9e4f49996234eabf788397969c90901197b2b1823cdb9a61e529f5c0f6a7d oxine-0.7.1.tar.gz 3653511
diff --git a/media-video/oxine/oxine-0.7.1.ebuild b/media-video/oxine/oxine-0.7.1.ebuild
new file mode 100644
index 000000000000..944d34405aa8
--- /dev/null
+++ b/media-video/oxine/oxine-0.7.1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/oxine/oxine-0.7.1.ebuild,v 1.1 2008/01/11 14:41:22 beandog Exp $
+
+WANT_AUTOMAKE="1.9"
+inherit eutils autotools
+
+DESCRIPTION="OSD frontend for Xine"
+HOMEPAGE="http://oxine.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+SLOT="0"
+IUSE="X curl debug dvb exif hal joystick jpeg lirc nls png v4l"
+
+DEPEND="media-libs/xine-lib
+ curl? ( net-misc/curl )
+ hal? ( sys-apps/hal )
+ joystick? ( media-libs/libjsw )
+ jpeg? ( media-gfx/imagemagick
+ media-libs/netpbm
+ media-video/mjpegtools )
+ lirc? ( app-misc/lirc )
+ nls? ( virtual/libintl
+ sys-devel/gettext )
+ png? ( media-gfx/imagemagick
+ media-libs/netpbm
+ media-video/mjpegtools )
+ X? ( x11-libs/libXext
+ x11-libs/libX11 )"
+RDEPEND="${DEPEND}
+ virtual/eject"
+
+pkg_setup() {
+
+ # Video4Linux support
+ if ( use dvb || use v4l ) && ! built_with_use media-libs/xine-lib v4l ; then
+ eerror "Re-emerge xine-lib with the 'v4l' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ # X
+ if ! built_with_use media-libs/xine-lib X ; then
+ eerror "Re-emerge xine-lib with the 'X' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ # Image support
+ if (use png || use jpeg ) && ! built_with_use media-libs/netpbm zlib ; then
+ eerror "In order to enable image support, media-libs/netpbm must be"
+ eerror "emerged with the 'zlib' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ if (use png || use jpeg ) && ! built_with_use media-libs/netpbm png ; then
+ eerror "To view PNG images, media-libs/netpbm must be emerged with"
+ eerror "the 'png' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ if (use png || use jpeg ) && ! built_with_use media-libs/netpbm jpeg ; then
+ eerror "To view JPEG images, media-libs/netpbm must be emerged with"
+ eerror "with the 'jpeg' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ if ! built_with_use media-libs/xine-lib imagemagick ; then
+ eerror "To display its menus, oxine needs xine-lib to be compiled"
+ eerror "with with the 'imagemagick' USE flag"
+ REBUILD_DEPS=1
+ fi
+
+ if [[ ${REBUILD_DEPS} = 1 ]]; then
+ eerror "Check your USE flags, re-emerge the dependencies and then"
+ eerror "emerge this package."
+ die
+ fi
+
+}
+
+src_compile() {
+
+ # Note on images: Image support will be automatically disabled if
+ # netpbm, imagemagick or mjpegtools is not installed, irregardless
+ # of what the USE flags are set to.
+
+ # If one of the image USE flags is unset, disable image support
+ if use !png && use !jpeg ; then
+ myconf="${myconf} --disable-images"
+ fi
+
+ econf ${myconf} \
+ $( use_with X x ) \
+ $( use_with curl ) \
+ $( use_enable debug ) \
+ $( use_enable dvb ) \
+ $( use_enable exif ) \
+ $( use_enable hal ) \
+ $( use_enable joystick ) \
+ $( use_enable lirc ) \
+ $( use_enable nls ) \
+ $( use_enable v4l ) \
+ --disable-extractor \
+ --disable-rpath || die "econf died"
+ emake || die "emake failed"
+}
+
+src_install() {
+
+ emake DESTDIR="${D}" install || die "emake install died"
+
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ dohtml doc/README.html doc/keymapping.pdf
+
+}