2011-10-28 11:33:03 +02:00
|
|
|
# Template file for 'lilv'
|
|
|
|
pkgname=lilv
|
2012-09-22 09:06:15 +02:00
|
|
|
version=0.14.4
|
2014-02-21 11:49:33 +01:00
|
|
|
revision=3
|
2011-10-28 11:33:03 +02:00
|
|
|
build_style=waf
|
2012-09-22 09:06:15 +02:00
|
|
|
configure_args="--dyn-manifest"
|
2014-02-21 11:49:33 +01:00
|
|
|
hostmakedepends="pkg-config python"
|
|
|
|
makedepends="python-devel serd-devel>=0.18.0 sord-devel sratom-devel>=0.4.0 lv2"
|
|
|
|
short_desc="A simple yet powerful C API for using LV2 plugins"
|
2011-10-28 11:33:03 +02:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="ISC"
|
2013-04-13 10:15:49 +02:00
|
|
|
homepage="http://drobilla.net/software/lilv/"
|
|
|
|
distfiles="http://download.drobilla.net/${pkgname}-${version}.tar.bz2"
|
2012-09-22 09:06:15 +02:00
|
|
|
checksum=4a92b3961f1483370509200741c33e826e4205308bee09923d0fd938653fdf8b
|
2014-02-21 11:49:33 +01: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 11:33:03 +02:00
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
liblilv_package() {
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - Runtime library"
|
2013-04-15 17:35:43 +02:00
|
|
|
pkg_install() {
|
2014-02-21 11:49:33 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-13 10:15:49 +02:00
|
|
|
chmod 755 ${PKGDESTDIR}/usr/lib/*.so*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lilv-bash-completion_package() {
|
|
|
|
depends="bash-completion lilv"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - Bash completion for Lilv"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
2014-02-21 11:49:33 +01:00
|
|
|
vmove usr/share/bash-completion
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lilv-devel_package() {
|
2014-02-21 11:49:33 +01:00
|
|
|
depends="sord-devel liblilv>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - Development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-21 11:49:33 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|