mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
main/gstreamer: split gst-ptp-helper
The gst-ptp-helper is a setcap binary and should therefor be used with care. It is not essential to the functionality of gstreamer. > The reason for the capabilities is that this helper process has to > bind to ports 319/320 for receiving PTP packets, and unfortunately > UNIX considers ports < 1024 as privileged. > ... > Fortunately the only thing you’re losing like this is the ability to > use a PTP clock from GStreamer. https://discourse.gstreamer.org/t/what-is-the-rationale-of-setting-linux-capabilities-for-the-gst-ptp-helper-executable/511
This commit is contained in:
parent
cc7f1666e2
commit
bd0b4fa76b
@ -1,7 +1,7 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=gstreamer
|
||||
pkgver=1.22.8
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="GStreamer streaming media framework"
|
||||
url="https://gstreamer.freedesktop.org"
|
||||
arch="all"
|
||||
@ -23,6 +23,7 @@ subpackages="
|
||||
$pkgname-doc
|
||||
$pkgname-tools
|
||||
$pkgname-lang
|
||||
$pkgname-ptp-helper:ptp_helper
|
||||
"
|
||||
source="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz"
|
||||
# setcap: gst-ptp-helper
|
||||
@ -83,6 +84,13 @@ tools() {
|
||||
amove usr/bin
|
||||
}
|
||||
|
||||
ptp_helper() {
|
||||
pkgdesc="$pkgdesc (ptp helper)"
|
||||
install_if="$pkgname=$pkgver-r$pkgrel"
|
||||
|
||||
amove usr/libexec/gstreamer-*/gst-ptp-helper
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
eb1da4c37409eaf46d22c6c16fd9ed5f81f3dfcf2b2d00cf197127d3e4297d2cee121952cff7b05db63487b909ba61cd6bf68045424fb1aa5c50d9e9a3181970 gstreamer-1.22.8.tar.xz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user