diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-09 18:04:22 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-06-09 18:04:22 +0000 |
commit | 008ce398455dcee25d06f6008012a22163e160b6 (patch) | |
tree | 193b27ce2acd61e65e24edb193cbe8a2173e21b3 /audio | |
parent | 7efc491d772062ac5bbffef2b4d3064655c087f3 (diff) | |
download | ports-008ce398455dcee25d06f6008012a22163e160b6.tar.gz ports-008ce398455dcee25d06f6008012a22163e160b6.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/eq10q-lv2/Makefile | 14 | ||||
-rw-r--r-- | audio/eq10q-lv2/files/patch-CMakeLists.txt | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/audio/eq10q-lv2/Makefile b/audio/eq10q-lv2/Makefile index 6bb54c7ca675..50a22a25b367 100644 --- a/audio/eq10q-lv2/Makefile +++ b/audio/eq10q-lv2/Makefile @@ -2,6 +2,7 @@ PORTNAME= eq10q DISTVERSION= 2.2 +PORTREVISION= 1 CATEGORIES= audio MASTER_SITES= SF/${PORTNAME} PKGNAMESUFFIX= -lv2 @@ -12,12 +13,6 @@ COMMENT= Parametric equalizer LV2 audio plugin LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN_aarch64= fails to compile: unknown FP unit 'sse' -BROKEN_armv6= fails to compile: unknown FP unit 'sse' -BROKEN_armv7= fails to compile: unknown FP unit 'sse' -BROKEN_mips64= fails to compile: unknown FP unit 'sse' -BROKEN_powerpc64= fails to compile: unrecognized command line option "-msse" - BUILD_DEPENDS= lv2>0:audio/lv2 LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfontconfig.so:x11-fonts/fontconfig \ @@ -27,6 +22,13 @@ USES= cmake:outsource dos2unix localbase:ldflags pkgconfig USE_GNOME= glib20 gtk20 gtkmm24 gdkpixbuf2 atkmm cairo cairomm pangomm DOS2UNIX_FILES= dsp/vu.h +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +SSE_CMAKE_ON= -DPORT_SIMD_FLAGS:STRING="-msse -mfpmath=sse" + post-patch: @${REINPLACE_CMD} -e 's/pow10(/pow(10,/g' \ ${WRKSRC}/gui/widgets/*.cpp diff --git a/audio/eq10q-lv2/files/patch-CMakeLists.txt b/audio/eq10q-lv2/files/patch-CMakeLists.txt index 4a3c13d07191..63682c5f6c78 100644 --- a/audio/eq10q-lv2/files/patch-CMakeLists.txt +++ b/audio/eq10q-lv2/files/patch-CMakeLists.txt @@ -7,7 +7,7 @@ -##ADD_DEFINITIONS(-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99) -set(CMAKE_C_FLAGS "-Wall -O3 -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99") +##ADD_DEFINITIONS(-Wall -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99) -+set(CMAKE_C_FLAGS "-Wall -fPIC -finline-functions -msse -mfpmath=sse -std=c99") ++set(CMAKE_C_FLAGS "-Wall -fPIC -finline-functions ${PORT_SIMD_FLAGS} -std=c99") #set(CMAKE_C_FLAGS "-Wall -O0 -g -fPIC -finline-functions -finline-functions-called-once -msse -mfpmath=sse -std=c99") set(CMAKE_CXX_FLAGS "-Wall -fPIC -std=c++11") |