Index: audio/GxSwitchlessWah-lv2/Makefile =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/Makefile @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= GxSwitchlessWah +DISTVERSION= g20171206 +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 + +FLAVORS= default sse sse2 sse3 vfpv3 + +.if ${FLAVOR:U} == sse +MAKE_ARGS= SSE_CFLAGS="-msse -mfpmath=sse" +PKGNAMESUFFIX= @sse +.endif + +.if ${FLAVOR:U} == sse2 +MAKE_ARGS= SSE_CFLAGS="-msse2 -mfpmath=sse" +PKGNAMESUFFIX= @sse2 +.endif + +.if ${FLAVOR:U} == sse3 +MAKE_ARGS= SSE_CFLAGS="-msse3 -mfpmath=sse" +PKGNAMESUFFIX= @sse3 +.endif + +.if ${FLAVOR:U} == vfpv3 +MAKE_ARGS= SSE_CFLAGS="-march=armv7 -mfpu=vfpv3" +PKGNAMESUFFIX= @vfpv3 +.endif + +USES= gmake localbase +USE_GITHUB= yes +GH_ACCOUNT= brummer10 +GH_PROJECT= ${PORTNAME}.lv2 +GH_TAGNAME= 6977568 + +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 = 1512578914 +SHA256 (brummer10-GxSwitchlessWah.lv2-g20171206-6977568_GH0.tar.gz) = 5d7a67c58fd44848e317a55496a1421183ac1654eb703ebd8618d2b03ce0a831 +SIZE (brummer10-GxSwitchlessWah.lv2-g20171206-6977568_GH0.tar.gz) = 17415 Index: audio/GxSwitchlessWah-lv2/files/patch-Makefile =================================================================== --- /dev/null +++ audio/GxSwitchlessWah-lv2/files/patch-Makefile @@ -0,0 +1,47 @@ +--- Makefile.orig 2017-12-08 06:25:07 UTC ++++ Makefile +@@ -8,25 +8,25 @@ + endif + + # check CPU and supported optimization flags +- ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) +- SSE_CFLAGS = -msse3 -mfpmath=sse +- else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) +- SSE_CFLAGS = -msse2 -mfpmath=sse +- else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) +- SSE_CFLAGS = -msse -mfpmath=sse +- else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) +- ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) +- ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) +- SSE_CFLAGS = -march=armv7 -mfpu=vfpv3 +- else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) +- SSE_CFLAGS = -march=armv7 -mfpu=vfpv3 +- endif +- else +- ARMCPU = "YES" +- endif +- else +- SSE_CFLAGS = +- endif ++ #ifneq ($(shell cat /proc/cpuinfo | grep sse3 ) , ) ++ # SSE_CFLAGS = -msse3 -mfpmath=sse ++ #else ifneq ($(shell cat /proc/cpuinfo | grep sse2 ) , ) ++ # SSE_CFLAGS = -msse2 -mfpmath=sse ++ #else ifneq ($(shell cat /proc/cpuinfo | grep sse ) , ) ++ # SSE_CFLAGS = -msse -mfpmath=sse ++ # else ifneq ($(shell cat /proc/cpuinfo | grep ARM ) , ) ++ # ifneq ($(shell cat /proc/cpuinfo | grep ARMv7 ) , ) ++ # ifneq ($(shell cat /proc/cpuinfo | grep vfpd32 ) , ) ++ # SSE_CFLAGS = -march=armv7 -mfpu=vfpv3 ++ # else ifneq ($(shell cat /proc/cpuinfo | grep vfpv3 ) , ) ++ # SSE_CFLAGS = -march=armv7 -mfpu=vfpv3 ++ # endif ++ # else ++ # ARMCPU = "YES" ++ # endif ++ #else ++ # SSE_CFLAGS = ++ #endif + + # set bundle name + NAME = gx_switchless_wah 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