summaryrefslogtreecommitdiff
path: root/audio/samplv1-lv2
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-10-28 21:12:06 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-10-28 21:12:06 +0000
commitd74a9d0b4742c60750db3c3e11967235acd05da4 (patch)
treee65ea4709931e814f9ae56cbaf0aaaf2f6c975d9 /audio/samplv1-lv2
parentx11-toolkits/wlc: Mark as deprecated (diff)
New port: audio/samplv1-lv2: Old-school polyphonic sampler
Notes
Notes: svn path=/head/; revision=483354
Diffstat (limited to 'audio/samplv1-lv2')
-rw-r--r--audio/samplv1-lv2/Makefile31
-rw-r--r--audio/samplv1-lv2/distinfo3
-rw-r--r--audio/samplv1-lv2/files/patch-src_samplv1__jack.cpp10
-rw-r--r--audio/samplv1-lv2/pkg-descr8
-rw-r--r--audio/samplv1-lv2/pkg-plist23
5 files changed, 75 insertions, 0 deletions
diff --git a/audio/samplv1-lv2/Makefile b/audio/samplv1-lv2/Makefile
new file mode 100644
index 000000000000..7e685f78eef3
--- /dev/null
+++ b/audio/samplv1-lv2/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= samplv1
+DISTVERSIONPREFIX= ${PORTNAME}_
+DISTVERSION= 0_9_3
+CATEGORIES= audio
+PKGNAMESUFFIX= -lv2
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Old-school polyphonic sampler
+
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= lv2>0:audio/lv2
+LIB_DEPENDS= libjack.so:audio/jack \
+ liblo.so:audio/liblo \
+ libsndfile.so:audio/libsndfile
+
+USES= autoreconf gl gmake pkgconfig qt:5 shared-mime-info
+GNU_CONFIGURE= yes
+USE_GITHUB= yes
+GH_ACCOUNT= rncbc
+USE_GL= gl
+USE_QT= core gui widgets xml buildtools_build qmake_build
+
+PLIST_SUB= SHL3=${PORTVERSION} SHL2=${PORTVERSION:R}
+
+CONFIGURE_ARGS= --disable-alsa-midi
+
+.include <bsd.port.mk>
diff --git a/audio/samplv1-lv2/distinfo b/audio/samplv1-lv2/distinfo
new file mode 100644
index 000000000000..dc8865890742
--- /dev/null
+++ b/audio/samplv1-lv2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1540760321
+SHA256 (rncbc-samplv1-samplv1_0_9_3_GH0.tar.gz) = ae099d185932e67e8a6c5d0ba10e668511412ec5d9115526f436fa82bf205583
+SIZE (rncbc-samplv1-samplv1_0_9_3_GH0.tar.gz) = 237220
diff --git a/audio/samplv1-lv2/files/patch-src_samplv1__jack.cpp b/audio/samplv1-lv2/files/patch-src_samplv1__jack.cpp
new file mode 100644
index 000000000000..a8bba46948b3
--- /dev/null
+++ b/audio/samplv1-lv2/files/patch-src_samplv1__jack.cpp
@@ -0,0 +1,10 @@
+--- src/samplv1_jack.cpp.orig 2018-10-28 20:59:40 UTC
++++ src/samplv1_jack.cpp
+@@ -32,6 +32,7 @@
+ #include <string.h>
+
+ #include <math.h>
++#include <unistd.h>
+
+ #include <QCoreApplication>
+ #include <QDir>
diff --git a/audio/samplv1-lv2/pkg-descr b/audio/samplv1-lv2/pkg-descr
new file mode 100644
index 000000000000..ee24a1b89e84
--- /dev/null
+++ b/audio/samplv1-lv2/pkg-descr
@@ -0,0 +1,8 @@
+Old-school all-digital polyphonic sampler synthesizer with stereo fx.
+
+Features:
+* A LV2 instrument plug-in
+* A pure stand-alone JACK client with JACK-session, NSM (Non Session management)
+ and both JACK MIDI and ALSA MIDI input support
+
+WWW: https://samplv1.sourceforge.io/
diff --git a/audio/samplv1-lv2/pkg-plist b/audio/samplv1-lv2/pkg-plist
new file mode 100644
index 000000000000..60830d5d7a41
--- /dev/null
+++ b/audio/samplv1-lv2/pkg-plist
@@ -0,0 +1,23 @@
+bin/samplv1_jack
+lib/libsamplv1.so
+lib/libsamplv1.so.0
+lib/libsamplv1.so.%%SHL2%%
+lib/libsamplv1.so.%%SHL3%%
+lib/libsamplv1_ui.so
+lib/libsamplv1_ui.so.0
+lib/libsamplv1_ui.so.%%SHL2%%
+lib/libsamplv1_ui.so.%%SHL3%%
+lib/lv2/samplv1.lv2/manifest.ttl
+lib/lv2/samplv1.lv2/samplv1.so
+lib/lv2/samplv1.lv2/samplv1.ttl
+lib/lv2/samplv1.lv2/samplv1_ui.so
+lib/lv2/samplv1.lv2/samplv1_ui.ttl
+man/man1/samplv1.1.gz
+man/man1/samplv1.fr.1.gz
+share/applications/samplv1.desktop
+share/icons/hicolor/32x32/apps/samplv1.png
+share/icons/hicolor/32x32/mimetypes/application-x-samplv1-preset.png
+share/icons/hicolor/scalable/apps/samplv1.svg
+share/icons/hicolor/scalable/mimetypes/application-x-samplv1-preset.svg
+share/metainfo/samplv1.appdata.xml
+share/mime/packages/samplv1.xml