qtractor: add LV2 Plugin UI support

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2017-02-16 23:44:09 +01:00
parent 3b9226de9f
commit d51b991ffe
2 changed files with 60 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
From a32a7af99c5f241a08840ce0775c9aaa0c37a792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
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 <schnitzeltony@googlemail.com>
---
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 <suil/suil.h>
- #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 <suil/suil.h>
- #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

View File

@@ -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"