aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2017-11-27 14:49:04 +0800
committeryuri <yuri@FreeBSD.org>2017-11-27 14:49:04 +0800
commit1b3223754505c7be3528d00c7fe10dc40689f5a2 (patch)
tree6734982415d9ba44ab5ae03b21be4b6d70241fd6 /audio
parent34ea943d319e20152fb31c918b8e9b4c03dc0a25 (diff)
downloadfreebsd-ports-gnome-1b3223754505c7be3528d00c7fe10dc40689f5a2.tar.gz
freebsd-ports-gnome-1b3223754505c7be3528d00c7fe10dc40689f5a2.tar.zst
freebsd-ports-gnome-1b3223754505c7be3528d00c7fe10dc40689f5a2.zip
New port: audio/sorcer-lv2: Wavetable LV2 plugin synth targeted at the electronic/dubstep genre
Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13260
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/sorcer-lv2/Makefile29
-rw-r--r--audio/sorcer-lv2/distinfo3
-rw-r--r--audio/sorcer-lv2/files/patch-CMakeLists.txt32
-rw-r--r--audio/sorcer-lv2/pkg-descr8
5 files changed, 73 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ea8fcc4d4824..77b7f049a4e3 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -753,6 +753,7 @@
SUBDIR += solfege
SUBDIR += sonata
SUBDIR += sonic-visualiser
+ SUBDIR += sorcer-lv2
SUBDIR += sound-juicer
SUBDIR += soundconverter
SUBDIR += soundgrab
diff --git a/audio/sorcer-lv2/Makefile b/audio/sorcer-lv2/Makefile
new file mode 100644
index 000000000000..3d6305e5e468
--- /dev/null
+++ b/audio/sorcer-lv2/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= Sorcer
+DISTVERSIONPREFIX= release-
+DISTVERSION= 1.1.3
+CATEGORIES= audio
+PKGNAMESUFFIX= -lv2
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Wavetable LV2 plugin synth targeted at the electronic/dubstep genre
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= lv2>0:audio/lv2 \
+ ${LOCALBASE}/include/boost/circular_buffer.hpp:devel/boost-libs
+LIB_DEPENDS= libntk.so:x11-toolkits/ntk
+
+USES= cmake:outsource pkgconfig
+USE_GITHUB= yes
+GH_ACCOUNT= openAVproductions
+GH_PROJECT= openAV-${PORTNAME}
+USE_GNOME= cairo
+
+PLIST_FILES= lib/lv2/sorcer.lv2/manifest.ttl \
+ lib/lv2/sorcer.lv2/sorcer.so \
+ lib/lv2/sorcer.lv2/sorcer.ttl
+
+.include <bsd.port.mk>
diff --git a/audio/sorcer-lv2/distinfo b/audio/sorcer-lv2/distinfo
new file mode 100644
index 000000000000..152f7f1578ef
--- /dev/null
+++ b/audio/sorcer-lv2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1511729258
+SHA256 (openAVproductions-openAV-Sorcer-release-1.1.3_GH0.tar.gz) = a055c9d1cb1371e32acdd69fd58af9577611ea1a09e19c15611d548e84c43e1e
+SIZE (openAVproductions-openAV-Sorcer-release-1.1.3_GH0.tar.gz) = 158961
diff --git a/audio/sorcer-lv2/files/patch-CMakeLists.txt b/audio/sorcer-lv2/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..4f5ab7cd2c62
--- /dev/null
+++ b/audio/sorcer-lv2/files/patch-CMakeLists.txt
@@ -0,0 +1,32 @@
+--- CMakeLists.txt.orig 2016-03-06 16:11:56 UTC
++++ CMakeLists.txt
+@@ -15,13 +15,17 @@ find_package(PkgConfig)
+
+ #SET(CMAKE_INSTALL_PREFIX "/usr" )
+
+-pkg_check_modules(LV2 lv2 REQUIRED)
+-include_directories( ${LV2_INCLUDE_DIRS} )
+-
+ pkg_check_modules(NTK ntk REQUIRED)
+ include_directories( ${NTK_INCLUDE_DIRS} )
+ link_directories ( ${NTK_LIBRARY_DIRS} )
+
++pkg_check_modules(LV2 lv2 REQUIRED)
++include_directories( ${LV2_INCLUDE_DIRS} )
++
++pkg_check_modules(CAIRO cairo REQUIRED)
++include_directories( ${CAIRO_INCLUDE_DIRS} )
++link_directories ( ${CAIRO_LIBRARY_DIRS} )
++
+ SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined")
+
+ IF(RELEASE_BUILD)
+@@ -81,6 +85,8 @@ ADD_LIBRARY(sorcer SHARED ${sources})
+ target_link_libraries( sorcer ${NTK_LIBRARIES} )
+ #target_link_libraries( sorcer ${SNDFILE_LIBRARIES} )
+
++target_link_libraries( sorcer ${CAIRO_LIBRARIES} )
++
+ # Remove "lib" part before name (sorcer.so, not libsorcer.so)
+ set_target_properties(sorcer PROPERTIES PREFIX "")
+
diff --git a/audio/sorcer-lv2/pkg-descr b/audio/sorcer-lv2/pkg-descr
new file mode 100644
index 000000000000..b1613ed7cd43
--- /dev/null
+++ b/audio/sorcer-lv2/pkg-descr
@@ -0,0 +1,8 @@
+Sorcer is a polyphonic wavetable synth LV2 plugin. Its sonic fingerprint is
+one of harsh modulated sub-bass driven walls of sound. Two morphing wavetable
+oscillators and one sine oscillator provide the generation routines. The LFO
+can be mapped to wavetable modulation as well as filter cutoff. An ADSR allows
+for shaping the resulting sound, while a master volume finishes the signal
+chain. Easily creating a variety of dubstep basslines and harsh pad sounds.
+
+WWW: http://openavproductions.com/sorcer