orc: fix for meson 0.61

This commit is contained in:
Michal Vasilek 2022-03-25 11:35:35 +01:00
parent 48f36f5f62
commit 3b97f166f3

View file

@ -3,8 +3,9 @@ pkgname=orc
version=0.4.32
revision=1
build_style=meson
configure_args="-Dexamples=disabled -Dtests=disabled"
hostmakedepends="pkg-config gtk-doc"
build_helper="gir"
configure_args="-Dexamples=disabled -Dtests=disabled -Dgtk_doc=$(vopt_if gtk_doc enabled disabled)"
hostmakedepends="pkg-config $(vopt_if gtk_doc gtk-doc)"
short_desc="Oild Runtime Compiler"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-2-Clause"
@ -12,6 +13,12 @@ homepage="https://cgit.freedesktop.org/gstreamer/orc"
distfiles="http://gstreamer.freedesktop.org/src/orc/orc-${version}.tar.xz"
checksum=a66e3d8f2b7e65178d786a01ef61f2a0a0b4d0b8370de7ce134ba73da4af18f0
build_options="gtk_doc"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gtk_doc"
fi
post_install() {
vlicense COPYING
}
@ -25,6 +32,8 @@ orc-devel_package() {
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/aclocal
vmove usr/share/gtk-doc
if [ "$build_option_gtk_doc" ]; then
vmove usr/share/gtk-doc
fi
}
}