media-libs/gst-rtsp-server: security cleanup

Bug: https://bugs.gentoo.org/715100
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: John Helmert III <jchelmert3@posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/18074
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
John Helmert III
2020-11-11 00:25:33 +00:00
committed by Sam James
parent 6eb198608e
commit 60ea9c2e19
2 changed files with 0 additions and 71 deletions
-1
View File
@@ -1,2 +1 @@
DIST gst-rtsp-server-1.14.5.tar.xz 672180 BLAKE2B 3e67f703c190e46580cf7c08a9437d51e9c1e009dd27cf359ecd5aa301ddda6cd70c0d5567e72c6e5f9443318e899a9b55e6883c71c9fc021f77286afd89bbc9 SHA512 dbfb63fb219808d2a32d710bef33d2b3b9906300d4c527c72534a4cb6db0f5ce4f4fadcedf7f6a3a5f46005f4408717d9aafa1a510c4aed18f5d07d6b3646492
DIST gst-rtsp-server-1.16.2.tar.xz 693368 BLAKE2B 612b59bc3a08167a81790c8d5164efebb8756ce3d3c9c278a0363bd640929b14d2fb1c26454a513dbaa9e093a702e7553950b6210ef57a6e9188a059c81650d3 SHA512 e18d87ae309594ffd7917b1804e595b83d5002518608f0ee03b9e68ab9bdf771ec2f691e50408618a6d1a39495c123e8288b3179e6cdaef65a38ef404544e0eb
@@ -1,70 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gstreamer
DESCRIPTION="A GStreamer based RTSP server"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
LICENSE="LGPL-2+"
KEYWORDS="amd64 x86"
IUSE="examples +introspection static-libs test"
RESTRICT="!test? ( test )"
# gst-plugins-base for many used elements and API
# gst-plugins-good for rtprtxsend and rtpbin elements, maybe more
# gst-plugins-srtp for srtpenc and srtpdec elements
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}]
>=media-libs/gst-plugins-good-${PV}:${SLOT}[${MULTILIB_USEDEP}]
>=media-plugins/gst-plugins-srtp-${PV}:${SLOT}[${MULTILIB_USEDEP}]
introspection? ( >=dev-libs/gobject-introspection-1.31.1:= )
"
DEPEND="${RDEPEND}
>=dev-util/gtk-doc-am-1.12
"
# 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-debug \
--disable-valgrind \
--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}"
}
multilib_src_install_all() {
einstalldocs
find "${ED}" -name '*.la' -delete || die
if use examples ; then
insinto /usr/share/doc/${PF}/examples
doins "${S}"/examples/*.c
fi
}