2011-10-28 09:33:03 +00:00
|
|
|
# Template file for 'lilv'
|
|
|
|
pkgname=lilv
|
2014-10-28 11:05:22 +00:00
|
|
|
version=0.20.0
|
|
|
|
revision=1
|
2011-10-28 09:33:03 +00:00
|
|
|
build_style=waf
|
2012-09-22 07:06:15 +00:00
|
|
|
configure_args="--dyn-manifest"
|
2014-02-21 10:49:33 +00:00
|
|
|
hostmakedepends="pkg-config python"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="python-devel serd-devel sord-devel sratom-devel lv2"
|
2014-02-21 10:49:33 +00:00
|
|
|
short_desc="A simple yet powerful C API for using LV2 plugins"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2011-10-28 09:33:03 +00:00
|
|
|
license="ISC"
|
2013-04-13 08:15:49 +00:00
|
|
|
homepage="http://drobilla.net/software/lilv/"
|
|
|
|
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
|
2014-10-28 11:05:22 +00:00
|
|
|
checksum=428a39f1265d44c55f2604829a12ade0ea13e1a1022ff937ca2a9ad227bd422a
|
2014-02-21 10:49:33 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/share/bash-completion/completions
|
|
|
|
mv ${DESTDIR}/usr/etc/bash_completion.d/* ${DESTDIR}/usr/share/bash-completion/completions
|
|
|
|
}
|
2011-10-28 09:33:03 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
liblilv_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - Runtime library"
|
2013-04-15 15:35:43 +00:00
|
|
|
pkg_install() {
|
2014-02-21 10:49:33 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-13 08:15:49 +00:00
|
|
|
chmod 755 ${PKGDESTDIR}/usr/lib/*.so*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lilv-bash-completion_package() {
|
|
|
|
depends="bash-completion lilv"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - Bash completion for Lilv"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
2014-02-21 10:49:33 +00:00
|
|
|
vmove usr/share/bash-completion
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lilv-devel_package() {
|
2014-02-21 10:49:33 +00:00
|
|
|
depends="sord-devel liblilv>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - Development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-21 10:49:33 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
}
|
|
|
|
}
|