aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/dssi
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/dssi')
-rw-r--r--unmaintained/dssi/APKBUILD55
1 files changed, 55 insertions, 0 deletions
diff --git a/unmaintained/dssi/APKBUILD b/unmaintained/dssi/APKBUILD
new file mode 100644
index 0000000000..1082c8d376
--- /dev/null
+++ b/unmaintained/dssi/APKBUILD
@@ -0,0 +1,55 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dssi
+pkgver=1.1.1
+pkgrel=0
+pkgdesc="Disposable Soft Synth Interface"
+url="http://dssi.sourceforge.net/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="alsa-lib-dev ladspa-dev"
+makedepends="$depends_dev jack-dev libsamplerate-dev libsndfile-dev liblo-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc $pkgname-examples"
+source="http://download.sf.net/sourceforge/dssi/dssi-$pkgver.tar.gz"
+
+_builddir="$srcdir"/dssi-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+
+ # sanity check
+ make -C tests controller && tests/controller
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+examples() {
+ pkgdesc="DSSI plugin examples"
+ mkdir -p "$subpkgdir"/usr/lib/dssi/
+ mv "$pkgdir"/usr/lib/dssi/less_trivial* \
+ "$pkgdir"/usr/lib/dssi/trivial_* \
+ "$pkgdir"/usr/lib/dssi/karplong* \
+ "$subpkgdir"/usr/lib/dssi/
+}
+md5sums="619ab73c883b02dc37ddb37001591f8b dssi-1.1.1.tar.gz"