From d29329cc07d8aeeecc851bdba342847b58face44 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Thu, 15 Feb 2018 02:20:07 +0200 Subject: media-libs/gst-rtsp-server: bump to 1.12.4 for upstream bug fixes Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- media-libs/gst-rtsp-server/Manifest | 1 + .../gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild (limited to 'media-libs/gst-rtsp-server') diff --git a/media-libs/gst-rtsp-server/Manifest b/media-libs/gst-rtsp-server/Manifest index aacf6b118da7..2cb7818cca7f 100644 --- a/media-libs/gst-rtsp-server/Manifest +++ b/media-libs/gst-rtsp-server/Manifest @@ -1,2 +1,3 @@ DIST gst-rtsp-0.10.8.tar.bz2 567670 BLAKE2B 10c01001a53daa039b1c48917fcd31ac0f6437d365bac2aa6b70d0b43cb94df89ab1d2a55b8fc89f5e04efffca142f99fe0f96a1c2708acc9a062f4f3a01cd8d SHA512 c5020cffa9334b7d9c6b9dbe6f32bd4580eeee1c67689269d232e954ef9d96d8b988e3fb19da89701eae26419df0bf6de5796f7780cfbedda4c07154b1c1ebd7 DIST gst-rtsp-server-1.12.3.tar.xz 631392 BLAKE2B 97d401cf79dd99e0b8869c454b9f4de8d9c87b2ab2382e627f60759f69b1b25a8b071ed5a7a53bd5641482390e8dfc691512bf367efce57d3fa9223e7af1cb4e SHA512 cab130bf57692852827864ac9156bdf76dbcf0691f6ce6fe04a7176123b2e3ff4637edbffb3c5b14ec1db6d5c2c4f3460ed54a5ccae98aee9547af45d0bc82a7 +DIST gst-rtsp-server-1.12.4.tar.xz 632488 BLAKE2B 86c9734128a34f3c3bb983133475ab0fd43a2ac79a76dcb1470a97165feca4a6b9b0c9dbf9177fe47a263eb2a192e57992eb767ffc938f7b0a026a252181dd2d SHA512 295c27803b22ba58fcbc2e2509246d64bb6bc038d8ad8b9fe5b82c75346cccff49c61157fb05e9557e45bcf791cc7b7720aea6dd2e23e9922a345da426f291f1 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 new file mode 100644 index 000000000000..80836e844b80 --- /dev/null +++ b/media-libs/gst-rtsp-server/gst-rtsp-server-1.12.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils gstreamer + +DESCRIPTION="A GStreamer based RTSP server" +HOMEPAGE="https://people.freedesktop.org/~wtay/" + +LICENSE="LGPL-2" +KEYWORDS="~amd64 ~x86" +IUSE="examples +introspection static-libs test" + +# FIXME: check should depend on USE=test but check is losy +# configure says good and bad are required by macros forces them to be optional +# they are only used in unittests anyway. +RDEPEND=" + >=dev-libs/glib-2.40.0:2[${MULTILIB_USEDEP}] + >=media-libs/gstreamer-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-base-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.31.1:= ) +" +DEPEND="${RDEPEND} + >=dev-libs/check-0.9.2 + >=dev-util/gtk-doc-am-1.12 + test? ( + >=media-libs/gst-plugins-bad-${PV}:${SLOT}[introspection?,${MULTILIB_USEDEP}] + >=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}] + ) +" + +# Due to gstreamer src_configure +QA_CONFIGURE_OPTIONS="--enable-nls" + +multilib_src_configure() { + # debug: only adds -g to CFLAGS + # docbook: nothing behind that switch + # libcgroup is automagic and only used in examples + gstreamer_multilib_src_configure \ + --disable-examples \ + --disable-docbook \ + --disable-gtk-doc \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(use_enable test tests) \ + LIBCGROUP_LIBS= \ + LIBCGROUP_FLAGS= + + # work-around gtk-doc out-of-source brokedness + if multilib_is_native_abi ; then + ln -s "${S}"/docs/libs/${d}/html docs/libs/${d}/html || die + fi +} + +multilib_src_install() { + emake install DESTDIR="${D}" + # Handle broken upstream modifications to defaults of gtk-doc + emake install -C docs/libs DESTDIR="${D}" + prune_libtool_files +} + +multilib_src_install_all() { + einstalldocs + + if use examples ; then + insinto /usr/share/doc/${PF}/examples + doins "${S}"/examples/*.c + fi +} -- cgit v1.2.3-65-gdbad