mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
85 lines
1.8 KiB
Text
85 lines
1.8 KiB
Text
maintainer="Krassy Boykinov <kboykinov@teamcentrixx.com>"
|
|
pkgname=gst-plugins-base
|
|
pkgver=1.24.12
|
|
pkgrel=0
|
|
pkgdesc="GStreamer streaming media framework base plug-ins"
|
|
url="https://gstreamer.freedesktop.org"
|
|
arch="all"
|
|
license="GPL-2.0-or-later AND LGPL-2.0-or-later"
|
|
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang"
|
|
replaces="gst-plugins-base1 gst-plugins-bad"
|
|
depends_dev="wayland-dev"
|
|
makedepends="
|
|
alsa-lib-dev
|
|
cdparanoia-dev
|
|
expat-dev
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
graphene-dev
|
|
gstreamer-dev
|
|
gtk+3.0-dev
|
|
libice-dev
|
|
libogg-dev
|
|
libsm-dev
|
|
libtheora-dev
|
|
libvorbis-dev
|
|
libxv-dev
|
|
mesa-dev
|
|
meson
|
|
opus-dev
|
|
orc-compiler
|
|
orc-dev
|
|
perl
|
|
"
|
|
source="https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz"
|
|
ldpath="/usr/lib/gstreamer-1.0"
|
|
|
|
# secfixes:
|
|
# 1.24.10-r0:
|
|
# - CVE-2024-47542
|
|
# - CVE-2024-47600
|
|
# - CVE-2024-47538
|
|
# - CVE-2024-47541
|
|
# - CVE-2024-47607
|
|
# - CVE-2024-47615
|
|
# - CVE-2024-47835
|
|
# 1.18.4-r0:
|
|
# - CVE-2021-3522
|
|
# 1.16.0-r0:
|
|
# - CVE-2019-9928
|
|
|
|
# sporadic testsuite failures on various archs, testsuite fails with network
|
|
# restricted too
|
|
options="!check"
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -O2" \
|
|
CXXFLAGS="$CXXFLAGS -O2" \
|
|
CPPFLAGS="$CPPFLAGS -O2" \
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dalsa=enabled \
|
|
-Dintrospection=enabled \
|
|
-Dpackage-origin="https://alpinelinux.org" \
|
|
-Dpackage-name="GStreamer base plug-ins (Alpine Linux)" \
|
|
-Dtests="$(want_check && echo enabled || echo disabled)" \
|
|
. output
|
|
meson compile -C output
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
doc() {
|
|
default_doc
|
|
replaces="${pkgname}1-doc"
|
|
}
|
|
|
|
sha512sums="
|
|
84d809d30fb8d7448541a2ba3a655a560edb9085de6a44a6cb0f0f51874f1231e3001013749a0574f867eb3b1d14c60ec2b7edf11c016328068613809128d6db gst-plugins-base-1.24.12.tar.xz
|
|
"
|