1 |
commit: 59e337331c8e8603293f6c6ad82588bd85d5f59a |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 4 11:46:12 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 4 11:46:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e33733 |
7 |
|
8 |
media-plugins/gst-plugins-libav: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
media-plugins/gst-plugins-libav/Manifest | 2 - |
14 |
...gst-plugins-libav-1.14.4.4.1.1_p20190113.ebuild | 103 -------------------- |
15 |
...gst-plugins-libav-1.14.4.4.1.2_p20190329.ebuild | 104 --------------------- |
16 |
3 files changed, 209 deletions(-) |
17 |
|
18 |
diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest |
19 |
index 4ce9e9204f9..19cf4f05cc8 100644 |
20 |
--- a/media-plugins/gst-plugins-libav/Manifest |
21 |
+++ b/media-plugins/gst-plugins-libav/Manifest |
22 |
@@ -1,6 +1,4 @@ |
23 |
DIST ffmpeg-3.4.5.tar.bz2 10183082 BLAKE2B f72157baefcd6a0ca8f389309bbe947ad21996e0f2eb3c46c6bfc90f1ebbb14bfd007d001e46ea51efef5db5f9fcee24b1a90b6862136aeebecdc95bb61b23a5 SHA512 e12707d47404a9ce02790b77d2852fc1a1573c8108e980c7355fa48ba891d1649464d4fe4d08394ecd6d871f651ac4388486b7654cb54a7aaeedaf05c55513ec |
24 |
-DIST ffmpeg-4.1.1.tar.bz2 10686360 BLAKE2B 47f4716d7e184d7318eb1a99ab1cdc188009464e973162e583f7ca4ae79fa3b103f9d5329c8993b72d20667e42e5a749123709a4640f07762568300b5c3c897f SHA512 0241c44e1dffd0d890a3d30a1b2387ea167d578bb39ba0c804fb417e132d343a9e43da9247b205e18b893d8cf75d8528e9971569be67ac380b88618ef0a75ed4 |
25 |
-DIST ffmpeg-4.1.2.tar.bz2 10687366 BLAKE2B c69cc693078f40610c4414f01ed20f89a85db398b3177d8d79a6f58f2d48b6a8049a2bc622933e0ae0a2889f635c25ccf1c5856cb86a4d98bb0bc2308188ae86 SHA512 6c3bf20d46772a80299c9d385919a745e4022c0a9b3c438c0504d3c94bb8d472f2c9026105330fa7c50c2f23f511eb853f32e4387f73c0b7b0d0761c20cb8b31 |
26 |
DIST ffmpeg-4.1.3.tar.bz2 10689073 BLAKE2B 8486e21c8df116af802bb7f9208e702ec1feaa4f292f14021e0b6bfb3957b13ddacfa87db361e677ae0583cc2bd1d402a66b0c8507cbed79a001c9b8462100bf SHA512 d0f8b3ee7b55e67b1c7ad9610a7b19a15acfc35dc843683502e536ebcc2e8678b55325532c0039b764cc978e95f83afb48bd24304abaee26f26d3247a8310bfe |
27 |
DIST gst-libav-1.14.4-ffmpeg4-patchset.tar.xz 49428 BLAKE2B 74c3e0b25643bcfdf01d1d16514401fef4bb988ba3d1f306b647ba0cd6e89f0205cc33e6d144889d6b2f7fab9e4fae946e03821a85009fa95c68f3cedf25068a SHA512 1347424ed342f00c25ac4780670611a24eeaf708426b6efc6d9f6c6fa7bf91ef292302a5363afe9523c497265b8c0d7ad81374364cbecb2924b749e716819745 |
28 |
DIST gst-libav-1.14.4.tar.xz 9036732 BLAKE2B 1c2e257912f61dac71e1d890f4cb650e0cdbbf4472cbd8dc6b73e471d1914409b71699bd198c154069e15e68364530e91f76619afb52b91e373e58c9237ab7cb SHA512 4a0e9a91c23cba82e6a6b8eb65ff42b9d80389dd232b08c22b3431d3942fb93a6a7e64be97083d11cbceb2abe5d45dc5b37d230f7552e1a7fb193610d0530717 |
29 |
|
30 |
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.1_p20190113.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.1_p20190113.ebuild |
31 |
deleted file mode 100644 |
32 |
index 22bb5b19204..00000000000 |
33 |
--- a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.1_p20190113.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,103 +0,0 @@ |
36 |
-# Copyright 1999-2019 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-inherit autotools eapi7-ver multilib-minimal |
42 |
- |
43 |
-MY_PN="gst-libav" |
44 |
-MY_PV="$(ver_cut 1-3)" |
45 |
-MY_P="${MY_PN}-${MY_PV}" |
46 |
-FFMPEG_PV="$(ver_cut 4- ${PV%_*})" |
47 |
- |
48 |
-DESCRIPTION="FFmpeg based gstreamer plugin" |
49 |
-HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" |
50 |
-SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz |
51 |
- https://dev.gentoo.org/~leio/distfiles/${MY_P}-ffmpeg4-patchset.tar.xz |
52 |
- libav? ( https://ffmpeg.org/releases/ffmpeg-${FFMPEG_PV}.tar.bz2 )" |
53 |
- |
54 |
-LICENSE="LGPL-2+" |
55 |
-SLOT="1.0" |
56 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" |
57 |
-IUSE="libav +orc" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
61 |
- >=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
62 |
- >=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
63 |
- !libav? ( >=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}] ) |
64 |
- libav? ( |
65 |
- app-arch/bzip2[${MULTILIB_USEDEP}] |
66 |
- app-arch/xz-utils[${MULTILIB_USEDEP}] |
67 |
- ) |
68 |
- orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
69 |
-" |
70 |
-DEPEND="${RDEPEND} |
71 |
- >=dev-util/gtk-doc-am-1.12 |
72 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
73 |
-" |
74 |
- |
75 |
-S="${WORKDIR}/${MY_P}" |
76 |
- |
77 |
-PATCHES=( |
78 |
- "${WORKDIR}"/patches # ffmpeg-4 compat and more from git up to 20181115; requires eautoreconf |
79 |
- "${FILESDIR}"/AVOptionsRanges-leak-fix.patch # extra patch from Jan 2019 for a leak fix |
80 |
- "${FILESDIR}"/external-ffmpeg4-dep.patch # Automatically rescan available elements for registry when system ffmpeg changes |
81 |
-) |
82 |
- |
83 |
-RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly |
84 |
- |
85 |
-src_unpack() { |
86 |
- default |
87 |
- |
88 |
- if use libav; then |
89 |
- # Use newer version of bundled FFmpeg. |
90 |
- rm -r "${S}/gst-libs/ext/libav" || die |
91 |
- ln -s ../../../ffmpeg-${FFMPEG_PV} "${S}/gst-libs/ext/libav" || die |
92 |
- fi |
93 |
-} |
94 |
- |
95 |
-src_prepare() { |
96 |
- default |
97 |
- eautoreconf # remove with a proper release without build system touching patchset |
98 |
-} |
99 |
- |
100 |
-multilib_src_configure() { |
101 |
- GST_PLUGINS_BUILD="" |
102 |
- # Upstream dropped support for system libav and won't work |
103 |
- # for preserving its compat anymore, forcing us to rely on internal |
104 |
- # ffmpeg copy if we don't want to cause unresolvable blockers for |
105 |
- # libav setups. |
106 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=758183 |
107 |
- # Prefer system ffmpeg for -libav |
108 |
- local myconf=() |
109 |
- |
110 |
- if use libav; then |
111 |
- ewarn "Using bundled ffmpeg copy as upstream dropped" |
112 |
- ewarn "the support for compiling against system libav" |
113 |
- ewarn "https://bugzilla.gnome.org/show_bug.cgi?id=758183" |
114 |
- |
115 |
- myconf+=(--with-libav-extra-configure="--disable-debug --optflags=\\\"${CFLAGS}\\\"") |
116 |
- else |
117 |
- myconf+=("--with-system-libav") |
118 |
- fi |
119 |
- |
120 |
- ECONF_SOURCE=${S} \ |
121 |
- econf \ |
122 |
- --disable-maintainer-mode \ |
123 |
- --with-package-name="Gentoo GStreamer ebuild" \ |
124 |
- --with-package-origin="https://www.gentoo.org" \ |
125 |
- --disable-fatal-warnings \ |
126 |
- $(use_enable orc) \ |
127 |
- "${myconf[@]}" |
128 |
-} |
129 |
- |
130 |
-multilib_src_compile() { |
131 |
- # Don't build with -Werror; verbose build |
132 |
- emake ERROR_CFLAGS= V=1 |
133 |
-} |
134 |
- |
135 |
-multilib_src_install_all() { |
136 |
- einstalldocs |
137 |
- find "${ED}" -name '*.la' -delete || die |
138 |
-} |
139 |
|
140 |
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.2_p20190329.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.2_p20190329.ebuild |
141 |
deleted file mode 100644 |
142 |
index e9c44dd1b7b..00000000000 |
143 |
--- a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.14.4.4.1.2_p20190329.ebuild |
144 |
+++ /dev/null |
145 |
@@ -1,104 +0,0 @@ |
146 |
-# Copyright 1999-2019 Gentoo Authors |
147 |
-# Distributed under the terms of the GNU General Public License v2 |
148 |
- |
149 |
-EAPI=6 |
150 |
- |
151 |
-inherit autotools eapi7-ver multilib-minimal |
152 |
- |
153 |
-MY_PN="gst-libav" |
154 |
-MY_PV="$(ver_cut 1-3)" |
155 |
-MY_P="${MY_PN}-${MY_PV}" |
156 |
-FFMPEG_PV="$(ver_cut 4- ${PV%_*})" |
157 |
- |
158 |
-DESCRIPTION="FFmpeg based gstreamer plugin" |
159 |
-HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" |
160 |
-SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz |
161 |
- https://dev.gentoo.org/~leio/distfiles/${MY_P}-ffmpeg4-patchset.tar.xz |
162 |
- libav? ( https://ffmpeg.org/releases/ffmpeg-${FFMPEG_PV}.tar.bz2 )" |
163 |
- |
164 |
-LICENSE="LGPL-2+" |
165 |
-SLOT="1.0" |
166 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" |
167 |
-IUSE="libav +orc" |
168 |
- |
169 |
-RDEPEND=" |
170 |
- >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
171 |
- >=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
172 |
- >=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
173 |
- !libav? ( >=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}] ) |
174 |
- libav? ( |
175 |
- app-arch/bzip2[${MULTILIB_USEDEP}] |
176 |
- app-arch/xz-utils[${MULTILIB_USEDEP}] |
177 |
- ) |
178 |
- orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
179 |
-" |
180 |
-DEPEND="${RDEPEND} |
181 |
- >=dev-util/gtk-doc-am-1.12 |
182 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
183 |
-" |
184 |
- |
185 |
-S="${WORKDIR}/${MY_P}" |
186 |
- |
187 |
-PATCHES=( |
188 |
- "${WORKDIR}"/patches # ffmpeg-4 compat and more from git up to 20181115; requires eautoreconf |
189 |
- "${FILESDIR}"/AVOptionsRanges-leak-fix.patch # extra patch from Jan 2019 for a leak fix |
190 |
- "${FILESDIR}"/fix-negative-pts.patch # extra patch from Feb 2019 to fix negative pts if start_time is bigger than the ts |
191 |
- "${FILESDIR}"/external-ffmpeg4-dep.patch # Automatically rescan available elements for registry when system ffmpeg changes |
192 |
-) |
193 |
- |
194 |
-RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly |
195 |
- |
196 |
-src_unpack() { |
197 |
- default |
198 |
- |
199 |
- if use libav; then |
200 |
- # Use newer version of bundled FFmpeg. |
201 |
- rm -r "${S}/gst-libs/ext/libav" || die |
202 |
- ln -s ../../../ffmpeg-${FFMPEG_PV} "${S}/gst-libs/ext/libav" || die |
203 |
- fi |
204 |
-} |
205 |
- |
206 |
-src_prepare() { |
207 |
- default |
208 |
- eautoreconf # remove with a proper release without build system touching patchset |
209 |
-} |
210 |
- |
211 |
-multilib_src_configure() { |
212 |
- GST_PLUGINS_BUILD="" |
213 |
- # Upstream dropped support for system libav and won't work |
214 |
- # for preserving its compat anymore, forcing us to rely on internal |
215 |
- # ffmpeg copy if we don't want to cause unresolvable blockers for |
216 |
- # libav setups. |
217 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=758183 |
218 |
- # Prefer system ffmpeg for -libav |
219 |
- local myconf=() |
220 |
- |
221 |
- if use libav; then |
222 |
- ewarn "Using bundled ffmpeg copy as upstream dropped" |
223 |
- ewarn "the support for compiling against system libav" |
224 |
- ewarn "https://bugzilla.gnome.org/show_bug.cgi?id=758183" |
225 |
- |
226 |
- myconf+=(--with-libav-extra-configure="--disable-debug --optflags=\\\"${CFLAGS}\\\"") |
227 |
- else |
228 |
- myconf+=("--with-system-libav") |
229 |
- fi |
230 |
- |
231 |
- ECONF_SOURCE=${S} \ |
232 |
- econf \ |
233 |
- --disable-maintainer-mode \ |
234 |
- --with-package-name="Gentoo GStreamer ebuild" \ |
235 |
- --with-package-origin="https://www.gentoo.org" \ |
236 |
- --disable-fatal-warnings \ |
237 |
- $(use_enable orc) \ |
238 |
- "${myconf[@]}" |
239 |
-} |
240 |
- |
241 |
-multilib_src_compile() { |
242 |
- # Don't build with -Werror; verbose build |
243 |
- emake ERROR_CFLAGS= V=1 |
244 |
-} |
245 |
- |
246 |
-multilib_src_install_all() { |
247 |
- einstalldocs |
248 |
- find "${ED}" -name '*.la' -delete || die |
249 |
-} |