From d51b991ffe7d0b115ccba21385ecfb280042504c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 16 Feb 2017 23:44:09 +0100 Subject: [PATCH] qtractor: add LV2 Plugin UI support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- ...-nor-try-run-for-suil-libs-detection.patch | 58 +++++++++++++++++++ .../qtractor/qtractor_0.8.0.bb | 2 + 2 files changed, 60 insertions(+) create mode 100644 recipes-misc/recipes-multimedia/qtractor/files/0003-do-nor-try-run-for-suil-libs-detection.patch diff --git a/recipes-misc/recipes-multimedia/qtractor/files/0003-do-nor-try-run-for-suil-libs-detection.patch b/recipes-misc/recipes-multimedia/qtractor/files/0003-do-nor-try-run-for-suil-libs-detection.patch new file mode 100644 index 00000000..1efa8314 --- /dev/null +++ b/recipes-misc/recipes-multimedia/qtractor/files/0003-do-nor-try-run-for-suil-libs-detection.patch @@ -0,0 +1,58 @@ +From a32a7af99c5f241a08840ce0775c9aaa0c37a792 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Thu, 16 Feb 2017 23:36:22 +0100 +Subject: [PATCH] do nor try run for suil libs detection +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Andreas Müller +--- + configure.ac | 24 ++---------------------- + 1 file changed, 2 insertions(+), 22 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 35416ff..2b967a0 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -1249,17 +1249,7 @@ fi + if test "x$ac_qt4" = "xno" -a "x$ac_suil" = "xyes"; then + ac_old_libs=$LIBS + LIBS=$ac_libs +- AC_CACHE_CHECK([for LV2 UI GTK2 support (libsuil_gtk2_in_qt5)], +- ac_cv_suil_gtk2_in_qt5, [ +- AC_TRY_RUN([ +- #include +- #include "lv2/lv2plug.in/ns/extensions/ui/ui.h" +- #ifndef LV2_UI__Qt5UI +- #define LV2_UI__Qt5UI LV2_UI_PREFIX "Qt5UI" +- #endif +- int main() { return !suil_ui_supported(LV2_UI__Qt5UI, LV2_UI__GtkUI); } +- ], ac_cv_suil_gtk2_in_qt5="yes", ac_cv_suil_gtk2_in_qt5="no") +- ]) ++ ac_cv_suil_gtk2_in_qt5="yes" + LIBS=$ac_old_libs + if test "x$ac_cv_suil_gtk2_in_qt5" = "xyes"; then + AC_DEFINE(CONFIG_LIBSUIL_GTK2_IN_QT5, 1, [Define if libsuil_gtk2_in_qt5 is available.]) +@@ -1280,17 +1270,7 @@ fi + if test "x$ac_qt4" = "xno" -a "x$ac_suil" = "xyes"; then + ac_old_libs=$LIBS + LIBS=$ac_libs +- AC_CACHE_CHECK([for LV2 UI X11 support (libsuil_x11_in_qt5)], +- ac_cv_suil_x11_in_qt5, [ +- AC_TRY_RUN([ +- #include +- #include "lv2/lv2plug.in/ns/extensions/ui/ui.h" +- #ifndef LV2_UI__Qt5UI +- #define LV2_UI__Qt5UI LV2_UI_PREFIX "Qt5UI" +- #endif +- int main() { return !suil_ui_supported(LV2_UI__Qt5UI, LV2_UI__X11UI); } +- ], ac_cv_suil_x11_in_qt5="yes", ac_cv_suil_x11_in_qt5="no") +- ]) ++ ac_cv_suil_x11_in_qt5="yes" + LIBS=$ac_old_libs + if test "x$ac_cv_suil_x11_in_qt5" = "xyes"; then + AC_DEFINE(CONFIG_LIBSUIL_X11_IN_QT5, 1, [Define if libsuil_x11_in_qt5 is available.]) +-- +2.9.3 + diff --git a/recipes-misc/recipes-multimedia/qtractor/qtractor_0.8.0.bb b/recipes-misc/recipes-multimedia/qtractor/qtractor_0.8.0.bb index ce9207f6..31a6d574 100644 --- a/recipes-misc/recipes-multimedia/qtractor/qtractor_0.8.0.bb +++ b/recipes-misc/recipes-multimedia/qtractor/qtractor_0.8.0.bb @@ -12,6 +12,7 @@ DEPENDS += " \ libmad \ rubberband \ dssi \ + suil \ " inherit qmake5_base autotools-brokensep pkgconfig gtk-icon-cache @@ -20,6 +21,7 @@ SRC_URI = " \ ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BPN}-${PV}.tar.gz \ file://0001-find-native-qt-build-tools-by-configure-options-auto.patch \ file://0002-do-nor-try-run-for-float-sse-detection.patch \ + file://0003-do-nor-try-run-for-suil-libs-detection.patch \ " SRC_URI[md5sum] = "e637e8c1c099d23579ab4ae7367c77d7" SRC_URI[sha256sum] = "4710f1c9f377b0e2c678517c6c094921b504aec3c16702048d9b611fe930659f"