void-packages/srcpkgs/lilv/template
2021-10-09 08:01:02 -04:00

46 lines
1.1 KiB
Bash

# Template file for 'lilv'
pkgname=lilv
version=0.24.12
revision=2
build_style=waf3
configure_args="--dyn-manifest"
hostmakedepends="pkg-config"
makedepends="python3-devel serd-devel sord-devel sratom-devel libsndfile-devel
lv2"
short_desc="Simple yet powerful C API for using LV2 plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="http://drobilla.net/software/lilv/"
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
checksum=26a37790890c9c1f838203b47f5b2320334fe92c02a4d26ebbe2669dbd769061
post_install() {
vlicense COPYING
rm -rf "$DESTDIR"/usr/etc
}
liblilv_package() {
short_desc+=" - Runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
chmod 755 ${PKGDESTDIR}/usr/lib/*.so*
}
}
lilv-bash-completion_package() {
depends="bash-completion lilv"
short_desc+=" - Bash completion for Lilv"
pkg_install() {
vcompletion utils/lilv.bash_completion bash
}
}
lilv-devel_package() {
depends="serd-devel sord-devel sratom-devel lv2 liblilv>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}