Page MenuHomeFreeBSD

D13384.id36288.diff
No OneTemporary

D13384.id36288.diff

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 <bsd.port.mk>
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,67 @@
+--- Makefile.orig 2016-10-17 03:21:32 UTC
++++ Makefile
+@@ -1,40 +1,41 @@
+
+- # check if user is root
+- user = $(shell whoami)
+- ifeq ($(user),root)
++ ifneq ($(PREFIX),"")
++ INSTALL_DIR = $(PREFIX)/lib/lv2
++ else ifeq ($(shell whoami),root)
+ INSTALL_DIR = /usr/lib/lv2
+ else
+ INSTALL_DIR = ~/.lv2
+ 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 ) , )
++ #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
++ #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
+ 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 ?= -O2 -fomit-frame-pointer
++ 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

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 31, 12:13 PM (13 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35783678
Default Alt Text
D13384.id36288.diff (4 KB)

Event Timeline