summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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