Gentoo Archives: gentoo-commits

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-xineliboutput/
Date: Sun, 06 Aug 2017 09:28:00
Message-Id: 1502011494.6a9cbc75c8b56dc7000eb8ca0017313666b4087a.zzam@gentoo
1 commit: 6a9cbc75c8b56dc7000eb8ca0017313666b4087a
2 Author: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 6 09:14:48 2017 +0000
4 Commit: Matthias Schwarzott <zzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 6 09:24:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a9cbc75
7
8 media-plugins/vdr-xineliboutput: bump to version 2.0.0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 media-plugins/vdr-xineliboutput/Manifest | 1 +
13 .../vdr-xineliboutput-2.0.0.ebuild | 143 +++++++++++++++++++++
14 2 files changed, 144 insertions(+)
15
16 diff --git a/media-plugins/vdr-xineliboutput/Manifest b/media-plugins/vdr-xineliboutput/Manifest
17 index 96e6f45f3b6..5caf5ecf72e 100644
18 --- a/media-plugins/vdr-xineliboutput/Manifest
19 +++ b/media-plugins/vdr-xineliboutput/Manifest
20 @@ -1,3 +1,4 @@
21 DIST vdr-xineliboutput-1.1.0.tgz 404820 SHA256 bddebfbf77e956a50faea1baa44513a31122961357bc502b588c521358da77d3 SHA512 255ae698c1dc9d9098847e62c386a6bd24ec1dc822fb695600ef944e18d0febfac0d5b487de57a17ea9f9bd3935d1d11763a06a5daa527ce95f9557a408c264d WHIRLPOOL be47aeb039bb69e85a0f964940b3173f4371ae911d58df76c6e0135b9843471cd21b27efdfc95001216a508c0bbdc1e4957cb0d50da1a3c49e7c4ba7dd24e55c
22 +DIST vdr-xineliboutput-2.0.0.tgz 413085 SHA256 d406bd9efbcdde92c6d28131210c508e0a1cd218d57318a3d20978065107656b SHA512 9410072bcd8ae71196e3417c12dc810da109f155748d58b3b0b422cd6d8cd29b3f8a7d0cbffada9dd22af679161ffeb096e952f620ed1c7f1122b46bf111f9ee WHIRLPOOL 6d073611eb9fbb8198bf75a2b36cc571630fbdf8b500a5b3d6df75ab58cb84cd37e3dea1d2f27850245f3b99063fa44655da00bc4aba9c1e7e4e586c325f68ac
23 DIST vdr-xineliboutput-2.0.0_p20150220.tar.xz 326520 SHA256 5fac9ed279ab2d5a9a4697a1745560901887fd60a9b1dbdd04f6d8ee5d2dccbf SHA512 8e3a6fe4dad4875b1e2d2c6667e1c5d8f4542742fb74c40148aa5dc403b86743c32a49e1fb0979a59c312aaff4c038347f934105b0ca8d3097b61c59021966f3 WHIRLPOOL cb8958ec5bc2ff76544791e2362b3f89ed9cb4f9e905052fb6b7f42f341399d8ed112694a69205c1759b49f23b1416892e7f70a73816f9d630004d7aebf6fcfa
24 DIST xineliboutput-2.0.0_p20130821.tar.bz2 356633 SHA256 3ccff26c1112267e12858bbacd1d9081c999881da77c0da91f1fcc525cc225e9 SHA512 ee25447749dc5b8fe93da3c021823f8dd552619d64575525918c15447135af0d6684e613b20a1aa99a1fd8bd5334344ea03962ab75bbbffb0204d92adf36f9ed WHIRLPOOL 1feabc1f333593fb194065d1a62a0da80374a6c9714c8e1af4623e047ed4f0ef6c5433e8401f072e7c4a460830c2d1b902ce2a78f7ecad5e8533b159eda6db00
25
26 diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild
27 new file mode 100644
28 index 00000000000..570df0c7c24
29 --- /dev/null
30 +++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-2.0.0.ebuild
31 @@ -0,0 +1,143 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +
37 +inherit vdr-plugin-2
38 +
39 +GENTOO_VDR_CONDITIONAL=yes
40 +
41 +DESCRIPTION="VDR Plugin: Xinelib PlugIn"
42 +HOMEPAGE="https://sourceforge.net/projects/xineliboutput/"
43 +SRC_URI="mirror://sourceforge/${PN#vdr-}/${P}.tgz"
44 +
45 +SLOT="0"
46 +LICENSE="GPL-2"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="bluray caps dbus fbcon jpeg libextractor nls opengl +vdr vdpau +X +xine xinerama"
49 +
50 +COMMON_DEPEND="
51 + vdr? (
52 + >=media-video/vdr-1.6.0
53 + libextractor? ( >=media-libs/libextractor-0.5.20 )
54 + caps? ( sys-libs/libcap )
55 + )
56 +
57 + xine? (
58 + ( >=media-libs/xine-lib-1.2
59 + virtual/ffmpeg )
60 + fbcon? ( jpeg? ( virtual/jpeg:* ) )
61 + X? (
62 + x11-libs/libX11
63 + x11-libs/libXext
64 + x11-libs/libXrender
65 + xinerama? ( x11-libs/libXinerama )
66 + dbus? ( dev-libs/dbus-glib dev-libs/glib:2 )
67 + vdpau? ( x11-libs/libvdpau >=media-libs/xine-lib-1.2 )
68 + jpeg? ( virtual/jpeg:* )
69 + bluray? ( media-libs/libbluray )
70 + opengl? ( virtual/opengl )
71 + )
72 + )"
73 +
74 +DEPEND="${COMMON_DEPEND}
75 + virtual/pkgconfig
76 + sys-kernel/linux-headers
77 + nls? ( sys-devel/gettext )
78 + xine? (
79 + X? (
80 + x11-proto/xproto
81 + x11-libs/libXxf86vm
82 + )
83 + )"
84 +RDEPEND="${COMMON_DEPEND}"
85 +
86 +REQUIRED_USE=" || ( vdr xine )"
87 +
88 +VDR_CONFD_FILE="${FILESDIR}/confd-2.0.0"
89 +
90 +pkg_setup() {
91 + vdr-plugin-2_pkg_setup
92 +
93 + if use xine; then
94 + XINE_PLUGIN_DIR=$(pkg-config --variable=plugindir libxine)
95 + [ -z "${XINE_PLUGIN_DIR}" ] && die "Could not find xine plugin dir"
96 + fi
97 +}
98 +
99 +src_configure() {
100 + local myconf
101 +
102 + if has_version ">=media-libs/xine-lib-1.2"; then
103 + myconf="${myconf} --enable-libavutil"
104 + else
105 + myconf="${myconf} --disable-libavutil"
106 + fi
107 +
108 + # No autotools based configure script
109 + ./configure \
110 + --cc=$(tc-getCC) \
111 + --cxx=$(tc-getCXX) \
112 + $(use_enable X x11) \
113 + $(use_enable X xshm) \
114 + $(use_enable X xdpms) \
115 + $(use_enable X xshape) \
116 + $(use_enable X xrender) \
117 + $(use_enable fbcon fb) \
118 + $(use_enable vdr) \
119 + $(use_enable xine libxine) \
120 + $(use_enable libextractor) \
121 + $(use_enable caps libcap) \
122 + $(use_enable jpeg libjpeg) \
123 + $(use_enable xinerama) \
124 + $(use_enable vdpau) \
125 + $(use_enable dbus dbus-glib-1) \
126 + $(use_enable nls i18n) \
127 + $(use_enable bluray libbluray) \
128 + $(use_enable opengl) \
129 + ${myconf} \
130 + || die
131 +}
132 +
133 +src_install() {
134 + if use vdr; then
135 + vdr-plugin-2_src_install
136 +
137 + # bug 346989
138 + insinto /etc/vdr/plugins/xineliboutput/
139 + doins examples/allowed_hosts.conf
140 + fowners -R vdr:vdr /etc/vdr/
141 +
142 + if use nls; then
143 + emake DESTDIR="${D}" i18n
144 + fi
145 +
146 + if use xine; then
147 + doinitd "${FILESDIR}"/vdr-frontend
148 +
149 + insinto $XINE_PLUGIN_DIR
150 + doins xineplug_inp_xvdr.so
151 +
152 + insinto $XINE_PLUGIN_DIR/post
153 + doins xineplug_post_*.so
154 +
155 + if use fbcon; then
156 + dobin vdr-fbfe
157 +
158 + insinto $VDR_PLUGIN_DIR
159 + doins libxineliboutput-fbfe.so.*
160 + fi
161 +
162 + if use X; then
163 + dobin vdr-sxfe
164 +
165 + insinto $VDR_PLUGIN_DIR
166 + doins libxineliboutput-sxfe.so.*
167 + fi
168 + fi
169 + else
170 + emake DESTDIR="${D}" install
171 +
172 + dodoc HISTORY README
173 + fi
174 +}