41 lines
1.0 KiB
Bash
41 lines
1.0 KiB
Bash
# Template file for 'orc'
|
|
pkgname=orc
|
|
version=0.4.34
|
|
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=8f47abb3f097171e44eb807adcdabd860fba2effd37d8d3c4fbd5f341cadd41f
|
|
|
|
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"
|
|
vmove usr/share/aclocal
|
|
if [ "$build_option_gtk_doc" ]; then
|
|
vmove usr/share/gtk-doc
|
|
fi
|
|
}
|
|
}
|