diff options
Diffstat (limited to 'media-sound/linuxsampler/files')
-rw-r--r-- | media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch new file mode 100644 index 000000000000..a5b9f8d71efa --- /dev/null +++ b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch @@ -0,0 +1,21 @@ +--- linuxsampler-2.0.0/configure.ac ++++ linuxsampler-2.0.0/configure.ac +@@ -532,12 +532,12 @@ + AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") + + # LV2 +-PKG_CHECK_MODULES(LV2, lv2 >= 1.0.0, config_have_lv2="yes", config_have_lv2="no") +-if test "$config_have_lv2" != "yes"; then +- PKG_CHECK_MODULES(LV2, lv2core >= 1.0.0, config_have_lv2="yes", config_have_lv2="no") +-fi +-AC_SUBST(LV2_CFLAGS) +-AC_SUBST(LV2_LIBS) ++AC_ARG_ENABLE([lv2], ++ AS_HELP_STRING([--enable-lv2], [Enable building with lv2])) ++config_have_lv2="no" ++AS_IF([test "x$enable_lv2" = "xyes"], [ ++ PKG_CHECK_MODULES([LV2], [lv2 >= 1.0.0 lv2core >= 1.0.0], [config_have_lv2="yes"]) ++]) + AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") + + # VST |