Index: audio/GxSwitchlessWah-lv2/Makefile =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= GxSwitchlessWah +DISTVERSION= g20161016 +CATEGORIES= audio +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Analog wah emulation with switchless activation + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= lv2>0:audio/lv2 + +USES= gmake localbase +USE_GITHUB= yes +GH_ACCOUNT= brummer10 +GH_PROJECT= ${PORTNAME}.lv2 +GH_TAGNAME= 7b08691 + +PLIST_FILES= lib/lv2/GxSwitchlessWah.lv2/gx_switchless_wah.so \ + lib/lv2/GxSwitchlessWah.lv2/gx_switchless_wah.ttl \ + lib/lv2/GxSwitchlessWah.lv2/manifest.ttl + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/GxSwitchlessWah.lv2/gx_switchless_wah.so + +.include Index: audio/GxSwitchlessWah-lv2/distinfo =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1512508668 +SHA256 (brummer10-GxSwitchlessWah.lv2-g20161016-7b08691_GH0.tar.gz) = 49a0659658eb43de9eeb7f4eb030b58e2dcdaf715cb8a59c51e9f5a675bc600a +SIZE (brummer10-GxSwitchlessWah.lv2-g20161016-7b08691_GH0.tar.gz) = 17400 Index: audio/GxSwitchlessWah-lv2/files/patch-Makefile =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/files/patch-Makefile @@ -0,0 +1,30 @@ +--- Makefile.orig 2016-10-17 03:21:32 UTC ++++ Makefile +@@ -1,11 +1,11 @@ + + # check if user is root + user = $(shell whoami) +- ifeq ($(user),root) +- INSTALL_DIR = /usr/lib/lv2 +- else +- INSTALL_DIR = ~/.lv2 +- endif ++ #ifeq ($(user),root) ++ INSTALL_DIR = $(PREFIX)/lib/lv2 ++ #else ++ #INSTALL_DIR = ~/.lv2 ++ #endif + + # check CPU and supported optimization flags + ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) +@@ -33,8 +33,8 @@ + BUNDLE = GxSwitchlessWah.lv2 + VER = 0.1 + # set compile flags +- CXXFLAGS = -I. -O2 -Wall -funroll-loops -ffast-math -fomit-frame-pointer -fstrength-reduce $(SSE_CFLAGS) +- LDFLAGS = -I. -shared -Llibrary -lc -lm -fPIC -DPIC ++ CXXFLAGS += -I. -Wall -funroll-loops -ffast-math -fstrength-reduce $(SSE_CFLAGS) ++ LDFLAGS += -I. -shared -Llibrary -lc -lm -fPIC -DPIC + # invoke build files + OBJECTS = $(NAME).cpp + ## output style (bash colours) Index: audio/GxSwitchlessWah-lv2/pkg-descr =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/pkg-descr @@ -0,0 +1,7 @@ +Analog wah emulator allowing to alter sound in a way to create a distinctive +sound, mimicking the human voice saying the onomatopoeic name "wah-wah". + +See the corresponding article on Wikipedia: +https://en.wikipedia.org/wiki/Wah-wah_pedal + +WWW: https://github.com/brummer10/GxSwitchlessWah.lv2 Index: audio/Makefile =================================================================== --- audio/Makefile +++ audio/Makefile @@ -3,6 +3,7 @@ COMMENT = Audio tools + SUBDIR += GxSwitchlessWah-lv2 SUBDIR += HVSC-Update SUBDIR += Maaate SUBDIR += aacgain