2011-10-28 10:37:42 +02:00
|
|
|
# Template file for 'lv2core'
|
|
|
|
pkgname=lv2core
|
|
|
|
version=4.0
|
2011-10-28 12:51:39 +02:00
|
|
|
revision=2
|
2011-10-28 10:37:42 +02:00
|
|
|
build_style=waf
|
|
|
|
homepage="http://lv2plug.in"
|
|
|
|
distfiles="http://lv2plug.in/spec/lv2core-4.0.tar.bz2"
|
|
|
|
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."
|
|
|
|
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency build python
|
2011-10-28 11:07:02 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-28 12:51:39 +02: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 11:07:02 +02:00
|
|
|
}
|