# 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:
SHA256 b701192054d2aa2ead5c77534fdf3a13a3d33d58254e5b0c81523995a6e188b5 files/vdr-xineliboutput-1.0.0_pre6-uint64.diff 578
DIST vdr-xineliboutput-1.0.0pre6.tgz 222439 RMD160 7874916a5e122fe114d36eeddc0581e8ded3e12e SHA1 993af565957daa930802568161ffe27ad4b8ce2e SHA256 c76ad8fda681b2ddcbae14096885805149544087f2a4e6e4aa41b8c93a8dc6a0
DIST vdr-xineliboutput-1.0.0pre7.tgz 255454 RMD160 adcb685d11578800095fd744b33024565b0f17f1 SHA1 b209e5ec1b66589cb84172d3cddb83393d333620 SHA256 37c3e982659119c95c23f6b9c52903f3c2ee80b10407c8f10c74ebfcf8104198
+DIST vdr-xineliboutput-1.0.0rc1.tgz 263435 RMD160 cd6d0ba5271c40be814b9dff2d6c929872138521 SHA1 051239137b7a6598863172cbcb4fcb186a5ae198 SHA256 367f6113aa8d762be7f28d758af11111d62ed9c85d89d897582c8fb954d44a6f
DIST vdr-xineliboutput-CVS-20070129000000.tar.gz 256023 RMD160 4088f82105ff0514fd3cb5c155287b93512a259c SHA1 ddb84c692d43393c84a20eb0d79e053306e2c8f9 SHA256 bcc47f12139f016360809fb55a52e594181e1e242a7d298d20dd73572be14124
EBUILD vdr-xineliboutput-1.0.0_pre6-r1.ebuild 1965 RMD160 c441a24fce66419c89631a19ab2c7d987c3bdc87 SHA1 22abb6bac5c6794d540a12a5a70f1bf758544e44 SHA256 b8115523cb2c900d311a6424eb6bbe1738b9f1164b875f2c80cbbf5694bc9e35
MD5 50c77abb64b33b1fed61e6a7729e94d2 vdr-xineliboutput-1.0.0_pre6-r1.ebuild 1965
MD5 586ac7522c1cabed1e599c0436da4699 vdr-xineliboutput-1.0.0_pre7_p20070129.ebuild 2081
RMD160 e8135bde7146b368dfe98b4a1deda1ae97c8bc90 vdr-xineliboutput-1.0.0_pre7_p20070129.ebuild 2081
SHA256 5d78073bdcfceb2b6fa553be949a4483ca6b8be294c30a85959bc7aefb578a5b vdr-xineliboutput-1.0.0_pre7_p20070129.ebuild 2081
-MISC ChangeLog 5076 RMD160 2cbcdc8a6b9eeabc4e35f6fe103380cb461efce5 SHA1 399a5e7cb5b27b018ea24300b1723343d03d1edb SHA256 a5dad6bd00f228e11d0d80801b3aca45fcb41459f5a411d6e4f1e465cba895a6
-MD5 5e4db447446697d54ed4272e9cbed644 ChangeLog 5076
-RMD160 2cbcdc8a6b9eeabc4e35f6fe103380cb461efce5 ChangeLog 5076
-SHA256 a5dad6bd00f228e11d0d80801b3aca45fcb41459f5a411d6e4f1e465cba895a6 ChangeLog 5076
+EBUILD vdr-xineliboutput-1.0.0_rc1.ebuild 2092 RMD160 6cd22305627c70c92b9cc4a0e479639059cd335f SHA1 b3feacafccb9cbc715a6d054c1b10deb25b64550 SHA256 c40e779d883640331c08870b86eb87e9fff48606c6bf1bee21919d7abaec7b65
+MD5 4cc0e4aca5eada035df378ccea5c787a vdr-xineliboutput-1.0.0_rc1.ebuild 2092
+RMD160 6cd22305627c70c92b9cc4a0e479639059cd335f vdr-xineliboutput-1.0.0_rc1.ebuild 2092
+SHA256 c40e779d883640331c08870b86eb87e9fff48606c6bf1bee21919d7abaec7b65 vdr-xineliboutput-1.0.0_rc1.ebuild 2092
+MISC ChangeLog 5231 RMD160 e67b7df8b4f7899f645fb98c852e27afecf1b25f SHA1 76b8a4c91982f9c7925f33e9a344751b31abc353 SHA256 72af7d7ad8ac961d6e76344990bafc01ad8ae5ebbc29e67533123fb874f0e39f
+MD5 0368fb2bbf5aceb94e1db55255b0be0f ChangeLog 5231
+RMD160 e67b7df8b4f7899f645fb98c852e27afecf1b25f ChangeLog 5231
+SHA256 72af7d7ad8ac961d6e76344990bafc01ad8ae5ebbc29e67533123fb874f0e39f ChangeLog 5231
MISC metadata.xml 353 RMD160 8098dcdec4e7d627012ff4cc0e1a70fc0061228e SHA1 a8466ebe913ea08351d9415bca28ee107e54a7cb SHA256 48731babb71989233956af5f82f8bd1b24625eab7b26493e43d753621c9ec359
MD5 3ca7be3c0a30822246151344759d8d7e metadata.xml 353
RMD160 8098dcdec4e7d627012ff4cc0e1a70fc0061228e metadata.xml 353
MD5 8ffaf661902e70358b10df1de6208d66 files/digest-vdr-xineliboutput-1.0.0_pre7_p20070129 310
RMD160 93a2d991713f752e0c5f6bd1a42959ea5f6a0438 files/digest-vdr-xineliboutput-1.0.0_pre7_p20070129 310
SHA256 64ab574f2c3098ecb77f81b121a0e74994778c583984b14a02b6066269d3891d files/digest-vdr-xineliboutput-1.0.0_pre7_p20070129 310
+MD5 fc787942acecc3f12bd5877754618596 files/digest-vdr-xineliboutput-1.0.0_rc1 271
+RMD160 adb904fedea25db1a461188565362174458fc28d files/digest-vdr-xineliboutput-1.0.0_rc1 271
+SHA256 558673581dba1aa582ca09a2fa21d46406f55e3105954c2558d781a56054f417 files/digest-vdr-xineliboutput-1.0.0_rc1 271
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
+Version: GnuPG v2.0.3 (GNU/Linux)
-iD8DBQFF5zslt2vP6XvVdOcRAgDxAKDSXMIB5qd4ZRTkZmyW/x/n/CF3sQCgox+r
-Knwtk6ITu3h3Qd2BVl8Iaiw=
-=JZuf
+iD8DBQFF/Pbwt2vP6XvVdOcRAu+wAKCAZGeasT0sN/WMTdWmTqDvyqlvbQCg5Qrd
+IF5MRI9FPcrdr4Kld2muRJQ=
+=aZjM
-----END PGP SIGNATURE-----
--- /dev/null
+# 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
+}