void-packages/srcpkgs/dssi-vst/template

47 lines
1.2 KiB
Plaintext

# Template file for 'dssi-vst'
pkgname=dssi-vst
version="0.9.2.$(date -u +%Y%m%d)"
revision=1
makedepends="pkg-config jack-devel alsa-lib-devel
liblo-devel dssi-devel ladspa-sdk wine-unstable wine-unstable-devel"
short_desc="Run Windows VST plugins on Linux"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL"
homepage="http://breakfastquay.com/dssi-vst/"
long_desc="
dssi-vst is an adapter that allows users of Linux audio software to take VST
and VSTi audio effects and instrument plugins compiled for Windows, and load
them into native LADSPA or DSSI plugin hosts. Plugins run at full speed for
most audio processing, although their user interfaces are slower because of
the Windows emulation."
only_for_archs=i686
nofetch=yes
noextract=yes
do_fetch() {
local url="git://github.com/falkTX/dssi-vst.git"
msg_normal " Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
do_configure() {
sed -i -e "s|/usr/local|/usr|" Makefile
sed -i -e 's/LINK_FLAGS =/& -pthread -lrt/' Makefile
}
do_build() {
make ${makejobs} DESTDIR=${DESTDIR}
}
do_install() {
make ${makejobs} DESTDIR=${DESTDIR} install
}
dssi-vst_package() {
depends="dssi ladspa-sdk ladspa-sdk-progs"
pkg_install() {
vmove usr
}
}