summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-03-18 08:23:05 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-03-18 08:23:05 +0000
commitc606330a893cb5bd89d6628de0d29ffad48b2071 (patch)
treebf9efe2833d6dfe31d3a7a98900acc3d413ec38f /media-plugins
parentRemove unused version. (diff)
downloadgentoo-2-c606330a893cb5bd89d6628de0d29ffad48b2071.tar.gz
gentoo-2-c606330a893cb5bd89d6628de0d29ffad48b2071.tar.bz2
gentoo-2-c606330a893cb5bd89d6628de0d29ffad48b2071.zip
Version bumped.
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-xineliboutput/ChangeLog8
-rw-r--r--media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_rc13
-rw-r--r--media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc1.ebuild93
3 files changed, 103 insertions, 1 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog
index 6fc21ee1f7af..13ec8cc680b4 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.22 2007/03/01 20:44:15 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.23 2007/03/18 08:23:05 zzam Exp $
+
+*vdr-xineliboutput-1.0.0_rc1 (18 Mar 2007)
+
+ 18 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-xineliboutput-1.0.0_rc1.ebuild:
+ Version bumped.
01 Mar 2007; Matthias Schwarzott <zzam@gentoo.org>
vdr-xineliboutput-1.0.0_pre7_p20070129.ebuild:
diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_rc1 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_rc1
new file mode 100644
index 000000000000..e2fd254d0513
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_rc1
@@ -0,0 +1,3 @@
+MD5 807395c7c25962e083223bd8e6115c13 vdr-xineliboutput-1.0.0rc1.tgz 263435
+RMD160 cd6d0ba5271c40be814b9dff2d6c929872138521 vdr-xineliboutput-1.0.0rc1.tgz 263435
+SHA256 367f6113aa8d762be7f28d758af11111d62ed9c85d89d897582c8fb954d44a6f vdr-xineliboutput-1.0.0rc1.tgz 263435
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc1.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc1.ebuild
new file mode 100644
index 000000000000..9b813dd24f7d
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2007 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_rc1.ebuild,v 1.1 2007/03/18 08:23:05 zzam Exp $
+
+inherit vdr-plugin eutils multilib
+
+MY_PV=${PV/_/}
+MY_P=${PN}-${MY_PV}
+#TIMESTAMP=CVS-${PV##*_p}000000
+#MY_P=${PN}-${TIMESTAMP}
+
+DESCRIPTION="Video Disk Recorder Xinelib PlugIn"
+HOMEPAGE="http://sourceforge.net/projects/xineliboutput/"
+SRC_URI="mirror://sourceforge/${PN#vdr-}/${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
+ )
+ )"
+
+#MY_PV=${PV%_p*}
+#MY_PV=${MY_PV/_/}
+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:" \
+ -e 's:VDRINCDIR.*=.*:VDRINCDIR ?= /usr/include:'
+ mkdir -p ${WORKDIR}/lib
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ dobin vdr-fbfe vdr-sxfe
+
+ insinto ${VDR_PLUGIN_DIR}
+ doins *.so.${MY_PV} || die "could not install sub-plugins"
+
+ 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
+}