47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
# Template file for 'gstreamer1'
|
|
pkgname=gstreamer1
|
|
version=1.24.6
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dptp-helper-permissions=capabilities
|
|
-Dpackage-origin=https://www.voidlinux.org -Ddbghelp=disabled
|
|
$(vopt_feature gir introspection)"
|
|
hostmakedepends="gettext pkg-config flex python3 docbook-xsl glib-devel
|
|
libcap-progs"
|
|
makedepends="libxml2-devel libglib-devel libcap-devel bash-completion"
|
|
checkdepends="gsl-devel gmp-devel valgrind-devel"
|
|
short_desc="Core GStreamer libraries and elements (1.x)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://gstreamer.freedesktop.org"
|
|
changelog="https://gstreamer.freedesktop.org/releases/${version%.*}/#${version}"
|
|
distfiles="https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${version}.tar.xz"
|
|
checksum=64342060d7c6f9e36a35e3be38a4f5ac3b41ed93b0853619be45141ef3cc1b9d
|
|
|
|
pre_check() {
|
|
# gst_gstdatetime is known to fail according to LFS
|
|
vsed -i '/gstdatetime/d' tests/check/meson.build
|
|
}
|
|
|
|
do_check() {
|
|
ninja -C build test || msg_warn "Fails on musl"
|
|
}
|
|
|
|
build_options="gir"
|
|
build_options_default="gir"
|
|
|
|
gstreamer1-devel_package() {
|
|
depends="libglib-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share/aclocal
|
|
if [ "$build_option_gir" ]; then
|
|
vmove "usr/share/gir*"
|
|
fi
|
|
}
|
|
}
|