arty-fx: initial add 1.3

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-09-10 23:38:33 +02:00
parent 0aa5a8d3b3
commit fb19de0c5a
3 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From d614f7dbd575f13cdc512580ea9a9ad904b69752 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 10 Sep 2017 22:11:32 +0200
Subject: [PATCH] Do not overwrite build flags - it causes trouble for many
buld systems
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
CMakeLists.txt | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a1fa4d5..6d7808f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -24,9 +24,7 @@ pkg_check_modules(SND sndfile REQUIRED)
include_directories( ${SND_INCLUDE_DIRS} )
#target_link_libraries( avtkDemo ${CAIRO_LIBRARIES} )
-SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -L./src/avtk -Wl,--no-undefined")
-SET(CMAKE_C_FLAGS "-g -Wall -O1 -Wno-unused-variable")
-SET(CMAKE_CXX_FLAGS "-g -Wall -O1 -Wno-unused-variable -ftree-vectorize")
+SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fPIC -L./src/avtk")
# DSP sources
--
2.9.5

View File

@@ -0,0 +1,33 @@
From 4d284e26112bacfdcffbf06c4e509b42af2450f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 10 Sep 2017 21:59:45 +0200
Subject: [PATCH] avtk remove sse flags - they work on intel hardware only
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
src/avtk/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/avtk/CMakeLists.txt b/src/avtk/CMakeLists.txt
index 710533d..5c17071 100644
--- a/src/avtk/CMakeLists.txt
+++ b/src/avtk/CMakeLists.txt
@@ -55,8 +55,8 @@ include_directories( ${X11_INCLUDE_DIRS} )
link_directories ( ${X11_LIBRARY_DIRS} )
-SET(CMAKE_C_FLAGS "-fPIC -msse -msse2 -mfpmath=sse -g") # -fsanitize=address
-SET(CMAKE_CXX_FLAGS "-fPIC -msse -msse2 -mfpmath=sse -g") # -fsanitize=address
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") # -fsanitize=address
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") # -fsanitize=address
FILE(GLOB src libs/pffft.cxx avtk/*.cxx )
--
2.9.5

View File

@@ -0,0 +1,31 @@
SUMMARY = "ArtyFX is a plugin bundle of artistic real-time audio effects"
HOMEPAGE = "http://openavproductions.com/artyfx/"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
inherit cmake pkgconfig
DEPENDS = " \
virtual/libx11 \
cairo \
lv2 \
libsndfile1 \
"
SRC_URI = " \
https://github.com/openAVproductions/openAV-ArtyFX/archive/release-${PV}.zip \
file://0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch \
file://0002-avtk-remove-sse-flags-they-work-on-intel-hardware-on.patch \
"
SRC_URI[md5sum] = "b96dca48391188442609867f60edb702"
SRC_URI[sha256sum] = "5010cb190f5d507fd384325ee1f7f83b8441429e3b7f19b5287f1b6ea6b8f82c"
S = "${WORKDIR}/openAV-ArtyFX-release-${PV}"
EXTRA_OECMAKE += " \
-DBUILD_SSE=OFF \
"
FILES_${PN} += " \
${libdir}/lv2 \
"