Index: head/audio/Makefile =================================================================== --- head/audio/Makefile +++ head/audio/Makefile @@ -753,6 +753,7 @@ SUBDIR += solfege SUBDIR += sonata SUBDIR += sonic-visualiser + SUBDIR += sorcer-lv2 SUBDIR += sound-juicer SUBDIR += soundconverter SUBDIR += soundgrab Index: head/audio/sorcer-lv2/Makefile =================================================================== --- head/audio/sorcer-lv2/Makefile +++ head/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 Index: head/audio/sorcer-lv2/distinfo =================================================================== --- head/audio/sorcer-lv2/distinfo +++ head/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 Index: head/audio/sorcer-lv2/files/patch-CMakeLists.txt =================================================================== --- head/audio/sorcer-lv2/files/patch-CMakeLists.txt +++ head/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 "") + Index: head/audio/sorcer-lv2/pkg-descr =================================================================== --- head/audio/sorcer-lv2/pkg-descr +++ head/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