1 |
commit: 5b1b9c0186c752b4e7b9660f35ce8b918420e658 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 31 08:18:09 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 31 08:44:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b1b9c01 |
7 |
|
8 |
media-libs/gst-rtsp-server: bump to 1.14.2 for upstream bug fixes |
9 |
|
10 |
Package-Manager: Portage-2.3.43, Repoman-2.3.10 |
11 |
|
12 |
media-libs/gst-rtsp-server/Manifest | 1 + |
13 |
.../gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild | 69 ++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest |
17 |
index 4d2b61283d2..866d9ceec68 100644 |
18 |
--- a/media-libs/gst-rtsp-server/Manifest |
19 |
+++ b/media-libs/gst-rtsp-server/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gst-rtsp-0.10.8.tar.bz2 567670 BLAKE2B 10c01001a53daa039b1c48917fcd31ac0f6437d365bac2aa6b70d0b43cb94df89ab1d2a55b8fc89f5e04efffca142f99fe0f96a1c2708acc9a062f4f3a01cd8d SHA512 c5020cffa9334b7d9c6b9dbe6f32bd4580eeee1c67689269d232e954ef9d96d8b988e3fb19da89701eae26419df0bf6de5796f7780cfbedda4c07154b1c1ebd7 |
22 |
DIST gst-rtsp-server-1.14.1.tar.xz 662316 BLAKE2B 9ff6abe945b1a4936a713e098a2013c0d954a1f7f0fdf4f9d9ec0df9ff19f5526c96a95c101ae58db97a886cb477c001eea1dc056bd4e35e4bcd4cdd16a4dfcb SHA512 c559177434cd710702be623da0e9821e3867f865c94bfc425e558a467288ff77ee1ce9114389d8f8462fd979eb34a8da665d40e8e0b10a54a077f53ec954d07a |
23 |
+DIST gst-rtsp-server-1.14.2.tar.xz 665904 BLAKE2B 3f9ab3c1579d34ec8877bcc6da2802cc69aa444ef1fabfe548e2acf3b1c58eb0e29ffb09c250fb6d2ae61e4847bf2098c22874ec43266d46d5b402cbbbcda892 SHA512 81c64c31cef45479ec23d57b11d09950ca8c04820b6cf422af6caabccd71ad648e210a114f9f020136ddfdfc9e942c3eb15f055778d493d54c8770ed4f93634c |
24 |
|
25 |
diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6669657cb4c |
28 |
--- /dev/null |
29 |
+++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.14.2.ebuild |
30 |
@@ -0,0 +1,69 @@ |
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 gstreamer |
37 |
+ |
38 |
+DESCRIPTION="A GStreamer based RTSP server" |
39 |
+HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html" |
40 |
+ |
41 |
+LICENSE="LGPL-2+" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="examples +introspection static-libs test" |
44 |
+ |
45 |
+# gst-plugins-base for many used elements and API |
46 |
+# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more |
47 |
+# gst-plugins-srtp for srtpenc and srtpdec elements |
48 |
+RDEPEND=" |
49 |
+ >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] |
50 |
+ >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] |
51 |
+ >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] |
52 |
+ >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] |
53 |
+ >=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}] |
54 |
+ introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) |
55 |
+" |
56 |
+DEPEND="${RDEPEND} |
57 |
+ >=dev-util/gtk-doc-am-1.12 |
58 |
+" |
59 |
+ |
60 |
+# Due to gstreamer src_configure |
61 |
+QA_CONFIGURE_OPTIONS="--enable-nls" |
62 |
+ |
63 |
+multilib_src_configure() { |
64 |
+ # debug: only adds -g to CFLAGS |
65 |
+ # docbook: nothing behind that switch |
66 |
+ # libcgroup is automagic and only used in examples |
67 |
+ gstreamer_multilib_src_configure \ |
68 |
+ --disable-debug \ |
69 |
+ --disable-valgrind \ |
70 |
+ --disable-examples \ |
71 |
+ --disable-docbook \ |
72 |
+ --disable-gtk-doc \ |
73 |
+ $(multilib_native_use_enable introspection) \ |
74 |
+ $(use_enable static-libs static) \ |
75 |
+ $(use_enable test tests) \ |
76 |
+ LIBCGROUP_LIBS= \ |
77 |
+ LIBCGROUP_FLAGS= |
78 |
+ |
79 |
+ # work-around gtk-doc out-of-source brokedness |
80 |
+ if multilib_is_native_abi ; then |
81 |
+ ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+multilib_src_install() { |
86 |
+ emake install DESTDIR="${D}" |
87 |
+ # Handle broken upstream modifications to defaults of gtk-doc |
88 |
+ emake install -C docs/libs DESTDIR="${D}" |
89 |
+} |
90 |
+ |
91 |
+multilib_src_install_all() { |
92 |
+ einstalldocs |
93 |
+ find "${ED}" -name '*.la' -delete || die |
94 |
+ |
95 |
+ if use examples ; then |
96 |
+ insinto /usr/share/doc/${PF}/examples |
97 |
+ doins "${S}"/examples/*.c |
98 |
+ fi |
99 |
+} |