Files
meta-musicians/recipes-musicians/rncbc/qtractor/0002-do-nor-try-run-for-suil-libs-detection.patch
Andreas Müller c3972475ac qtractor: Fix suil-patch
Overlooked that variables were renamed causing options to be not enabled
properly.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-03-29 21:25:01 +02:00

56 lines
2.0 KiB
Diff

From a32a7af99c5f241a08840ce0775c9aaa0c37a792 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
Date: Sat, 19 Jan 2019 18:55:17 +0100
Subject: [PATCH] do nor try run for suil libs feature detection
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
---
configure.ac | 24 ++----------------------
1 file changed, 2 insertions(+), 22 deletions(-)
diff --git a/configure.ac b/configure.ac
index a582410f..0dbfc4f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1339,17 +1339,7 @@ if test "x$ac_lv2_ui_show" = "xyes"; then
fi
if test "x$ac_libsuil" = "xyes"; then
- AC_CACHE_CHECK([for LV2 UI GTK2 support (libsuil_gtk2_in_qt5)],
- ac_cv_libsuil_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_libsuil_gtk2_in_qt5="yes", ac_cv_libsuil_gtk2_in_qt5="no")
- ])
+ ac_cv_libsuil_gtk2_in_qt5="yes"
if test "x$ac_cv_libsuil_gtk2_in_qt5" = "xyes"; then
AC_DEFINE(CONFIG_LIBSUIL_GTK2_IN_QT5, 1, [Define if libsuil_gtk2_in_qt5 is available.])
# ac_lv2_ui_gtk2="no"
@@ -1367,17 +1357,7 @@ else
fi
if test "x$ac_libsuil" = "xyes"; then
- AC_CACHE_CHECK([for LV2 UI X11 support (libsuil_x11_in_qt5)],
- ac_cv_libsuil_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_libsuil_x11_in_qt5="yes", ac_cv_libsuil_x11_in_qt5="no")
- ])
+ ac_cv_libsuil_x11_in_qt5="yes"
if test "x$ac_cv_libsuil_x11_in_qt5" = "xyes"; then
AC_DEFINE(CONFIG_LIBSUIL_X11_IN_QT5, 1, [Define if libsuil_x11_in_qt5 is available.])
# ac_lv2_ui_x11="no"
--
2.21.1