40 lines
1.0 KiB
Bash
40 lines
1.0 KiB
Bash
# Template file for 'orc'
|
|
pkgname=orc
|
|
version=0.4.40
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir"
|
|
configure_args="-Dexamples=disabled -Dtests=disabled
|
|
$(vopt_feature gtk_doc gtk_doc)"
|
|
hostmakedepends="pkg-config $(vopt_if gtk_doc gtk-doc)"
|
|
short_desc="Oild Runtime Compiler"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://cgit.freedesktop.org/gstreamer/orc"
|
|
changelog="https://gitlab.freedesktop.org/gstreamer/orc/-/raw/main/RELEASE"
|
|
distfiles="http://gstreamer.freedesktop.org/src/orc/orc-${version}.tar.xz"
|
|
checksum=3fc2bee78dfb7c41fd9605061fc69138db7df007eae2f669a1f56e8bacef74ab
|
|
|
|
build_options="gtk_doc"
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default+=" gtk_doc"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
orc-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
if [ "$build_option_gtk_doc" ]; then
|
|
vmove usr/share/gtk-doc
|
|
fi
|
|
}
|
|
}
|