summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-10-31 10:14:45 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-10-31 10:14:45 +0000
commit28382b31b8df94f51cdbc9ed12fd7936a4713551 (patch)
treef45f23511ccdbe33127f1d8d1852e9f056a4c359 /media-plugins/vdr-xineliboutput
parentold (diff)
downloadgentoo-2-28382b31b8df94f51cdbc9ed12fd7936a4713551.tar.gz
gentoo-2-28382b31b8df94f51cdbc9ed12fd7936a4713551.tar.bz2
gentoo-2-28382b31b8df94f51cdbc9ed12fd7936a4713551.zip
Added conf-file-template from Bug #142062.
(Portage version: 2.1.2_rc1-r1)
Diffstat (limited to 'media-plugins/vdr-xineliboutput')
-rw-r--r--media-plugins/vdr-xineliboutput/ChangeLog8
-rw-r--r--media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre627
-rw-r--r--media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre6-r13
-rw-r--r--media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre6-r1.ebuild88
4 files changed, 125 insertions, 1 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog
index d441abbfe5d4..c3e8ae68e289 100644
--- a/media-plugins/vdr-xineliboutput/ChangeLog
+++ b/media-plugins/vdr-xineliboutput/ChangeLog
@@ -1,6 +1,12 @@
# 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.14 2006/10/26 14:22:02 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.15 2006/10/31 10:14:45 zzam Exp $
+
+*vdr-xineliboutput-1.0.0_pre6-r1 (31 Oct 2006)
+
+ 31 Oct 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +files/confd-1.0.0_pre6, +vdr-xineliboutput-1.0.0_pre6-r1.ebuild:
+ Added conf-file-template from Bug #142062.
26 Oct 2006; Matthias Schwarzott <zzam@gentoo.org>
-vdr-xineliboutput-1.0.0_pre3-r1.ebuild,
diff --git a/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6 b/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6
new file mode 100644
index 000000000000..b4fab7ff9690
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/files/confd-1.0.0_pre6
@@ -0,0 +1,27 @@
+#
+# Usage examples (VDR plugin)
+#
+# If no arguments are given, both X11 and framebuffer frontends are tried.
+# First working frontend is used with best available video driver.
+# Complete list of available command-line arguments can be obtained
+# with "vdr --help".
+#
+# Only local frontend, X11/Xv video, alsa audio:
+# _EXTRAOPTS="--local=sxfe --video=xv --audio=alsa --noremote"
+#
+# Only local frontend, (slow) X11 video, oss audio:
+# _EXTRAOPTS="--local=sxfe --video=x11 --audio=oss --noremote"
+#
+# Only local frontend, DirectFB:
+# _EXTRAOPTS="--local=fbfe --video=DirectFB --noremote"
+#
+# Only remote frontend(s):
+# _EXTRAOPTS="--local=none --remote=37890"
+#
+# Local and remote frontends:
+# _EXTRAOPTS="--local=sxfe --remote=37890"
+# or
+# _EXTRAOPTS="--local=fbfe --remote=37890"
+#
+#
+_EXTRAOPTS="--local=none --remote=37890"
diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre6-r1 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre6-r1
new file mode 100644
index 000000000000..7ed8c055f231
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre6-r1
@@ -0,0 +1,3 @@
+MD5 5f413715241228429731a2ea565c0ce9 vdr-xineliboutput-1.0.0pre6.tgz 222439
+RMD160 7874916a5e122fe114d36eeddc0581e8ded3e12e vdr-xineliboutput-1.0.0pre6.tgz 222439
+SHA256 c76ad8fda681b2ddcbae14096885805149544087f2a4e6e4aa41b8c93a8dc6a0 vdr-xineliboutput-1.0.0pre6.tgz 222439
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre6-r1.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre6-r1.ebuild
new file mode 100644
index 000000000000..1f7ba4e6a970
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre6-r1.ebuild
@@ -0,0 +1,88 @@
+# 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_pre6-r1.ebuild,v 1.1 2006/10/31 10:14:45 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}
+
+VDR_CONFD_FILE=${FILESDIR}/confd-1.0.0_pre6
+
+enable_in_makefile() {
+ local opt
+ for opt; do
+ sed -i "/^#${opt}.*= 1/s-^#--" Makefile
+ done
+}
+
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd ${S}
+
+ XINE_LIB_VERSION=$(awk -F'"' '/XINE_VERSION/ {print $2}' /usr/include/xine.h)
+
+ enable_in_makefile XINELIBOUTPUT_VDRPLUGIN XINELIBOUTPUT_XINEPLUGIN
+ use fbcon && enable_in_makefile XINELIBOUTPUT_FB
+ use X && enable_in_makefile XINELIBOUTPUT_X11
+
+ # patching makefile to work with this
+ # $ rm ${outdir}/file; cp file ${outdir}/file
+ # work in the sandbox
+ sed -i 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_*.so
+
+ insinto /usr/$(get_libdir)/xine/plugins/${XINE_LIB_VERSION}/post
+ doins xineplug_post_*.so
+}