commit:     6a9cbc75c8b56dc7000eb8ca0017313666b4087a
Author:     Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  6 09:14:48 2017 +0000
Commit:     Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
CommitDate: Sun Aug  6 09:24:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9cbc75

media-plugins/vdr-xineliboutput: bump to version 2.0.0

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-plugins/vdr-xineliboutput/Manifest           |   1 +
 .../vdr-xineliboutput-2.0.0.ebuild                 | 143 +++++++++++++++++++++
 2 files changed, 144 insertions(+)

diff --git a/media-plugins/vdr-xineliboutput/Manifest 
b/media-plugins/vdr-xineliboutput/Manifest
index 96e6f45f3b6..5caf5ecf72e 100644
--- a/media-plugins/vdr-xineliboutput/Manifest
+++ b/media-plugins/vdr-xineliboutput/Manifest
@@ -1,3 +1,4 @@
 DIST vdr-xineliboutput-1.1.0.tgz 404820 SHA256 
bddebfbf77e956a50faea1baa44513a31122961357bc502b588c521358da77d3 SHA512 
255ae698c1dc9d9098847e62c386a6bd24ec1dc822fb695600ef944e18d0febfac0d5b487de57a17ea9f9bd3935d1d11763a06a5daa527ce95f9557a408c264d
 WHIRLPOOL 
be47aeb039bb69e85a0f964940b3173f4371ae911d58df76c6e0135b9843471cd21b27efdfc95001216a508c0bbdc1e4957cb0d50da1a3c49e7c4ba7dd24e55c
+DIST vdr-xineliboutput-2.0.0.tgz 413085 SHA256 
d406bd9efbcdde92c6d28131210c508e0a1cd218d57318a3d20978065107656b SHA512 
9410072bcd8ae71196e3417c12dc810da109f155748d58b3b0b422cd6d8cd29b3f8a7d0cbffada9dd22af679161ffeb096e952f620ed1c7f1122b46bf111f9ee
 WHIRLPOOL 
6d073611eb9fbb8198bf75a2b36cc571630fbdf8b500a5b3d6df75ab58cb84cd37e3dea1d2f27850245f3b99063fa44655da00bc4aba9c1e7e4e586c325f68ac
 DIST vdr-xineliboutput-2.0.0_p20150220.tar.xz 326520 SHA256 
5fac9ed279ab2d5a9a4697a1745560901887fd60a9b1dbdd04f6d8ee5d2dccbf SHA512 
8e3a6fe4dad4875b1e2d2c6667e1c5d8f4542742fb74c40148aa5dc403b86743c32a49e1fb0979a59c312aaff4c038347f934105b0ca8d3097b61c59021966f3
 WHIRLPOOL 
cb8958ec5bc2ff76544791e2362b3f89ed9cb4f9e905052fb6b7f42f341399d8ed112694a69205c1759b49f23b1416892e7f70a73816f9d630004d7aebf6fcfa
 DIST xineliboutput-2.0.0_p20130821.tar.bz2 356633 SHA256 
3ccff26c1112267e12858bbacd1d9081c999881da77c0da91f1fcc525cc225e9 SHA512 
ee25447749dc5b8fe93da3c021823f8dd552619d64575525918c15447135af0d6684e613b20a1aa99a1fd8bd5334344ea03962ab75bbbffb0204d92adf36f9ed
 WHIRLPOOL 
1feabc1f333593fb194065d1a62a0da80374a6c9714c8e1af4623e047ed4f0ef6c5433e8401f072e7c4a460830c2d1b902ce2a78f7ecad5e8533b159eda6db00

diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild 
b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild
new file mode 100644
index 00000000000..570df0c7c24
--- /dev/null
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+GENTOO_VDR_CONDITIONAL=yes
+
+DESCRIPTION="VDR Plugin: Xinelib PlugIn"
+HOMEPAGE="https://sourceforge.net/projects/xineliboutput/";
+SRC_URI="mirror://sourceforge/${PN#vdr-}/${P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine 
xinerama"
+
+COMMON_DEPEND="
+       vdr? (
+               >=media-video/vdr-1.6.0
+               libextractor? ( >=media-libs/libextractor-0.5.20 )
+               caps? ( sys-libs/libcap )
+       )
+
+       xine? (
+               ( >=media-libs/xine-lib-1.2
+                       virtual/ffmpeg )
+               fbcon? ( jpeg? ( virtual/jpeg:* ) )
+               X? (
+                       x11-libs/libX11
+                       x11-libs/libXext
+                       x11-libs/libXrender
+                       xinerama? ( x11-libs/libXinerama )
+                       dbus? ( dev-libs/dbus-glib dev-libs/glib:2 )
+                       vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 )
+                       jpeg? ( virtual/jpeg:* )
+                       bluray? ( media-libs/libbluray )
+                       opengl? ( virtual/opengl )
+               )
+       )"
+
+DEPEND="${COMMON_DEPEND}
+       virtual/pkgconfig
+       sys-kernel/linux-headers
+       nls? ( sys-devel/gettext )
+       xine? (
+               X? (
+                       x11-proto/xproto
+                       x11-libs/libXxf86vm
+               )
+       )"
+RDEPEND="${COMMON_DEPEND}"
+
+REQUIRED_USE=" || ( vdr xine )"
+
+VDR_CONFD_FILE="${FILESDIR}/confd-2.0.0"
+
+pkg_setup() {
+       vdr-plugin-2_pkg_setup
+
+       if use xine; then
+               XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine)
+               [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin 
dir"
+       fi
+}
+
+src_configure() {
+       local myconf
+
+       if has_version ">=media-libs/xine-lib-1.2"; then
+               myconf="${myconf} --enable-libavutil"
+       else
+               myconf="${myconf} --disable-libavutil"
+       fi
+
+       # No autotools based configure script
+       ./configure \
+               --cc=$(tc-getCC) \
+               --cxx=$(tc-getCXX) \
+               $(use_enable X x11) \
+               $(use_enable X xshm) \
+               $(use_enable X xdpms) \
+               $(use_enable X xshape) \
+               $(use_enable X xrender) \
+               $(use_enable fbcon fb) \
+               $(use_enable vdr) \
+               $(use_enable xine libxine) \
+               $(use_enable libextractor) \
+               $(use_enable caps libcap) \
+               $(use_enable jpeg libjpeg) \
+               $(use_enable xinerama) \
+               $(use_enable vdpau) \
+               $(use_enable dbus dbus-glib-1) \
+               $(use_enable nls i18n) \
+               $(use_enable bluray libbluray) \
+               $(use_enable opengl) \
+               ${myconf} \
+               || die
+}
+
+src_install() {
+       if use vdr; then
+               vdr-plugin-2_src_install
+
+               # bug 346989
+               insinto /etc/vdr/plugins/xineliboutput/
+               doins examples/allowed_hosts.conf
+               fowners -R vdr:vdr /etc/vdr/
+
+               if use nls; then
+                       emake DESTDIR="${D}" i18n
+               fi
+
+               if use xine; then
+                       doinitd "${FILESDIR}"/vdr-frontend
+
+                       insinto $XINE_PLUGIN_DIR
+                       doins xineplug_inp_xvdr.so
+
+                       insinto $XINE_PLUGIN_DIR/post
+                       doins xineplug_post_*.so
+
+                       if use fbcon; then
+                               dobin vdr-fbfe
+
+                               insinto $VDR_PLUGIN_DIR
+                               doins libxineliboutput-fbfe.so.*
+                       fi
+
+                       if use X; then
+                               dobin vdr-sxfe
+
+                               insinto $VDR_PLUGIN_DIR
+                               doins libxineliboutput-sxfe.so.*
+                       fi
+               fi
+       else
+               emake DESTDIR="${D}" install
+
+               dodoc HISTORY README
+       fi
+}

Reply via email to