1 |
commit: 8724013fab8fc9dac4890ac15e42a4718a3bc975 |
2 |
Author: James Beddek <telans <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Jan 15 00:04:40 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 16 02:23:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8724013f |
7 |
|
8 |
media-video/handbrake: drop 1.3.3-r4, 1.3.3-r5 |
9 |
|
10 |
Signed-off-by: James Beddek <telans <AT> posteo.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/23737 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
media-video/handbrake/Manifest | 1 - |
15 |
media-video/handbrake/handbrake-1.3.3-r4.ebuild | 162 ----------------------- |
16 |
media-video/handbrake/handbrake-1.3.3-r5.ebuild | 165 ------------------------ |
17 |
3 files changed, 328 deletions(-) |
18 |
|
19 |
diff --git a/media-video/handbrake/Manifest b/media-video/handbrake/Manifest |
20 |
index 3a17698fe66e..1838ad0338f1 100644 |
21 |
--- a/media-video/handbrake/Manifest |
22 |
+++ b/media-video/handbrake/Manifest |
23 |
@@ -1,3 +1,2 @@ |
24 |
-DIST handbrake-1.3.3.tar.bz2 16804119 BLAKE2B c081029e77911dc722764b0bef04e156694f8da0caaa6aedaae13d5c1045dccfc8292a466a8df323b471ca2a9de821b94740e9826fc9e7a2877b1d59653a728a SHA512 a4cca4e45d39eb3d43441abe832e2b8398694917981fa994075e475b68297cae28039e3c75d06442194262a881b9e416e5ebd73d10f86214b95f54c35fd3088c |
25 |
DIST handbrake-1.4.2.tar.bz2 15991593 BLAKE2B 966b54d35dd5544800208edc9045eaf26f3253aa470686b9ea29cdf69393af140829b21072133684661fd881eee7f97b90f9c7edfa87f187058dd1b14d1a748b SHA512 ba8ffe01cd813e9991716eabb2844e1ed414e3a2c547154b89588389e96846af9f2dd47f66d735101fdacd5be1928e34e4bab31e6a189779e77001ffdb0b427e |
26 |
DIST handbrake-1.5.1.tar.bz2 16137974 BLAKE2B 9ce1f1ae7b2fe514ba1fb6ed30a345d18144829272a6298f2af0831e5ea7533ef2f8b201fd98389269b0ea12bbba15d0b76f09afeff6ed1d9ed313f20cf8f3a1 SHA512 63c5933f77d417a89512abd278a1d844f2b7a36ec9f8ab664c1a1348fd228ee389fc8e349b2df6cbf5d617b912d4634457ebea86490ff5ed4930f39a90dc7568 |
27 |
|
28 |
diff --git a/media-video/handbrake/handbrake-1.3.3-r4.ebuild b/media-video/handbrake/handbrake-1.3.3-r4.ebuild |
29 |
deleted file mode 100644 |
30 |
index 9c12dd2d8f8f..000000000000 |
31 |
--- a/media-video/handbrake/handbrake-1.3.3-r4.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,162 +0,0 @@ |
34 |
-# Copyright 1999-2021 Gentoo Authors |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=7 |
38 |
- |
39 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
40 |
-inherit autotools gnome2-utils python-any-r1 xdg-utils |
41 |
- |
42 |
-if [[ ${PV} = *9999* ]]; then |
43 |
- EGIT_REPO_URI="https://github.com/HandBrake/HandBrake.git" |
44 |
- inherit git-r3 |
45 |
-else |
46 |
- MY_P="HandBrake-${PV}" |
47 |
- SRC_URI="https://github.com/HandBrake/HandBrake/releases/download/${PV}/${MY_P}-source.tar.bz2 -> ${P}.tar.bz2" |
48 |
- S="${WORKDIR}/${MY_P}" |
49 |
- KEYWORDS="~amd64 ~x86" |
50 |
-fi |
51 |
- |
52 |
-DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" |
53 |
-HOMEPAGE="https://handbrake.fr/" |
54 |
- |
55 |
-LICENSE="GPL-2" |
56 |
-SLOT="0" |
57 |
-IUSE="+fdk gstreamer gtk libav-aac numa nvenc x265" |
58 |
- |
59 |
-REQUIRED_USE="^^ ( fdk libav-aac )" |
60 |
- |
61 |
-RDEPEND=" |
62 |
- app-arch/xz-utils |
63 |
- media-libs/speex |
64 |
- dev-libs/jansson:= |
65 |
- dev-libs/libxml2 |
66 |
- media-libs/a52dec |
67 |
- media-libs/libass:= |
68 |
- >=media-libs/libbluray-1.0:= |
69 |
- >=media-libs/dav1d-0.5.1:= |
70 |
- media-libs/libdvdnav |
71 |
- media-libs/libdvdread:= |
72 |
- media-libs/libsamplerate |
73 |
- media-libs/libtheora |
74 |
- media-libs/libvorbis |
75 |
- >=media-libs/libvpx-1.8:= |
76 |
- nvenc? ( media-libs/nv-codec-headers ) |
77 |
- media-libs/opus |
78 |
- media-libs/x264:= |
79 |
- media-sound/lame |
80 |
- sys-libs/zlib |
81 |
- >=media-video/ffmpeg-4.2.1:0=[postproc,fdk?] |
82 |
- gstreamer? ( |
83 |
- media-libs/gstreamer:1.0 |
84 |
- media-libs/gst-plugins-base:1.0 |
85 |
- media-libs/gst-plugins-good:1.0 |
86 |
- media-libs/gst-plugins-bad:1.0 |
87 |
- media-libs/gst-plugins-ugly:1.0 |
88 |
- media-plugins/gst-plugins-a52dec:1.0 |
89 |
- media-plugins/gst-plugins-libav:1.0 |
90 |
- media-plugins/gst-plugins-x264:1.0 |
91 |
- media-plugins/gst-plugins-gdkpixbuf:1.0 |
92 |
- ) |
93 |
- gtk? ( |
94 |
- >=x11-libs/gtk+-3.10 |
95 |
- dev-libs/dbus-glib |
96 |
- dev-libs/glib:2 |
97 |
- dev-libs/libgudev:= |
98 |
- x11-libs/cairo |
99 |
- x11-libs/gdk-pixbuf:2 |
100 |
- x11-libs/libnotify |
101 |
- x11-libs/pango |
102 |
- ) |
103 |
- fdk? ( media-libs/fdk-aac:= ) |
104 |
- x265? ( >=media-libs/x265-3.2:0=[10bit,12bit,numa?] )" |
105 |
- |
106 |
-DEPEND="${RDEPEND} |
107 |
- ${PYTHON_DEPS} |
108 |
- dev-lang/nasm |
109 |
- dev-util/intltool" |
110 |
- |
111 |
-PATCHES=( |
112 |
- # Remove libdvdnav duplication and call it on the original instead. |
113 |
- # It may work this way; if not, we should try to mimic the duplication. |
114 |
- "${FILESDIR}/${PN}-9999-remove-dvdnav-dup.patch" |
115 |
- |
116 |
- # Remove faac dependency; TODO: figure out if we need to do this at all. |
117 |
- "${FILESDIR}/${P}-remove-faac-dependency.patch" |
118 |
- |
119 |
- # Use whichever python is set by portage |
120 |
- "${FILESDIR}/${PN}-1.3.0-dont-search-for-python.patch" |
121 |
- |
122 |
- # Fix x265 linkage... again again #730034 |
123 |
- "${FILESDIR}/${PN}-1.3.3-x265-link.patch" |
124 |
-) |
125 |
- |
126 |
-src_prepare() { |
127 |
- # Get rid of leftover bundled library build definitions, |
128 |
- sed -i 's:.*\(/contrib\|contrib/\).*::g' \ |
129 |
- "${S}"/make/include/main.defs \ |
130 |
- || die "Contrib removal failed." |
131 |
- |
132 |
- default |
133 |
- |
134 |
- cd "${S}/gtk" |
135 |
- # Don't run autogen.sh. |
136 |
- sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" |
137 |
- eautoreconf |
138 |
-} |
139 |
- |
140 |
-src_configure() { |
141 |
- # Libav was replaced in 1.2 with ffmpeg by default |
142 |
- # but I've elected to not make people change their use flags for AAC |
143 |
- # as its the same code anyway |
144 |
- ./configure \ |
145 |
- --force \ |
146 |
- --verbose \ |
147 |
- --prefix="${EPREFIX}/usr" \ |
148 |
- --disable-gtk-update-checks \ |
149 |
- --disable-flatpak \ |
150 |
- --disable-gtk4 \ |
151 |
- $(use_enable libav-aac ffmpeg-aac) \ |
152 |
- $(use_enable fdk fdk-aac) \ |
153 |
- $(usex !gtk --disable-gtk) \ |
154 |
- $(usex !gstreamer --disable-gst) \ |
155 |
- $(use_enable numa) \ |
156 |
- $(use_enable nvenc) \ |
157 |
- $(use_enable x265) || die "Configure failed." |
158 |
-} |
159 |
- |
160 |
-src_compile() { |
161 |
- emake -C build |
162 |
- |
163 |
- # TODO: Documentation building is currently broken, try to fix it. |
164 |
- # |
165 |
- # if use doc ; then |
166 |
- # emake -C build doc |
167 |
- # fi |
168 |
-} |
169 |
- |
170 |
-src_install() { |
171 |
- emake -C build DESTDIR="${D}" install |
172 |
- |
173 |
- dodoc README.markdown AUTHORS.markdown NEWS.markdown THANKS.markdown |
174 |
-} |
175 |
- |
176 |
-pkg_postinst() { |
177 |
- einfo "Gentoo builds of HandBrake are NOT SUPPORTED by upstream as they" |
178 |
- einfo "do not use the bundled (and often patched) upstream libraries." |
179 |
- einfo "" |
180 |
- einfo "Please do not raise bugs with upstream because of these ebuilds," |
181 |
- einfo "report bugs to Gentoo's bugzilla or Multimedia forum instead." |
182 |
- |
183 |
- einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." |
184 |
- if use gtk ; then |
185 |
- einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." |
186 |
- fi |
187 |
- |
188 |
- xdg_icon_cache_update |
189 |
- xdg_desktop_database_update |
190 |
-} |
191 |
- |
192 |
-pkg_postrm() { |
193 |
- xdg_icon_cache_update |
194 |
- xdg_desktop_database_update |
195 |
-} |
196 |
|
197 |
diff --git a/media-video/handbrake/handbrake-1.3.3-r5.ebuild b/media-video/handbrake/handbrake-1.3.3-r5.ebuild |
198 |
deleted file mode 100644 |
199 |
index a0f00a16d9e2..000000000000 |
200 |
--- a/media-video/handbrake/handbrake-1.3.3-r5.ebuild |
201 |
+++ /dev/null |
202 |
@@ -1,165 +0,0 @@ |
203 |
-# Copyright 1999-2021 Gentoo Authors |
204 |
-# Distributed under the terms of the GNU General Public License v2 |
205 |
- |
206 |
-EAPI=7 |
207 |
- |
208 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
209 |
-inherit autotools gnome2-utils python-any-r1 xdg-utils |
210 |
- |
211 |
-if [[ ${PV} = *9999* ]]; then |
212 |
- EGIT_REPO_URI="https://github.com/HandBrake/HandBrake.git" |
213 |
- inherit git-r3 |
214 |
-else |
215 |
- MY_P="HandBrake-${PV}" |
216 |
- SRC_URI="https://github.com/HandBrake/HandBrake/releases/download/${PV}/${MY_P}-source.tar.bz2 -> ${P}.tar.bz2" |
217 |
- S="${WORKDIR}/${MY_P}" |
218 |
- KEYWORDS="~amd64 ~x86" |
219 |
-fi |
220 |
- |
221 |
-DESCRIPTION="Open-source, GPL-licensed, multiplatform, multithreaded video transcoder" |
222 |
-HOMEPAGE="https://handbrake.fr/" |
223 |
- |
224 |
-LICENSE="GPL-2" |
225 |
-SLOT="0" |
226 |
-IUSE="+fdk gstreamer gtk libav-aac numa nvenc x265" |
227 |
- |
228 |
-REQUIRED_USE="^^ ( fdk libav-aac )" |
229 |
- |
230 |
-RDEPEND=" |
231 |
- app-arch/xz-utils |
232 |
- media-libs/speex |
233 |
- dev-libs/jansson:= |
234 |
- dev-libs/libxml2 |
235 |
- media-libs/a52dec |
236 |
- media-libs/libass:= |
237 |
- >=media-libs/libbluray-1.0:= |
238 |
- >=media-libs/dav1d-0.5.1:= |
239 |
- media-libs/libdvdnav |
240 |
- media-libs/libdvdread:= |
241 |
- media-libs/libsamplerate |
242 |
- media-libs/libtheora |
243 |
- media-libs/libvorbis |
244 |
- >=media-libs/libvpx-1.8:= |
245 |
- nvenc? ( media-libs/nv-codec-headers ) |
246 |
- media-libs/opus |
247 |
- media-libs/x264:= |
248 |
- media-sound/lame |
249 |
- sys-libs/zlib |
250 |
- >=media-video/ffmpeg-4.2.1:0=[postproc,fdk?] |
251 |
- gstreamer? ( |
252 |
- media-libs/gstreamer:1.0 |
253 |
- media-libs/gst-plugins-base:1.0 |
254 |
- media-libs/gst-plugins-good:1.0 |
255 |
- media-libs/gst-plugins-bad:1.0 |
256 |
- media-libs/gst-plugins-ugly:1.0 |
257 |
- media-plugins/gst-plugins-a52dec:1.0 |
258 |
- media-plugins/gst-plugins-libav:1.0 |
259 |
- media-plugins/gst-plugins-x264:1.0 |
260 |
- media-plugins/gst-plugins-gdkpixbuf:1.0 |
261 |
- ) |
262 |
- gtk? ( |
263 |
- >=x11-libs/gtk+-3.10 |
264 |
- dev-libs/dbus-glib |
265 |
- dev-libs/glib:2 |
266 |
- dev-libs/libgudev:= |
267 |
- x11-libs/cairo |
268 |
- x11-libs/gdk-pixbuf:2 |
269 |
- x11-libs/libnotify |
270 |
- x11-libs/pango |
271 |
- ) |
272 |
- fdk? ( media-libs/fdk-aac:= ) |
273 |
- x265? ( >=media-libs/x265-3.2:0=[10bit,12bit,numa?] )" |
274 |
- |
275 |
-DEPEND="${RDEPEND} |
276 |
- ${PYTHON_DEPS} |
277 |
- dev-lang/nasm |
278 |
- dev-util/intltool" |
279 |
- |
280 |
-PATCHES=( |
281 |
- # Remove libdvdnav duplication and call it on the original instead. |
282 |
- # It may work this way; if not, we should try to mimic the duplication. |
283 |
- "${FILESDIR}/${PN}-9999-remove-dvdnav-dup.patch" |
284 |
- |
285 |
- # Remove faac dependency; TODO: figure out if we need to do this at all. |
286 |
- "${FILESDIR}/${P}-remove-faac-dependency.patch" |
287 |
- |
288 |
- # Use whichever python is set by portage |
289 |
- "${FILESDIR}/${PN}-1.3.0-dont-search-for-python.patch" |
290 |
- |
291 |
- # Fix x265 linkage... again again #730034 |
292 |
- "${FILESDIR}/${PN}-1.3.3-x265-link.patch" |
293 |
- |
294 |
- # Fix missing audio stream when using MPEG-4 avformat with ffmpeg-4.4 #791220 |
295 |
- "${FILESDIR}/${PN}-1.3.3-libhb-fix-audio-encoders-when-linking-to-FFmpeg-4.4.patch" |
296 |
-) |
297 |
- |
298 |
-src_prepare() { |
299 |
- # Get rid of leftover bundled library build definitions, |
300 |
- sed -i 's:.*\(/contrib\|contrib/\).*::g' \ |
301 |
- "${S}"/make/include/main.defs \ |
302 |
- || die "Contrib removal failed." |
303 |
- |
304 |
- default |
305 |
- |
306 |
- cd "${S}/gtk" |
307 |
- # Don't run autogen.sh. |
308 |
- sed -i '/autogen.sh/d' module.rules || die "Removing autogen.sh call failed" |
309 |
- eautoreconf |
310 |
-} |
311 |
- |
312 |
-src_configure() { |
313 |
- # Libav was replaced in 1.2 with ffmpeg by default |
314 |
- # but I've elected to not make people change their use flags for AAC |
315 |
- # as its the same code anyway |
316 |
- ./configure \ |
317 |
- --force \ |
318 |
- --verbose \ |
319 |
- --prefix="${EPREFIX}/usr" \ |
320 |
- --disable-gtk-update-checks \ |
321 |
- --disable-flatpak \ |
322 |
- --disable-gtk4 \ |
323 |
- $(use_enable libav-aac ffmpeg-aac) \ |
324 |
- $(use_enable fdk fdk-aac) \ |
325 |
- $(usex !gtk --disable-gtk) \ |
326 |
- $(usex !gstreamer --disable-gst) \ |
327 |
- $(use_enable numa) \ |
328 |
- $(use_enable nvenc) \ |
329 |
- $(use_enable x265) || die "Configure failed." |
330 |
-} |
331 |
- |
332 |
-src_compile() { |
333 |
- emake -C build |
334 |
- |
335 |
- # TODO: Documentation building is currently broken, try to fix it. |
336 |
- # |
337 |
- # if use doc ; then |
338 |
- # emake -C build doc |
339 |
- # fi |
340 |
-} |
341 |
- |
342 |
-src_install() { |
343 |
- emake -C build DESTDIR="${D}" install |
344 |
- |
345 |
- dodoc README.markdown AUTHORS.markdown NEWS.markdown THANKS.markdown |
346 |
-} |
347 |
- |
348 |
-pkg_postinst() { |
349 |
- einfo "Gentoo builds of HandBrake are NOT SUPPORTED by upstream as they" |
350 |
- einfo "do not use the bundled (and often patched) upstream libraries." |
351 |
- einfo "" |
352 |
- einfo "Please do not raise bugs with upstream because of these ebuilds," |
353 |
- einfo "report bugs to Gentoo's bugzilla or Multimedia forum instead." |
354 |
- |
355 |
- einfo "For the CLI version of HandBrake, you can use \`HandBrakeCLI\`." |
356 |
- if use gtk ; then |
357 |
- einfo "For the GTK+ version of HandBrake, you can run \`ghb\`." |
358 |
- fi |
359 |
- |
360 |
- xdg_icon_cache_update |
361 |
- xdg_desktop_database_update |
362 |
-} |
363 |
- |
364 |
-pkg_postrm() { |
365 |
- xdg_icon_cache_update |
366 |
- xdg_desktop_database_update |
367 |
-} |