1 |
commit: 9ff9335c2b024f4c49f20c9ddb8066dd8a661f45 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 25 19:29:08 2016 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 25 19:55:40 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ff9335c |
7 |
|
8 |
media-plugins/gst-plugins-opus: Properly split again |
9 |
|
10 |
... instead of building as part of gst-plugins-base[opus]. |
11 |
This makes gst-plugins-opus a split of -base instead of -bad as it |
12 |
was moved from -base to -bad with some leftovers in -bad. |
13 |
The ext/opus/ leftover part in gst-plugins-bad is not necessary |
14 |
for anything and we can safely not package that at all. |
15 |
This should give a nicer upgrade path for stable opus plugin users. |
16 |
|
17 |
Gentoo-bug: 589440 |
18 |
|
19 |
.../gst-plugins-base-1.8.3-r1.ebuild | 87 ++++++++++++++++++++++ |
20 |
media-plugins/gst-plugins-opus/Manifest | 1 + |
21 |
.../gst-plugins-opus-1.8.3-r1.ebuild | 27 +++++++ |
22 |
3 files changed, 115 insertions(+) |
23 |
|
24 |
diff --git a/media-libs/gst-plugins-base/gst-plugins-base-1.8.3-r1.ebuild b/media-libs/gst-plugins-base/gst-plugins-base-1.8.3-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000..0b26be7 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/gst-plugins-base/gst-plugins-base-1.8.3-r1.ebuild |
29 |
@@ -0,0 +1,87 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=6 |
35 |
+GST_ORG_MODULE="gst-plugins-base" |
36 |
+ |
37 |
+inherit gstreamer |
38 |
+ |
39 |
+DESCRIPTION="Basepack of plugins for gstreamer" |
40 |
+HOMEPAGE="https://gstreamer.freedesktop.org/" |
41 |
+ |
42 |
+LICENSE="GPL-2+ LGPL-2+" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
44 |
+ |
45 |
+IUSE="alsa +introspection ivorbis +ogg +orc +pango theora +vorbis X" |
46 |
+REQUIRED_USE=" |
47 |
+ ivorbis? ( ogg ) |
48 |
+ theora? ( ogg ) |
49 |
+ vorbis? ( ogg ) |
50 |
+" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ app-text/iso-codes |
54 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
55 |
+ >=media-libs/gstreamer-${PV}:1.0[introspection?,${MULTILIB_USEDEP}] |
56 |
+ >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] |
57 |
+ alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) |
58 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
59 |
+ ivorbis? ( >=media-libs/tremor-0_pre20130223[${MULTILIB_USEDEP}] ) |
60 |
+ ogg? ( >=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}] ) |
61 |
+ orc? ( >=dev-lang/orc-0.4.23[${MULTILIB_USEDEP}] ) |
62 |
+ pango? ( >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] ) |
63 |
+ theora? ( >=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}] ) |
64 |
+ vorbis? ( >=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}] ) |
65 |
+ X? ( |
66 |
+ >=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}] |
67 |
+ >=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}] |
68 |
+ >=x11-libs/libXv-1.0.10[${MULTILIB_USEDEP}] ) |
69 |
+" |
70 |
+DEPEND="${RDEPEND} |
71 |
+ >=dev-util/gtk-doc-am-1.12 |
72 |
+ X? ( |
73 |
+ >=x11-proto/videoproto-2.3.1-r1[${MULTILIB_USEDEP}] |
74 |
+ >=x11-proto/xextproto-7.2.1-r1[${MULTILIB_USEDEP}] |
75 |
+ >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}] ) |
76 |
+" |
77 |
+ |
78 |
+multilib_src_configure() { |
79 |
+ gstreamer_multilib_src_configure \ |
80 |
+ $(use_enable alsa) \ |
81 |
+ $(multilib_native_use_enable introspection) \ |
82 |
+ $(use_enable ivorbis) \ |
83 |
+ $(use_enable ogg) \ |
84 |
+ $(use_enable orc) \ |
85 |
+ $(use_enable pango) \ |
86 |
+ $(use_enable theora) \ |
87 |
+ $(use_enable vorbis) \ |
88 |
+ $(use_enable X x) \ |
89 |
+ $(use_enable X xshm) \ |
90 |
+ $(use_enable X xvideo) \ |
91 |
+ --disable-debug \ |
92 |
+ --disable-examples \ |
93 |
+ --disable-static |
94 |
+ # cdparanoia and libvisual are split out, per leio's request |
95 |
+ |
96 |
+ # bug #366931, flag-o-matic for the whole thing is overkill |
97 |
+ if [[ ${CHOST} == *86-*-darwin* ]] ; then |
98 |
+ sed -i \ |
99 |
+ -e '/FLAGS = /s|-O[23]|-O1|g' \ |
100 |
+ gst/audioconvert/Makefile \ |
101 |
+ gst/volume/Makefile || die |
102 |
+ fi |
103 |
+ |
104 |
+ if multilib_is_native_abi; then |
105 |
+ local x |
106 |
+ for x in libs plugins; do |
107 |
+ ln -s "${S}"/docs/${x}/html docs/${x}/html || die |
108 |
+ done |
109 |
+ fi |
110 |
+} |
111 |
+ |
112 |
+multilib_src_install_all() { |
113 |
+ DOCS="AUTHORS NEWS README RELEASE" |
114 |
+ einstalldocs |
115 |
+ prune_libtool_files --modules |
116 |
+} |
117 |
|
118 |
diff --git a/media-plugins/gst-plugins-opus/Manifest b/media-plugins/gst-plugins-opus/Manifest |
119 |
index 8dc3a91..8f30b44 100644 |
120 |
--- a/media-plugins/gst-plugins-opus/Manifest |
121 |
+++ b/media-plugins/gst-plugins-opus/Manifest |
122 |
@@ -3,3 +3,4 @@ DIST gst-plugins-bad-1.4.5.tar.xz 3824936 SHA256 152fad7250683d72f9deb36c5685428 |
123 |
DIST gst-plugins-bad-1.6.3.tar.xz 4216940 SHA256 971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61 SHA512 0a3a1d3617f167e69c20db3fccf7af0c4983b8012136093dcc3d08c059d0d8687cf921309c91f94afb250e0c3b9f9ff397a98ff548ca83dc12ae762119ffc915 WHIRLPOOL eb1f1376ee9b36da09f93b14d587169a007578f7cfdce3981ae905638c28f32b85a2f2667fc347f0b9ff4aaa51512f9726377c9ab3c73040886eab9a09833612 |
124 |
DIST gst-plugins-bad-1.8.2.tar.xz 4455536 SHA256 d7995317530c8773ec088f94d9320909d41da61996b801ebacce9a56af493f97 SHA512 0b8a7df6b60f24655b463dedae71de6c92dbbbc3bdf42f4b722caaee17cd701ae3c078a2ca81a9d6568123aeade20a8a3759f72a7a9806f4533375d61ab028b6 WHIRLPOOL a7af68b86bfff8c19683dd5afaaed6ea627b6d2fa54103ccc1310909ff500d36ee2c72a5bd66f2074f2bcf9f8292733dd09101ece26c47b54a18598364e39415 |
125 |
DIST gst-plugins-bad-1.8.3.tar.xz 4500300 SHA256 7899fcb18e6a1af2888b19c90213af018a57d741c6e72ec56b133bc73ec8509b SHA512 3676903fea7a5b078187c3b295208bc24b567ba4e965035db603cf8106e34ca619668253ff4320b192c4e3d1698572e6591bf7fb7253bd2399e7986711bb85c4 WHIRLPOOL 7dbe853dd83b15c33a78da1cbe43d121dd92e90b9b0016ba8f77fbc8f4b6c4167fd508ed9ae0370c03a2b548a765539ed7a45e5dd0418bb6f66d789e133ee7c5 |
126 |
+DIST gst-plugins-base-1.8.3.tar.xz 2939464 SHA256 114871d4d63606b4af424a8433cd923e4ff66896b244bb7ac97b9da47f71e79e SHA512 9fe88b73fe85be8614340f65515900998bdee010ebc39d6d4286b7ba39a82b75e58da76dc15e23fae7f228f4efa51c68935e2515ccc367d13dd68e173cf1ae0c WHIRLPOOL 83a41208b37582c8fc3bddbb66916052486f6c3b175f7568bd48dff494c81f219d1273ebdd192c22fad21942b8dbf8a212e9a5b4f5df348efb2058a77bc9a4f1 |
127 |
|
128 |
diff --git a/media-plugins/gst-plugins-opus/gst-plugins-opus-1.8.3-r1.ebuild b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.8.3-r1.ebuild |
129 |
new file mode 100644 |
130 |
index 00000000..f4f2e1a |
131 |
--- /dev/null |
132 |
+++ b/media-plugins/gst-plugins-opus/gst-plugins-opus-1.8.3-r1.ebuild |
133 |
@@ -0,0 +1,27 @@ |
134 |
+# Copyright 1999-2016 Gentoo Foundation |
135 |
+# Distributed under the terms of the GNU General Public License v2 |
136 |
+# $Id$ |
137 |
+ |
138 |
+EAPI=6 |
139 |
+GST_ORG_MODULE=gst-plugins-base |
140 |
+ |
141 |
+inherit gstreamer |
142 |
+ |
143 |
+DESCRIPTION="Opus audio parser plugin for GStreamer" |
144 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd" |
145 |
+IUSE="" |
146 |
+ |
147 |
+COMMON_DEPEND=">=media-libs/opus-1.1:=[${MULTILIB_USEDEP}]" |
148 |
+ |
149 |
+RDEPEND="${COMMON_DEPEND} |
150 |
+ >=media-libs/gst-plugins-base-${PV}-r1:${SLOT}[${MULTILIB_USEDEP},ogg] |
151 |
+" |
152 |
+DEPEND="${COMMON_DEPEND}" |
153 |
+ |
154 |
+src_prepare() { |
155 |
+ default |
156 |
+ gstreamer_system_link \ |
157 |
+ gst-libs/gst/tag:gstreamer-tag \ |
158 |
+ gst-libs/gst/pbutils:gstreamer-pbutils \ |
159 |
+ gst-libs/gst/audio:gstreamer-audio |
160 |
+} |