1 |
commit: 4c118d711bcb6f5073ee04ef21aa3db71e1d57ee |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 14 21:17:50 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 14 22:06:01 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c118d71 |
7 |
|
8 |
media-plugins/gst-plugins-libav: bump to 1.12.4 for upstream bug fixes |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
media-plugins/gst-plugins-libav/Manifest | 1 + |
13 |
.../gst-plugins-libav-1.12.4.ebuild | 73 ++++++++++++++++++++++ |
14 |
2 files changed, 74 insertions(+) |
15 |
|
16 |
diff --git a/media-plugins/gst-plugins-libav/Manifest b/media-plugins/gst-plugins-libav/Manifest |
17 |
index 405c8ba3ea2..fad03f7721e 100644 |
18 |
--- a/media-plugins/gst-plugins-libav/Manifest |
19 |
+++ b/media-plugins/gst-plugins-libav/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gst-libav-1.10.5.tar.xz 8545300 BLAKE2B 02a747bc7f75e5757d918f8f5213a47be3bb0eb67558a30973f02f5b964c2de51c8737aa7d7e74b11f91128830c8f004ef8493671ff0d49ce5e098ee8139240c SHA512 a0636a3b32a5c20eba69a0002fc549facebb0211774e13dd526a3a1eb710f3342662179af6275d619d5075ad0f6dc7068b9950cfb0c60e3ad48249475b39216b |
22 |
DIST gst-libav-1.12.3.tar.xz 8791724 BLAKE2B 1d69be6a581d00ad939c1d35dd6913f03a816d7daee579a00fa3c39a2d936a3dbecfa576e98243fd2db4d3e76d9fa9b7b3799a00223436621606ba134a90c85e SHA512 33b380b7094afe1db57103eeeca5ae13db98a5bee6785f884a7ec8abb93a94f702eb52f0515f4fa27a0f157ecb0757cf3576df335dc456254f9a82567f5ab7a8 |
23 |
+DIST gst-libav-1.12.4.tar.xz 8792776 BLAKE2B 8feb2b6d6b8b0dd018d7e23718112aa803c054e344b190946e598f5af195a7f16c6b10191ff051d74e521b78fc478fcc62a38c4aa3cb5aac303a5b7a16cbda23 SHA512 80ef9b7e179c081996875e452f66a3c5124cb99b5439e15b6ed4edf43e7ed1821b56639eea0db24050f0d5291d2b67d59e884dd71ab9193b5d1820153976f879 |
24 |
|
25 |
diff --git a/media-plugins/gst-plugins-libav/gst-plugins-libav-1.12.4.ebuild b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.12.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6dd48965e1c |
28 |
--- /dev/null |
29 |
+++ b/media-plugins/gst-plugins-libav/gst-plugins-libav-1.12.4.ebuild |
30 |
@@ -0,0 +1,73 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit eutils multilib-minimal |
37 |
+ |
38 |
+MY_PN="gst-libav" |
39 |
+DESCRIPTION="FFmpeg based gstreamer plugin" |
40 |
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-libav.html" |
41 |
+SRC_URI="https://gstreamer.freedesktop.org/src/${MY_PN}/${MY_PN}-${PV}.tar.xz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="1.0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd" |
46 |
+IUSE="libav +orc" |
47 |
+ |
48 |
+# XXX: bzip2/lzma are automagic |
49 |
+RDEPEND=" |
50 |
+ app-arch/bzip2 |
51 |
+ app-arch/xz-utils |
52 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
53 |
+ >=media-libs/gstreamer-${PV}:1.0[${MULTILIB_USEDEP}] |
54 |
+ >=media-libs/gst-plugins-base-${PV}:1.0[${MULTILIB_USEDEP}] |
55 |
+ !libav? ( >=media-video/ffmpeg-3.2.6:0=[${MULTILIB_USEDEP}] ) |
56 |
+ orc? ( >=dev-lang/orc-0.4.17[${MULTILIB_USEDEP}] ) |
57 |
+" |
58 |
+DEPEND="${RDEPEND} |
59 |
+ >=dev-util/gtk-doc-am-1.12 |
60 |
+ >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
61 |
+" |
62 |
+ |
63 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
64 |
+ |
65 |
+RESTRICT="test" # FIXME: tests seem to get stuck at one point; investigate properly |
66 |
+ |
67 |
+multilib_src_configure() { |
68 |
+ GST_PLUGINS_BUILD="" |
69 |
+ # Upstream dropped support for system libav and won't work |
70 |
+ # for preserving its compat anymore, forcing us to rely on internal |
71 |
+ # ffmpeg copy if we don't want to cause unresolvable blockers for |
72 |
+ # libav setups. |
73 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=758183 |
74 |
+ # Prefer system ffmpeg for -libav |
75 |
+ local myconf |
76 |
+ |
77 |
+ if use libav; then |
78 |
+ ewarn "Using internal ffmpeg copy as upstream dropped" |
79 |
+ ewarn "the support for compiling against system libav" |
80 |
+ ewarn "https://bugzilla.gnome.org/show_bug.cgi?id=758183" |
81 |
+ else |
82 |
+ myconf="--with-system-libav" |
83 |
+ fi |
84 |
+ |
85 |
+ ECONF_SOURCE=${S} \ |
86 |
+ econf \ |
87 |
+ --disable-maintainer-mode \ |
88 |
+ --with-package-name="Gentoo GStreamer ebuild" \ |
89 |
+ --with-package-origin="https://www.gentoo.org" \ |
90 |
+ --disable-fatal-warnings \ |
91 |
+ $(use_enable orc) \ |
92 |
+ ${myconf} |
93 |
+} |
94 |
+ |
95 |
+multilib_src_compile() { |
96 |
+ # Don't build with -Werror |
97 |
+ emake ERROR_CFLAGS= |
98 |
+} |
99 |
+ |
100 |
+multilib_src_install_all() { |
101 |
+ einstalldocs |
102 |
+ prune_libtool_files --modules |
103 |
+} |