mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 00:16:45 +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.24.12
|
|
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 --no-rebuild -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
28d6dd37be98e17ca2f01902b85cf1f61dd02053aa81f50114a8843478c34784b35896352a9a5913322dc6d90c632d436a9c9637aba4b9899712df7f7f3f3d15 gst-rtsp-server-1.24.12.tar.xz
|
|
"
|