Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-rtsp-server/
Date: Thu, 15 Feb 2018 00:33:51
Message-Id: 1518654811.d29329cc07d8aeeecc851bdba342847b58face44.leio@gentoo
1 commit: d29329cc07d8aeeecc851bdba342847b58face44
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 15 00:20:07 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 15 00:33:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d29329cc
7
8 media-libs/gst-rtsp-server: bump to 1.12.4 for upstream bug fixes
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 media-libs/gst-rtsp-server/Manifest | 1 +
13 .../gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild | 70 ++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest
17 index aacf6b118da..2cb7818cca7 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.12.3.tar.xz 631392 BLAKE2B 97d401cf79dd99e0b8869c454b9f4de8d9c87b2ab2382e627f60759f69b1b25a8b071ed5a7a53bd5641482390e8dfc691512bf367efce57d3fa9223e7af1cb4e SHA512 cab130bf57692852827864ac9156bdf76dbcf0691f6ce6fe04a7176123b2e3ff4637edbffb3c5b14ec1db6d5c2c4f3460ed54a5ccae98aee9547af45d0bc82a7
23 +DIST gst-rtsp-server-1.12.4.tar.xz 632488 BLAKE2B 86c9734128a34f3c3bb983133475ab0fd43a2ac79a76dcb1470a97165feca4a6b9b0c9dbf9177fe47a263eb2a192e57992eb767ffc938f7b0a026a252181dd2d SHA512 295c27803b22ba58fcbc2e2509246d64bb6bc038d8ad8b9fe5b82c75346cccff49c61157fb05e9557e45bcf791cc7b7720aea6dd2e23e9922a345da426f291f1
24
25 diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild
26 new file mode 100644
27 index 00000000000..80836e844b8
28 --- /dev/null
29 +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild
30 @@ -0,0 +1,70 @@
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 gstreamer
37 +
38 +DESCRIPTION="A GStreamer based RTSP server"
39 +HOMEPAGE="https://people.freedesktop.org/~wtay/"
40 +
41 +LICENSE="LGPL-2"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="examples +introspection static-libs test"
44 +
45 +# FIXME: check should depend on USE=test but check is losy
46 +# configure says good and bad are required by macros forces them to be optional
47 +# they are only used in unittests anyway.
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 + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
53 +"
54 +DEPEND="${RDEPEND}
55 + >=dev-libs/check-0.9.2
56 + >=dev-util/gtk-doc-am-1.12
57 + test? (
58 + >=media-libs/gst-plugins-bad-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
59 + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
60 + )
61 +"
62 +
63 +# Due to gstreamer src_configure
64 +QA_CONFIGURE_OPTIONS="--enable-nls"
65 +
66 +multilib_src_configure() {
67 + # debug: only adds -g to CFLAGS
68 + # docbook: nothing behind that switch
69 + # libcgroup is automagic and only used in examples
70 + gstreamer_multilib_src_configure \
71 + --disable-examples \
72 + --disable-docbook \
73 + --disable-gtk-doc \
74 + $(multilib_native_use_enable introspection) \
75 + $(use_enable static-libs static) \
76 + $(use_enable test tests) \
77 + LIBCGROUP_LIBS= \
78 + LIBCGROUP_FLAGS=
79 +
80 + # work-around gtk-doc out-of-source brokedness
81 + if multilib_is_native_abi ; then
82 + ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die
83 + fi
84 +}
85 +
86 +multilib_src_install() {
87 + emake install DESTDIR="${D}"
88 + # Handle broken upstream modifications to defaults of gtk-doc
89 + emake install -C docs/libs DESTDIR="${D}"
90 + prune_libtool_files
91 +}
92 +
93 +multilib_src_install_all() {
94 + einstalldocs
95 +
96 + if use examples ; then
97 + insinto /usr/share/doc/${PF}/examples
98 + doins "${S}"/examples/*.c
99 + fi
100 +}