void-packages/srcpkgs/gst1-editing-services/template

42 lines
1.2 KiB
Bash

# Template file for 'gst1-editing-services'
pkgname=gst1-editing-services
version=1.24.4
revision=1
build_style=meson
build_helper="gir"
configure_args="-Ddoc=disabled $(vopt_feature gir introspection)"
hostmakedepends="flex perl pkg-config gobject-introspection"
makedepends="glib-devel gst-plugins-base1-devel gst-plugins-bad1-devel
python3-devel"
short_desc="GStreamer 1.x Editing Services"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
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/gst-editing-services/gst-editing-services-${version}.tar.xz"
checksum=8f6e6d4a75f8f60a75b34969bcf30c7118d3f0ba9977ff30173a89299f64e3af
build_options="gir"
if [ -z "${CROSS_BUILD}" ]; then
build_options_default="gir"
fi
do_check() {
: # Tests fail in older versions as well
}
gst1-editing-services-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} gst-plugins-base1-devel
python3-devel"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
if [ "${build_option_gir}" ]; then
vmove usr/share/gir-1.0
fi
}
}