1 |
commit: 42c8af8f7134062cd6928069612bf413f41a0f51 |
2 |
Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> |
3 |
AuthorDate: Sat Feb 15 22:29:56 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 3 19:12:14 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c8af8f |
7 |
|
8 |
media-plugins/gst-plugins-libav: Version bump, 1.16.2 |
9 |
|
10 |
Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
media-plugins/gst-plugins-libav/Manifest | 1 + |
14 |
.../gst-plugins-libav-1.16.2.ebuild | 58 ++++++++++++++++++++++ |
15 |
2 files changed, 59 insertions(+) |
16 |
|
17 |
diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest |
18 |
index 758fe9b9981..005b1f9290b 100644 |
19 |
--- a/media-plugins/gst-plugins-libav/Manifest |
20 |
+++ b/media-plugins/gst-plugins-libav/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST ffmpeg-4.1.3.tar.bz2 10689073 BLAKE2B 8486e21c8df116af802bb7f9208e702ec1feaa4f292f14021e0b6bfb3957b13ddacfa87db361e677ae0583cc2bd1d402a66b0c8507cbed79a001c9b8462100bf SHA512 d0f8b3ee7b55e67b1c7ad9610a7b19a15acfc35dc843683502e536ebcc2e8678b55325532c0039b764cc978e95f83afb48bd24304abaee26f26d3247a8310bfe |
23 |
DIST gst-libav-1.14.4-ffmpeg4-patchset.tar.xz 49428 BLAKE2B 74c3e0b25643bcfdf01d1d16514401fef4bb988ba3d1f306b647ba0cd6e89f0205cc33e6d144889d6b2f7fab9e4fae946e03821a85009fa95c68f3cedf25068a SHA512 1347424ed342f00c25ac4780670611a24eeaf708426b6efc6d9f6c6fa7bf91ef292302a5363afe9523c497265b8c0d7ad81374364cbecb2924b749e716819745 |
24 |
DIST gst-libav-1.14.4.tar.xz 9036732 BLAKE2B 1c2e257912f61dac71e1d890f4cb650e0cdbbf4472cbd8dc6b73e471d1914409b71699bd198c154069e15e68364530e91f76619afb52b91e373e58c9237ab7cb SHA512 4a0e9a91c23cba82e6a6b8eb65ff42b9d80389dd232b08c22b3431d3942fb93a6a7e64be97083d11cbceb2abe5d45dc5b37d230f7552e1a7fb193610d0530717 |
25 |
+DIST gst-libav-1.16.2.tar.xz 9466288 BLAKE2B c14f3921bf357541b6ae4b5095dbff963fec90aa9ae3ef59e7b52c1d1f68fce8f497de017a6654f293d7b489ff5a880896018f5de0412456668f60bae1b2a32a SHA512 10817dec823b8ca84372d16e36c4ee11ab7a96a9168418f4c0bd0909fbda0ff45426bd3f754d7d491d4b07a51ec7eaa8e065e7e5c1daa120828c35a68adb312d |
26 |
|
27 |
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0737ecf7090 |
30 |
--- /dev/null |
31 |
+++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.16.2.ebuild |
32 |
@@ -0,0 +1,58 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit autotools eapi7-ver multilib-minimal |
39 |
+ |
40 |
+MY_PN="gst-libav" |
41 |
+MY_PV="$(ver_cut 1-3)" |
42 |
+MY_P="${MY_PN}-${MY_PV}" |
43 |
+FFMPEG_PV="$(ver_cut 4- ${PV%_*})" |
44 |
+ |
45 |
+DESCRIPTION="FFmpeg based gstreamer plugin" |
46 |
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" |
47 |
+SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_P}.tar.xz" |
48 |
+ |
49 |
+LICENSE="LGPL-2+" |
50 |
+SLOT="1.0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86" |
52 |
+IUSE="+orc" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
56 |
+ >=media-libs/gstreamer-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
57 |
+ >=media-libs/gst-plugins-base-${MY_PV}:1.0[${MULTILIB_USEDEP}] |
58 |
+ >=media-video/ffmpeg-4:0=[${MULTILIB_USEDEP}] |
59 |
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
60 |
+" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ >=dev-util/gtk-doc-am-1.12 |
63 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
64 |
+" |
65 |
+ |
66 |
+S="${WORKDIR}/${MY_P}" |
67 |
+ |
68 |
+RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly |
69 |
+ |
70 |
+multilib_src_configure() { |
71 |
+ GST_PLUGINS_BUILD="" |
72 |
+ |
73 |
+ ECONF_SOURCE=${S} \ |
74 |
+ econf \ |
75 |
+ --disable-maintainer-mode \ |
76 |
+ --with-package-name="Gentoo GStreamer ebuild" \ |
77 |
+ --with-package-origin="https://www.gentoo.org" \ |
78 |
+ --disable-fatal-warnings \ |
79 |
+ $(use_enable orc) |
80 |
+} |
81 |
+ |
82 |
+multilib_src_compile() { |
83 |
+ # Don't build with -Werror; verbose build |
84 |
+ emake ERROR_CFLAGS= V=1 |
85 |
+} |
86 |
+ |
87 |
+multilib_src_install_all() { |
88 |
+ einstalldocs |
89 |
+ find "${ED}" -name '*.la' -delete || die |
90 |
+} |