void-packages/srcpkgs/dssi/template

38 lines
945 B
Bash

# Template file for 'dssi'
pkgname=dssi
version=1.1.1
revision=7
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="
liblo-devel libsndfile-devel libsamplerate-devel alsa-lib-devel jack-devel
ladspa-sdk libSM-devel libX11-devel qt-devel"
short_desc="API for audio processing plugins"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1"
homepage="http://dssi.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=f2c82b073a947c8255284249097667f9b14e660bf86186f3fcd3b3b3e087814e
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt-host-tools qt-devel"
fi
dssi-devel_package() {
depends="dssi>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}
dssi-example-plugins_package() {
lib32disabled=yes
depends="dssi>=${version}"
short_desc+=" - Example plugins"
pkg_install() {
vmove usr/lib/dssi
}
}