diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-27 06:01:44 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2019-07-27 06:01:44 +0000 |
commit | 349d62750f95dbc3491eb4d83fcc0540ad033ebf (patch) | |
tree | 81a9a26e20e6943554d8e44cde900f1a3883538f /audio | |
parent | 30cefbba7e3e02794f395616003a78f7971a3bb4 (diff) | |
download | ports-349d62750f95dbc3491eb4d83fcc0540ad033ebf.tar.gz ports-349d62750f95dbc3491eb4d83fcc0540ad033ebf.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/string-machine-lv2/Makefile | 9 | ||||
-rw-r--r-- | audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk | 11 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/string-machine-lv2/Makefile b/audio/string-machine-lv2/Makefile index 53d52f8c11c3..a8c48a2ca6ae 100644 --- a/audio/string-machine-lv2/Makefile +++ b/audio/string-machine-lv2/Makefile @@ -3,6 +3,7 @@ PORTNAME= string-machine DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs -USES= gmake gnome localbase pkgconfig +USES= compiler:c++0x gmake gnome localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= jpcima GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf @@ -24,6 +25,12 @@ USE_XORG= x11 CFLAGS+= -I${FILESDIR} -pthread +SIMD_CFLAGS_i386= "-msse -mfpmath=sse" +SIMD_CFLAGS_amd64= "-msse2 -mfpmath=sse" +SIMD_CFLAGS_armv7= "-march=armv7 -mfpu=vfpv3" + +MAKE_ARGS= SIMD_CFLAGS=${SIMD_CFLAGS_${ARCH}} + PLIST_FILES= lib/lv2/string-machine.lv2/manifest.ttl \ lib/lv2/string-machine.lv2/presets.ttl \ lib/lv2/string-machine.lv2/string-machine.so \ diff --git a/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk b/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk new file mode 100644 index 000000000000..0f046f843ee4 --- /dev/null +++ b/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk @@ -0,0 +1,11 @@ +--- dpf/Makefile.base.mk.orig 2019-07-27 05:51:19 UTC ++++ dpf/Makefile.base.mk +@@ -106,7 +106,7 @@ endif + # Set build and link flags + + BASE_FLAGS = -Wall -Wextra -pipe -MD -MP +-BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections ++BASE_OPTS = -O3 -ffast-math $(SIMD_CFLAGS) -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags |