mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-12 11:48:36 +02:00
50 lines
1.3 KiB
Text
50 lines
1.3 KiB
Text
# Contributor: Andrew Panteleyev <insonifi@gmail.com>
|
|
maintainer="Krassy Boykinov <kboykinov@teamcentrixx.com>"
|
|
pkgname=gst-rtsp-server
|
|
pkgver=1.26.2
|
|
pkgrel=0
|
|
pkgdesc="GStreamer RTSP server"
|
|
url="https://gstreamer.freedesktop.org"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
depends_dev="gst-plugins-base-dev"
|
|
makedepends="
|
|
$depends_dev
|
|
gobject-introspection-dev
|
|
gst-plugins-bad-dev
|
|
gstreamer-dev
|
|
meson
|
|
"
|
|
checkdepends="gst-plugins-good"
|
|
subpackages="$pkgname-dev"
|
|
source="https://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-$pkgver.tar.xz"
|
|
options="!check" # tests pass locally but not in ci
|
|
|
|
# secfixes:
|
|
# 1.24.9-r0:
|
|
# - CVE-2024-44331
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -O2" \
|
|
CXXFLAGS="$CXXFLAGS -O2" \
|
|
CPPFLAGS="$CPPFLAGS -O2" \
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dpackage-origin="https://alpinelinux.org" \
|
|
-Dpackage-name="GStreamer RTSP server (Alpine Linux)" \
|
|
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
5187ae0e8a7e448ec956b910363617857932f26028d00b70c5b8b6312da9b3c6733a6e4a73a628bbfa4a66fde966e70017bbd7dc96eee81c50065be93e852a64 gst-rtsp-server-1.26.2.tar.xz
|
|
"
|