2011-10-28 08:37:42 +00:00
|
|
|
# Template file for 'lv2core'
|
|
|
|
pkgname=lv2core
|
|
|
|
version=4.0
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=3
|
2011-10-28 08:37:42 +00:00
|
|
|
build_style=waf
|
|
|
|
homepage="http://lv2plug.in"
|
|
|
|
distfiles="http://lv2plug.in/spec/lv2core-4.0.tar.bz2"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="python"
|
2011-10-28 08:37:42 +00:00
|
|
|
short_desc="Plugin standard for audio systems"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
license="LGPL-2.1, BSD"
|
|
|
|
checksum=eff74c0db770a1b5a6d1cc7b7b96f0b2d2c5523bfa8c1945a60b15e00199b2cc
|
|
|
|
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."
|
|
|
|
|
2011-10-28 09:07:02 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-28 10:51:39 +00:00
|
|
|
# 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 09:07:02 +00:00
|
|
|
}
|