2011-10-28 11:02:19 +00:00
|
|
|
# Template file for 'lv2-ui'
|
|
|
|
pkgname=lv2-ui
|
|
|
|
version=2.2
|
|
|
|
build_style=waf
|
|
|
|
homepage="http://lv2plug.in"
|
2011-10-28 11:03:33 +00:00
|
|
|
distfiles="http://lv2plug.in/spec/${pkgname}-${version}.tar.bz2"
|
2012-05-23 16:26:56 +00:00
|
|
|
depends="glibc"
|
|
|
|
makedepends="python"
|
|
|
|
fulldepends="lv2core"
|
2011-10-28 11:02:19 +00:00
|
|
|
short_desc="UI API for the LV2 plugin standard"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="LGPL-2.1, BSD"
|
|
|
|
checksum=d348acf4f1559800fe74cbc0ad8058e8db97d7d4913942f146cd1c86c5227db0
|
|
|
|
long_desc="
|
|
|
|
LV2 is a plugin standard for audio systems. It defines a minimal yet
|
|
|
|
extensible C API for plugin code and a format for plugin bundles.
|
|
|
|
|
|
|
|
This is the UI API."
|
|
|
|
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# This bit is from Arch
|
|
|
|
# do the work of lv2config to own symlinks;
|
|
|
|
# - generate lv2 headers
|
|
|
|
# - see FS#23514
|
|
|
|
local _ns=$(grep '^<http' manifest.ttl | sed 's|<http://\(.*\)>|\1|')
|
|
|
|
local _name=${_ns/*\/}
|
|
|
|
local _path="usr/include/lv2/${_ns%/*}"
|
|
|
|
vmkdir "$_path"
|
|
|
|
cd "${DESTDIR}/usr/include/lv2/${_ns%/*}" && \
|
|
|
|
ln -s "../../../../../lib/lv2/$_name.lv2" "$_name"
|
|
|
|
|
2011-10-28 11:54:33 +00:00
|
|
|
# Clean up build-specific files glob-copied by waf install target
|
|
|
|
cd "$DESTDIR/usr/lib/lv2/$_name.lv2" && rm {.xbps_,.lock-wafbuild}*
|
2011-10-28 11:02:19 +00:00
|
|
|
}
|