mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 11:14:48 +02:00
49 lines
1.2 KiB
Text
49 lines
1.2 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
maintainer="Krassy Boykinov <kboykinov@teamcentrixx.com>"
|
|
pkgname=gst-editing-services
|
|
pkgver=1.26.2
|
|
pkgrel=0
|
|
pkgdesc="GStreamer Editing Services Library"
|
|
url="https://gstreamer.freedesktop.org"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
makedepends="
|
|
flex
|
|
glib-dev
|
|
gobject-introspection-dev
|
|
gst-plugins-bad-dev
|
|
gst-plugins-base-dev
|
|
gst-plugins-good
|
|
gstreamer-dev
|
|
gtk-doc
|
|
libxml2-dev
|
|
meson
|
|
py3-gobject3-dev
|
|
python3
|
|
"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-pyc"
|
|
source="https://gstreamer.freedesktop.org/src/gst-editing-services/gst-editing-services-$pkgver.tar.xz"
|
|
options="!check" # https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/issues/125
|
|
|
|
build() {
|
|
CFLAGS="$CFLAGS -O2" \
|
|
CXXFLAGS="$CXXFLAGS -O2" \
|
|
CPPFLAGS="$CPPFLAGS -O2" \
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-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="
|
|
6a83ccad875acdf10e1ba7634de6980ed949e7fd3238ea70a92e5c17e101a1dd7c39ab50072c2cc1c0c37c37c57e92b05bddcf07388a5950dafdf2b911c7f487 gst-editing-services-1.26.2.tar.xz
|
|
"
|