diff options
3 files changed, 85 insertions, 1 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog index 562838afed94..f3dc9b3117fb 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.2 2006/05/14 18:36:32 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.3 2006/06/27 17:19:06 zzam Exp $ + +*vdr-xineliboutput-0.99_rc5 (27 Jun 2006) + + 27 Jun 2006; Matthias Schwarzott <zzam@gentoo.org> + +vdr-xineliboutput-0.99_rc5.ebuild: + Version bumped. Now contains correct x11-depends. *vdr-xineliboutput-0.99_rc (14 May 2006) diff --git a/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99_rc5 b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99_rc5 new file mode 100644 index 000000000000..22540ddadb87 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/files/digest-vdr-xineliboutput-0.99_rc5 @@ -0,0 +1,3 @@ +MD5 cfd162e4579b8aaec633f54ab8f1c8a7 vdr-xineliboutput-0.99rc5.tgz 171458 +RMD160 968b8fac1e67d4f1a80cb23843ea1d8792769924 vdr-xineliboutput-0.99rc5.tgz 171458 +SHA256 9e03e215098d0569d7ad35ab785fac539ac76678b66f0cca48b64509d4968a95 vdr-xineliboutput-0.99rc5.tgz 171458 diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99_rc5.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99_rc5.ebuild new file mode 100644 index 000000000000..48c0457cc703 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-0.99_rc5.ebuild @@ -0,0 +1,75 @@ +# 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-0.99_rc5.ebuild,v 1.1 2006/06/27 17:19:06 zzam Exp $ + +inherit vdr-plugin eutils + +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="" + +RDEPEND=">=media-video/vdr-1.3.42 + >=media-libs/xine-lib-1.1.1 + media-libs/jpeg + || ( ( + x11-proto/xextproto + x11-proto/xf86vidmodeproto + x11-proto/xproto + ) + virtual/x11 + )" + +DEPEND="${RDEPEND} + sys-kernel/linux-headers + || ( ( + 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) +} + +src_unpack() { + vdr-plugin_src_unpack + + cd ${S} + einfo "Enabling all configuration options" + sed -i.orig Makefile \ + -e 's:^#XINELIBOUTPUT:XINELIBOUTPUT:' + + # 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 ${WORKDIR}/lib/xineplug_inp_xvdr.so + doins *.so.${MY_PV} + + insinto /usr/lib/xine/plugins/${XINE_LIB_VERSION} + doins xineplug_inp_xvdr.so +} |