diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2008-04-24 20:03:29 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2008-04-24 20:03:29 +0000 |
commit | 108682891fb07ed2b370c96b057fcbdf8733f5e9 (patch) | |
tree | 7284523c390838fbbc1ee0a6e582c38de3a243aa /media-plugins/vdr-xineliboutput | |
parent | Added local use-flag media-plugins/vdr-xineliboutput:libextractor. (diff) | |
download | historical-108682891fb07ed2b370c96b057fcbdf8733f5e9.tar.gz historical-108682891fb07ed2b370c96b057fcbdf8733f5e9.tar.bz2 historical-108682891fb07ed2b370c96b057fcbdf8733f5e9.zip |
Version bumped. Changes based on ebuild from mpz in #gentoo-vdr.
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'media-plugins/vdr-xineliboutput')
-rw-r--r-- | media-plugins/vdr-xineliboutput/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/vdr-xineliboutput/Manifest | 10 | ||||
-rw-r--r-- | media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild | 111 |
3 files changed, 124 insertions, 5 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog index fd8364956d7b..b6049cdf9519 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-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.37 2008/04/18 20:40:16 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.38 2008/04/24 20:03:29 zzam Exp $ + +*vdr-xineliboutput-1.0.0 (24 Apr 2008) + + 24 Apr 2008; Matthias Schwarzott <zzam@gentoo.org> + +vdr-xineliboutput-1.0.0.ebuild: + Version bumped. Changes based on ebuild from mpz in #gentoo-vdr. 18 Apr 2008; Matthias Schwarzott <zzam@gentoo.org> vdr-xineliboutput-1.0.0_rc2.ebuild: diff --git a/media-plugins/vdr-xineliboutput/Manifest b/media-plugins/vdr-xineliboutput/Manifest index 2f77d3d0ca1e..4a9489f36cf9 100644 --- a/media-plugins/vdr-xineliboutput/Manifest +++ b/media-plugins/vdr-xineliboutput/Manifest @@ -4,19 +4,21 @@ Hash: SHA1 AUX confd-1.0.0_pre6 856 RMD160 0d48271fe6041316f7ad95267f180f896b76c78b SHA1 5d4591f1a2525cdebbda53636c1138cf3563e592 SHA256 fd30a70c06553463414e93771306a59fdabbcf674218dac49d4af46096d6089b AUX vdr-xineliboutput-1.0.0_rc2-vdr-1.5.3.diff 712 RMD160 520c285cb48887ae496d12a598cf356bf9b02843 SHA1 b77920e533d878e445847b9520d4653280c4b3b5 SHA256 a453eb5692f6e85bec1cc7297dd61e25405fac09a01504508262aa7f5246d668 AUX vdr-xineliboutput-1.0.0_rc2-vdr-1.5.9.diff 2852 RMD160 58f70d95046ae634fa2415643a05df2a395d7cf0 SHA1 4376acebfeed2c9ea35e076778a89c217da15ddb SHA256 6ac4301424dbeaf1227004824e744af3067e4fd69d8f8c6ce1ea187c5f303e09 +DIST vdr-xineliboutput-1.0.0-1.tgz 322775 RMD160 2d75a834cc7fb87daf50e4232a49103482820994 SHA1 878ac2cd9a95010521325a54e8a12f26cd54d7a9 SHA256 fb1975fbe1fe0772907f6d3fe70694ab12b54d537e06d440a6685a34c2deaefd DIST vdr-xineliboutput-1.0.0rc1.tgz 263435 RMD160 cd6d0ba5271c40be814b9dff2d6c929872138521 SHA1 051239137b7a6598863172cbcb4fcb186a5ae198 SHA256 367f6113aa8d762be7f28d758af11111d62ed9c85d89d897582c8fb954d44a6f DIST vdr-xineliboutput-1.0.0rc2.tgz 266010 RMD160 406e48f343258c07e337460754181cd10c180b29 SHA1 867c090a3fd1c8d8c78d7021b2eef0821c71b776 SHA256 e92f2bbc67acd6b5d16ff249055848c0afd4dea04b62e7323c2b2230c8826d08 DIST vdr-xineliboutput-cvs-20080120.tar.bz2 244376 RMD160 2256079c9a2cbab5fd4f47232aaee282ca4b7d57 SHA1 d8ba0f859b3be5ffe5f8fb37518996bb6b6082ef SHA256 54aa155c79a23669e9bb6f376846012a008ec13cd3f05e48bdae7acc9f6e155e +EBUILD vdr-xineliboutput-1.0.0.ebuild 2509 RMD160 f090ce16a09d265acdb803127b42ac84041cf758 SHA1 67ebbe758173d218477df6817a2794ac7953bdbb SHA256 286f368adc9a1d9d91fee9a9ff5152eb6df9424d65a54adc2c6d27baebe7a0c5 EBUILD vdr-xineliboutput-1.0.0_rc1.ebuild 2009 RMD160 ce783135d9b4db3497c5bff020b85d199e0f9d7b SHA1 40e363ccc09450f0dc94f586d47cfdeb0e7f4cc1 SHA256 882e66a2629ecb2de41f6b71085b8006a2ad9e98dbbea924e5a26b96685be7f9 EBUILD vdr-xineliboutput-1.0.0_rc2.ebuild 2107 RMD160 cdc0b11c5c24f017e5d7936faeac5e255c41ec35 SHA1 0a92a7baa79c18228af82f68cdcc96ace486c95f SHA256 64ce7424cfa3d576a32ac08fa667bf3cc77772f08cfbc7315fd8b43b55e4c3a9 EBUILD vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild 2532 RMD160 45a07a3b2b377c278cf57155560f750891337341 SHA1 5065d79a5591b233a4d633a27549b62c3b60693d SHA256 5a6b570ba6adeccd58924e046f5af4ba89af05e6f34f2e585c1e3872f0ef2a9e EBUILD vdr-xineliboutput-1.0.0_rc2_p20080120.ebuild 2355 RMD160 77087b90ccb62f7e5aebdbde06186c44a5efef28 SHA1 214864c4dc0bc07a1a35e19ec710f08e4fb0446a SHA256 cb04940896bb094eff04bfa946a70cdd9acdfa965137e25e6a0c7aa80447dade -MISC ChangeLog 7973 RMD160 1f1a3c3d2d6606940c6e9c68f8f52bdcc564be17 SHA1 805b8c85b2aca80470b0adce0200088a10198ea7 SHA256 5d882a8eb898815b76c88cc749504582b657d2725c493bf63eeb9185a2fa6480 +MISC ChangeLog 8169 RMD160 e1e6cdd4f6ac09befab927f70d448fcafc6f85ad SHA1 5852b458f1595a64d1814392534018a088149d06 SHA256 41fc5f1dca15d75bd0684f9bee063bcadf19c52b32fba48c6355621c5547d882 MISC metadata.xml 353 RMD160 8098dcdec4e7d627012ff4cc0e1a70fc0061228e SHA1 a8466ebe913ea08351d9415bca28ee107e54a7cb SHA256 48731babb71989233956af5f82f8bd1b24625eab7b26493e43d753621c9ec359 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkgJBzYACgkQt2vP6XvVdOfWdQCgixWgG1z9fAlbcncasjmRBBDB -/pMAn3uZrRgvJOTjMunjiVzEWr/bLEPD -=qKhR +iEYEARECAAYFAkgQ55cACgkQt2vP6XvVdOdHxQCfSCXey0ZjTm0kuuoCuQed92U9 +oVcAn2/BQajgG2H+5s1CQ1KE4jfm4xjz +=kxiw -----END PGP SIGNATURE----- diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild new file mode 100644 index 000000000000..48c4fc052a96 --- /dev/null +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2008 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.ebuild,v 1.1 2008/04/24 20:03:29 zzam Exp $ + +inherit vdr-plugin eutils multilib versionator + +MY_PV=${PV/_/} +MY_P=${PN}-${MY_PV} + +SO_VERSION="${PV%_p*}" +SO_VERSION="${SO_VERSION/_/}" + +DESCRIPTION="Video Disk Recorder Xinelib PlugIn" +HOMEPAGE="http://sourceforge.net/projects/xineliboutput/" +SRC_URI="mirror://sourceforge/${PN#vdr-}/${MY_P}-1.tgz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="fbcon X libextractor" + +RDEPEND=">=media-video/vdr-1.4.0 + >=media-libs/xine-lib-1.1.1 + media-libs/jpeg + libextractor? ( >=media-libs/libextractor-0.5.20 ) + X? ( + x11-proto/xextproto + x11-proto/xf86vidmodeproto + x11-proto/xproto + x11-proto/renderproto + )" + +DEPEND="${RDEPEND} + sys-kernel/linux-headers + X? ( + x11-libs/libX11 + x11-libs/libXv + x11-libs/libXext + x11-libs/libXrender + )" + +S=${WORKDIR}/${MY_P#vdr-} + +VDR_CONFD_FILE=${FILESDIR}/confd-1.0.0_pre6 + +NO_GETTEXT_HACK=1 + +use_onoff() { + if use "$1"; then + echo 1 + else + echo 0 + fi +} + +src_unpack() { + vdr-plugin_src_unpack + + cd "${S}" + + XINE_PLUGIN_DIR=$(xine-config --plugindir) + if [[ ${XINE_PLUGIN_DIR} = "" ]]; then + eerror "Could not find xine plugin dir" + die "Could not find xine plugin dir" + fi + # stop some automagic overwriting the stuff we set + sed -e '/XINELIBOUTPUT_VDRPLUGIN = 1/s/^/#/' \ + -e '/HAVE_EXTRACTOR_H = 1/s/^/#/' \ + -i Makefile + + cat >>Make.config <<-EOF + XINELIBOUTPUT_XINEPLUGIN = 1 + XINELIBOUTPUT_VDRPLUGIN = 1 + + XINELIBOUTPUT_FB = $(use_onoff fbcon) + XINELIBOUTPUT_X11 = $(use_onoff X) + + HAVE_XRENDER = 1 + HAVE_XDPMS = 1 + HAVE_EXTRACTOR_H = $(use_onoff libextractor) + EOF + + # 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 + + use fbcon && dobin vdr-fbfe + use X && dobin vdr-sxfe + + # There may be no sub-plugin, depending on use-flags + insinto ${VDR_PLUGIN_DIR} + local f + for f in libxineliboutput*.so.${SO_VERSION}; do + [[ -f "$f" ]] || continue + doins "${f}" || die "could not install sub-plugin ${f}" + done + + insinto "${XINE_PLUGIN_DIR}" + doins xineplug_inp_*.so + + insinto "${XINE_PLUGIN_DIR}"/post + doins xineplug_post_*.so +} |