Install this version:
emerge -a =media-libs/gst-rtsp-server-1.26.11
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-libs/gst-rtsp-server-1.26.11
Or alternatively:
emerge --autounmask-write -a =media-libs/gst-rtsp-server-1.26.11
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gstreamer-meson verify-sig
DESCRIPTION="A GStreamer based RTSP server"
HOMEPAGE="https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html"
SRC_URI+=" verify-sig? ( https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz.asc )"
LICENSE="LGPL-2+"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="examples +introspection static-libs"
# 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="
>=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.82.0-r2:= )
"
DEPEND="${RDEPEND}"
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-tpm )"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/tpm.asc
multilib_src_configure() {
local emesonargs=(
-Dintrospection=$(multilib_native_usex introspection enabled disabled)
)
gstreamer_multilib_src_configure
}
multilib_src_test() {
# User env may cause issues (notably dconf isnt multilib)
export GSETTINGS_BACKEND="memory"
gstreamer_multilib_src_configure
}
multilib_src_install_all() {
einstalldocs
if use examples ; then
docinto examples
dodoc "${S}"/examples/*.c
fi
}
Manage flags for this package:
euse -i <flag> -p media-libs/gst-rtsp-server |
euse -E <flag> -p media-libs/gst-rtsp-server |
euse -D <flag> -p media-libs/gst-rtsp-server
>=media-libs/gstreamer-1.26.11:[introspection?,] >=media-libs/gst-plugins-base-1.26.11:[introspection?,] >=media-libs/gst-plugins-good-1.26.11:[] >=media-plugins/gst-plugins-srtp-1.26.11:[] introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
>=media-libs/gstreamer-1.26.11:[introspection?,] >=media-libs/gst-plugins-base-1.26.11:[introspection?,] >=media-libs/gst-plugins-good-1.26.11:[] >=media-plugins/gst-plugins-srtp-1.26.11:[] introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
verify-sig? ( sec-keys/openpgp-keys-tpm )