summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-09-07 19:12:43 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-09-07 19:12:43 +0000
commitbf26aacda1ca8b65aa60d689eef78d52e4695b1c (patch)
tree7595949ce82ec1317953b04fa126d8784a78ed95 /media-plugins/vdr-xineliboutput
parentMarked stable on amd64 for bug #146733 (diff)
downloadgentoo-2-bf26aacda1ca8b65aa60d689eef78d52e4695b1c.tar.gz
gentoo-2-bf26aacda1ca8b65aa60d689eef78d52e4695b1c.tar.bz2
gentoo-2-bf26aacda1ca8b65aa60d689eef78d52e4695b1c.zip
Added use-flags to selectively enable X11 and fbdev support, suggested by Lucian Muresan <lucianm@users.sourceforge.net>.
(Portage version: 2.1.1_rc1-r5)
Diffstat (limited to 'media-plugins/vdr-xineliboutput')
-rw-r--r--media-plugins/vdr-xineliboutput/ChangeLog9
-rw-r--r--media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre43
-rw-r--r--media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre4.ebuild80
3 files changed, 91 insertions, 1 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog
index 245600ba2e72..3eb829f31e52 100644
--- a/media-plugins/vdr-xineliboutput/ChangeLog
+++ b/media-plugins/vdr-xineliboutput/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/vdr-xineliboutput
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.7 2006/08/28 14:14:15 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.8 2006/09/07 19:12:43 zzam Exp $
+
+*vdr-xineliboutput-1.0.0_pre4 (07 Sep 2006)
+
+ 07 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-xineliboutput-1.0.0_pre4.ebuild:
+ Added use-flags to selectively enable X11 and fbdev support, suggested by
+ Lucian Muresan <lucianm@users.sourceforge.net>.
*vdr-xineliboutput-1.0.0_pre3 (28 Aug 2006)
diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre4 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre4
new file mode 100644
index 000000000000..93a55dd72223
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre4
@@ -0,0 +1,3 @@
+MD5 0406dd79d7916c300db1092f87d1428a vdr-xineliboutput-1.0.0pre4.tgz 206483
+RMD160 ed985c51aa53a3c798efdc4e43f3983ceda4536b vdr-xineliboutput-1.0.0pre4.tgz 206483
+SHA256 21c9ec2e8205f00138990e14663cc3fe2ae7d0540cf0aa62fbd0183e44e9abf0 vdr-xineliboutput-1.0.0pre4.tgz 206483
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre4.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre4.ebuild
new file mode 100644
index 000000000000..bb2ed4b40772
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre4.ebuild,v 1.1 2006/09/07 19:12:43 zzam Exp $
+
+inherit vdr-plugin eutils multilib
+
+MY_PV=${PV/_/}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Video Disk Recorder Xinelib PlugIn"
+HOMEPAGE="http://users.tkk.fi/~phintuka/vdr/vdr-xineliboutput/"
+SRC_URI="http://users.tkk.fi/~phintuka/vdr/${PN}/${MY_P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="fbcon X"
+
+RDEPEND=">=media-video/vdr-1.3.42
+ >=media-libs/xine-lib-1.1.1
+ media-libs/jpeg
+ X? (
+ || ( (
+ x11-proto/xextproto
+ x11-proto/xf86vidmodeproto
+ x11-proto/xproto
+ )
+ virtual/x11
+ )
+ )"
+
+DEPEND="${RDEPEND}
+ sys-kernel/linux-headers
+ X? (
+ || ( (
+ x11-libs/libX11
+ x11-libs/libXv
+ x11-libs/libXext
+ )
+ virtual/x11
+ )
+ )"
+
+S=${WORKDIR}/xineliboutput-${MY_PV}
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ XINE_LIB_VERSION=$(awk -F'"' '/XINE_VERSION/ {print $2}' /usr/include/xine.h)
+ BUILD_PARAMS="XINELIBOUTPUT_VDRPLUGIN=1 XINELIBOUTPUT_XINEPLUGIN=1"
+ use fbcon && BUILD_PARAMS="${BUILD_PARAMS} XINELIBOUTPUT_FB=1"
+ use X && BUILD_PARAMS="${BUILD_PARAMS} XINELIBOUTPUT_X11=1"
+}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd ${S}
+ # disable hardcoded detect-routine to set options via make-command-line
+ sed -i.orig Makefile -e '/^[[:space:]]*XINELIBOUTPUT_\(FB\|X11\|XINEPLUGIN\)/s/^/#/'
+
+ # patching makefile to work with this
+ # $ rm ${outdir}/file; cp file ${outdir}/file
+ # work in the sandbox
+ sed -i.orig Makefile \
+ -e 's:XINEPLUGINDIR.*=.*:XINEPLUGINDIR = '"${WORKDIR}/lib:"
+ mkdir -p ${WORKDIR}/lib
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ dobin vdr-fbfe vdr-sxfe
+
+ insinto ${VDR_PLUGIN_DIR}
+ doins *.so.${MY_PV}
+
+ insinto /usr/$(get_libdir)/xine/plugins/${XINE_LIB_VERSION}
+ doins xineplug_inp_xvdr.so
+}