diff options
Diffstat (limited to 'media-plugins')
3 files changed, 100 insertions, 2 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog index ac0fadd0ffd1..85df95916769 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.18 2006/12/03 14:47:44 zzam Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.19 2007/01/14 14:08:35 zzam Exp $ + +*vdr-xineliboutput-1.0.0_pre7 (14 Jan 2007) + + 14 Jan 2007; Matthias Schwarzott <zzam@gentoo.org> + +vdr-xineliboutput-1.0.0_pre7.ebuild: + Version bumped, thanks to Petri Hintukainen <Petri.Hintukainen@hut.fi> for + noticing. *vdr-xineliboutput-1.0.0_pre6-r2 (03 Dec 2006) diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre7 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre7 new file mode 100644 index 000000000000..57edf5c2ed01 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-1.0.0_pre7 @@ -0,0 +1,3 @@ +MD5 b1b52689fae9a27ab21a2d69f68894be vdr-xineliboutput-1.0.0pre7.tgz 255454 +RMD160 adcb685d11578800095fd744b33024565b0f17f1 vdr-xineliboutput-1.0.0pre7.tgz 255454 +SHA256 37c3e982659119c95c23f6b9c52903f3c2ee80b10407c8f10c74ebfcf8104198 vdr-xineliboutput-1.0.0pre7.tgz 255454 diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre7.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre7.ebuild new file mode 100644 index 000000000000..8c175b669b26 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_pre7.ebuild @@ -0,0 +1,88 @@ +# 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_pre7.ebuild,v 1.1 2007/01/14 14:08:35 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 +} |