diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-12-14 13:53:31 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-12-14 14:01:40 +0100 |
commit | cd98e174190d0f3f12c0f02682a58228a0167f28 (patch) | |
tree | ac69de7192f686713bfd362b8c225cd332ebd29d /media-sound/linuxsampler | |
parent | dev-haskell/test-framework: bump up to 0.8.2.0-r2 (diff) | |
download | gentoo-cd98e174190d0f3f12c0f02682a58228a0167f28.tar.gz gentoo-cd98e174190d0f3f12c0f02682a58228a0167f28.tar.bz2 gentoo-cd98e174190d0f3f12c0f02682a58228a0167f28.zip |
media-sound/linuxsampler: fixed linuxsampler-2.0.0-lv2-automagic.patch
the patch unfortunately changed the logic of lv2 detection
and broke it in such way that it worked with lv2-1.14.0 but
did not work with lv2-1.16.0 so the patch had to be fixed
Closes: https://bugs.gentoo.org/701606
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/linuxsampler')
-rw-r--r-- | media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch | 13 |
1 files changed, 9 insertions, 4 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 index a5b9f8d71efa..522882abf5c4 100644 --- a/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch +++ b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch @@ -1,6 +1,8 @@ ---- linuxsampler-2.0.0/configure.ac -+++ linuxsampler-2.0.0/configure.ac -@@ -532,12 +532,12 @@ +diff --git a/configure.ac b/configure.ac +index c0a37e9..44348ad 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -535,12 +535,15 @@ AC_CHECK_HEADERS(dssi.h, AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes") # LV2 @@ -14,7 +16,10 @@ + 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"]) ++ 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 +]) AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes") |