# 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.7 2006/08/28 14:14:15 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.8 2006/09/07 19:12:43 zzam Exp $
+
+*vdr-xineliboutput-1.0.0_pre4 (07 Sep 2006)
+
+ 07 Sep 2006; Matthias Schwarzott <zzam@gentoo.org>
+ +vdr-xineliboutput-1.0.0_pre4.ebuild:
+ Added use-flags to selectively enable X11 and fbdev support, suggested by
+ Lucian Muresan <lucianm@users.sourceforge.net>.
*vdr-xineliboutput-1.0.0_pre3 (28 Aug 2006)
Hash: SHA1
DIST vdr-xineliboutput-1.0.0pre3.tgz 201048 RMD160 92dbef06aebb6a58b7efd40d344a39b8223e43e3 SHA1 1a769b8d803fcc919dc2a4ba540e772e0ba96c03 SHA256 84f1531d651d1f73faf8b16aea89e00a2f796963bc46e52959c29d06c57685fa
+DIST vdr-xineliboutput-1.0.0pre4.tgz 206483 RMD160 ed985c51aa53a3c798efdc4e43f3983ceda4536b SHA1 a02eaa34c187b5160a21116801f5b136828550bf SHA256 21c9ec2e8205f00138990e14663cc3fe2ae7d0540cf0aa62fbd0183e44e9abf0
EBUILD vdr-xineliboutput-1.0.0_pre3.ebuild 1630 RMD160 a2a42da4430c74c4deb0bd690c2906cdaabdc370 SHA1 bc9072ef4a581dda4d93a0c8fd1f6473bf582511 SHA256 9d900c0e141af6f9329643f0ade1df71b8c69f10eab7dfd7277a0a40d79b262b
MD5 648d15eff996cf87b592b7701180f44a vdr-xineliboutput-1.0.0_pre3.ebuild 1630
RMD160 a2a42da4430c74c4deb0bd690c2906cdaabdc370 vdr-xineliboutput-1.0.0_pre3.ebuild 1630
SHA256 9d900c0e141af6f9329643f0ade1df71b8c69f10eab7dfd7277a0a40d79b262b vdr-xineliboutput-1.0.0_pre3.ebuild 1630
-MISC ChangeLog 2199 RMD160 d71e94a3f9a1af52a406ed61c663bdf718873d3d SHA1 8823bb1b507023888faff607e0593dbe297fec85 SHA256 afcfa69383f950f613d16eac80c85ae0455e01e4c71ec589339cf83225c7fd95
-MD5 389bf08dca36fcb80accd0e957240b1d ChangeLog 2199
-RMD160 d71e94a3f9a1af52a406ed61c663bdf718873d3d ChangeLog 2199
-SHA256 afcfa69383f950f613d16eac80c85ae0455e01e4c71ec589339cf83225c7fd95 ChangeLog 2199
+EBUILD vdr-xineliboutput-1.0.0_pre4.ebuild 1918 RMD160 728d48c8a8a963ed5289d6998e43f0d9b7c7849c SHA1 0c148f420db68d46038b9ebeadce912efe7cb4c0 SHA256 01dbccf2f205c758a1daf8b31246d905d336e30c22898032af4207d0812bd2d3
+MD5 b3ed9577761174759d00ff9f28c3a4c5 vdr-xineliboutput-1.0.0_pre4.ebuild 1918
+RMD160 728d48c8a8a963ed5289d6998e43f0d9b7c7849c vdr-xineliboutput-1.0.0_pre4.ebuild 1918
+SHA256 01dbccf2f205c758a1daf8b31246d905d336e30c22898032af4207d0812bd2d3 vdr-xineliboutput-1.0.0_pre4.ebuild 1918
+MISC ChangeLog 2464 RMD160 9bff9170fa6bf283be2715a23a8ef314a14a24fb SHA1 f30631c7d583fbce0f231d608a4993055da6fdfb SHA256 0ce5b23a29850591a8f851966c3f791cfd9e0a4eb31814a788f51d433a912313
+MD5 e759374ff5b53ee77c04a03a62a696d3 ChangeLog 2464
+RMD160 9bff9170fa6bf283be2715a23a8ef314a14a24fb ChangeLog 2464
+SHA256 0ce5b23a29850591a8f851966c3f791cfd9e0a4eb31814a788f51d433a912313 ChangeLog 2464
MISC metadata.xml 353 RMD160 8098dcdec4e7d627012ff4cc0e1a70fc0061228e SHA1 a8466ebe913ea08351d9415bca28ee107e54a7cb SHA256 48731babb71989233956af5f82f8bd1b24625eab7b26493e43d753621c9ec359
MD5 3ca7be3c0a30822246151344759d8d7e metadata.xml 353
RMD160 8098dcdec4e7d627012ff4cc0e1a70fc0061228e metadata.xml 353
MD5 0ad6ff87b76139ed0a49e6ca55748395 files/digest-vdr-xineliboutput-1.0.0_pre3 274
RMD160 f1dbaa247c10ccb681b6b218246a72fbb268a0f8 files/digest-vdr-xineliboutput-1.0.0_pre3 274
SHA256 b1c82a3033c74dc6410e5a87ca7d90002d61ccd54d020271dec55896666cb845 files/digest-vdr-xineliboutput-1.0.0_pre3 274
+MD5 a071c62537c03c1b254e914bb25255f2 files/digest-vdr-xineliboutput-1.0.0_pre4 274
+RMD160 fb87af3549e3e8a78069c711655d7951b73518b3 files/digest-vdr-xineliboutput-1.0.0_pre4 274
+SHA256 2cb492889a004ab4470f35445d08ae1992f5d3970695f76329f4bb5198309993 files/digest-vdr-xineliboutput-1.0.0_pre4 274
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE8vpEt2vP6XvVdOcRAgXDAKCdnu7N4aGueFC6oRK+YdmSXuOzhACfQ52N
-w/q2Nf+CUmufmUK6o9rpEso=
-=z3y+
+iD8DBQFFAG81t2vP6XvVdOcRAm6iAKDSHUWpksvGJE/DyGYMfOt5PyVSqACaAhMI
+otuoFp/9F0t6mtCTPTPwIxc=
+=80we
-----END PGP SIGNATURE-----
--- /dev/null
+# 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_pre4.ebuild,v 1.1 2006/09/07 19:12:43 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}
+
+pkg_setup() {
+ vdr-plugin_pkg_setup
+
+ XINE_LIB_VERSION=$(awk -F'"' '/XINE_VERSION/ {print $2}' /usr/include/xine.h)
+ BUILD_PARAMS="XINELIBOUTPUT_VDRPLUGIN=1 XINELIBOUTPUT_XINEPLUGIN=1"
+ use fbcon && BUILD_PARAMS="${BUILD_PARAMS} XINELIBOUTPUT_FB=1"
+ use X && BUILD_PARAMS="${BUILD_PARAMS} XINELIBOUTPUT_X11=1"
+}
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ cd ${S}
+ # disable hardcoded detect-routine to set options via make-command-line
+ sed -i.orig Makefile -e '/^[[:space:]]*XINELIBOUTPUT_\(FB\|X11\|XINEPLUGIN\)/s/^/#/'
+
+ # 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 *.so.${MY_PV}
+
+ insinto /usr/$(get_libdir)/xine/plugins/${XINE_LIB_VERSION}
+ doins xineplug_inp_xvdr.so
+}