# Template file for 'gst1-editing-services'
pkgname=gst1-editing-services
version=1.18.4
revision=1
wrksrc="${pkgname/gst1/gst}-${version}"
build_style=meson
build_helper="gir"
configure_args="-Dgtk_doc=disabled"
hostmakedepends="flex perl pkg-config gobject-introspection"
makedepends="glib-devel gst-plugins-base1-devel gst-plugins-bad1-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"
distfiles="${homepage}/src/${pkgname/gst1/gst}/${pkgname/gst1/gst}-${version}.tar.xz"
checksum=4687b870a7de18aebf50f45ff572ad9e0138020e3479e02a6f056a0c4c7a1d04

do_check() {
	: # Tests fail in older versions as well
}

gst1-editing-services-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
