# Template file for 'dssi'
pkgname=dssi
version=1.1.1
revision=2
build_style=gnu-configure
makedepends="pkg-config glibc-devel libstdc++-devel qt-devel libX11-devel
 liblo-devel libsndfile-devel libsamplerate-devel alsa-lib-devel jack-devel
 ladspa-sdk libSM-devel"
short_desc="API for audio processing plugins"
maintainer="davehome <davehome@redthumb.info.tm>"
license="LGPL-2.1"
homepage="http://dssi.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e
long_desc="
 DSSI is an API for audio processing plugins, particularly useful for software
 synthesis plugins with user interfaces."

dssi-devel_package() {
	depends="dssi>=${version}"
	short_desc="${short_desc} - Development files"
	pkg_install() {
        	vmove usr/include
		vmove usr/lib/pkgconfig
	}
}

dssi-example-plugins_package() {
	depends="dssi>=${version}"
	short_desc="${short_desc} - Example plugins"
	pkg_install() {
        	vmove usr/lib/dssi
	}
}

dssi_package() {
	pkg_install() {
		vmove usr
	}
}
