Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gst-rtsp-server/
Date: Sat, 26 Dec 2015 18:21:28
Message-Id: 1451154049.36e0111df8a1866c5da4604f7a377e995c343142.eva@gentoo
1 commit: 36e0111df8a1866c5da4604f7a377e995c343142
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 18:00:52 2015 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 18:20:49 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36e0111d
7
8 media-libs/gst-rtsp-server: version bump to 1.6.2
9
10 Package-Manager: portage-2.2.26
11
12 media-libs/gst-rtsp-server/Manifest | 1 +
13 .../gst-rtsp-server/gst-rtsp-server-1.6.2.ebuild | 73 ++++++++++++++++++++++
14 2 files changed, 74 insertions(+)
15
16 diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest
17 index a6bfbca..6b4e8b8 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 SHA256 9915887cf8515bda87462c69738646afb715b597613edc7340477ccab63a6617 SHA512 c5020cffa9334b7d9c6b9dbe6f32bd4580eeee1c67689269d232e954ef9d96d8b988e3fb19da89701eae26419df0bf6de5796f7780cfbedda4c07154b1c1ebd7 WHIRLPOOL 6bd260edaef5ab003ef7176d84c46d5a94d365af51226108af9ab845d6e5910d90c721d5fd87e7fe93b141a82e5114b4c674a1d2500ef57302bf845c87f5463c
22 DIST gst-rtsp-server-1.4.5.tar.xz 530724 SHA256 3089254bd31b7c1f1cf2c034a3b3551f92878f9e3cab65cef3a901a04c0f1d37 SHA512 0f7bbad94416de73abffd76f88fa051b6db4e5250486669b29b101d06a3629ccef886f2048d51d1e3b78c22393eaa86a1f44c696b25ffabc19a1c37c3e442a35 WHIRLPOOL 0a82942e3172a5d6f7699e73c41ab6cfd5c85c52153058fc38673dd347df5f67fa26229273cf29a6ef841c85ddf3ae3f37c0d5db073978c7f9d5546db9b7ce39
23 +DIST gst-rtsp-server-1.6.2.tar.xz 560824 SHA256 0f51f9879556c0950203c766b09a1b62f1f25b17f9a7d516e01b13ecf93c8858 SHA512 853a26cde765f029c1d357092684a2c0b187c213e0877567b17f45727e179e110fd55484134bfee0dfd32b5af8fa8443c5cafac0aa6d445166fe3d12aa331354 WHIRLPOOL fba57cdb95926312f2e9d3db495ecffdd46962c758aafb606d18c900007561e8da7233da2939100ba7fd03d4d4c4605c72511a2cc26408e09aefd83f2d59e6ae
24
25 diff --git a/media-libs/gst-rtsp-server/gst-rtsp-server-1.6.2.ebuild b/media-libs/gst-rtsp-server/gst-rtsp-server-1.6.2.ebuild
26 new file mode 100644
27 index 0000000..71a6596
28 --- /dev/null
29 +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.6.2.ebuild
30 @@ -0,0 +1,73 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +inherit eutils gstreamer
38 +
39 +DESCRIPTION="A GStreamer based RTSP server"
40 +HOMEPAGE="http://people.freedesktop.org/~wtay/"
41 +
42 +LICENSE="LGPL-2"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="examples +introspection static-libs test"
45 +
46 +# FIXME: check should depend on USE=test but check is losy
47 +# configure says good and bad are required by macros forces them to be optional
48 +# they are only used in unittests anyway.
49 +RDEPEND="
50 + >=dev-libs/glib-2.32:2[${MULTILIB_USEDEP}]
51 + >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
52 + >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
53 +
54 + introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
55 +"
56 +DEPEND="${RDEPEND}
57 + >=dev-libs/check-0.9.2
58 + >=dev-util/gtk-doc-am-1.12
59 + virtual/pkgconfig
60 + test? (
61 + >=media-libs/gst-plugins-bad-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}]
62 + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
63 + )
64 +"
65 +
66 +# Due to gstreamer src_configure
67 +QA_CONFIGURE_OPTIONS="--enable-nls"
68 +
69 +multilib_src_configure() {
70 + # debug: only adds -g to CFLAGS
71 + # docbook: nothing behind that switch
72 + # libcgroup is automagic and only used in examples
73 + gstreamer_multilib_src_configure \
74 + --disable-examples \
75 + --disable-docbook \
76 + --disable-gtk-doc \
77 + $(multilib_native_use_enable introspection) \
78 + $(use_enable static-libs static) \
79 + $(use_enable test tests) \
80 + LIBCGROUP_LIBS= \
81 + LIBCGROUP_FLAGS=
82 +
83 + # work-around gtk-doc out-of-source brokedness
84 + if multilib_is_native_abi ; then
85 + ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die
86 + fi
87 +}
88 +
89 +multilib_src_install() {
90 + emake install DESTDIR="${D}"
91 + # Handle broken upstream modifications to defaults of gtk-doc
92 + emake install -C docs/libs DESTDIR="${D}"
93 + prune_libtool_files
94 +}
95 +
96 +multilib_src_install_all() {
97 + einstalldocs
98 +
99 + if use examples ; then
100 + insinto /usr/share/doc/${PF}/examples
101 + doins "${S}"/examples/*.c
102 + fi
103 +}