From e6abec56e543bc9a0383530cc43ac9c635b473e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 31 May 2018 20:03:26 +0200 Subject: [PATCH] fabla: initial add 1.3.2+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...-build-flags-it-causes-trouble-for-m.patch | 38 +++++++++++++++++++ .../recipes-multimedia/openav/fabla_git.bb | 28 ++++++++++++++ .../meta-qt5-extra-music-world.bb | 1 + 3 files changed, 67 insertions(+) create mode 100644 recipes-misc/recipes-multimedia/openav/fabla/0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch create mode 100644 recipes-misc/recipes-multimedia/openav/fabla_git.bb diff --git a/recipes-misc/recipes-multimedia/openav/fabla/0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch b/recipes-misc/recipes-multimedia/openav/fabla/0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch new file mode 100644 index 00000000..4c75189b --- /dev/null +++ b/recipes-misc/recipes-multimedia/openav/fabla/0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch @@ -0,0 +1,38 @@ +From 9c719fc4e56c3fa81bbf5e34db42bc2a847ee1f4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Thu, 31 May 2018 19:37:26 +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 + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + CMakeLists.txt | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 01df5f4..dc76ef0 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,11 +26,11 @@ pkg_check_modules(SNDFILE sndfile REQUIRED) + include_directories( ${SNDFILE_INCLUDE_DIRS} ) + link_directories ( ${SNDFILE_LIBRARY_DIRS} ) + +-SET(CMAKE_SHARED_LINKER_FLAGS "-fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined") ++SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fPIC -shared -Wl,-z,nodelete -Wl,--no-undefined") + + IF(RELEASE_BUILD) +- SET(CMAKE_CXX_FLAGS "-g -Wall -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math") +- SET(CMAKE_C_FLAGS "-g -Wall -W -Wno-unused-variable -msse2 -mfpmath=sse -ffast-math -Wno-trigraphs") ++ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -Wno-unused-variable -ffast-math") ++ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -W -Wno-unused-variable -ffast-math -Wno-trigraphs") + ENDIF() + + # print config +-- +2.14.3 + diff --git a/recipes-misc/recipes-multimedia/openav/fabla_git.bb b/recipes-misc/recipes-multimedia/openav/fabla_git.bb new file mode 100644 index 00000000..32076352 --- /dev/null +++ b/recipes-misc/recipes-multimedia/openav/fabla_git.bb @@ -0,0 +1,28 @@ +SUMMARY = "Fabla is an open-source LV2 drum sampler plugin instrument" +HOMEPAGE = "http://openavproductions.com/fabla/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" + +inherit cmake pkgconfig + +DEPENDS = " \ + ntk \ + cairo \ + cairomm \ + libsndfile1 \ + lv2 \ +" + +SRC_URI = " \ + git://github.com/openAVproductions/openAV-Fabla.git \ + file://0001-Do-not-overwrite-build-flags-it-causes-trouble-for-m.patch \ +" +SRCREV = "05bb8d4704a601e660dcd146caf5899d4a4cc5cc" +S = "${WORKDIR}/git" +PV = "1.3.2+git${SRCPV}" + +#CXXFLAGS += "-I${STAGING_INCDIR}" + +FILES_${PN} += " \ + ${libdir}/lv2 \ +" diff --git a/recipes-support/packagegroups/meta-qt5-extra-music-world.bb b/recipes-support/packagegroups/meta-qt5-extra-music-world.bb index 04a33d84..0fd8ca56 100644 --- a/recipes-support/packagegroups/meta-qt5-extra-music-world.bb +++ b/recipes-support/packagegroups/meta-qt5-extra-music-world.bb @@ -72,6 +72,7 @@ RDEPENDS_${PN} = " \ \ \ arty-fx \ + fabla \ \ \ polyphone \