Menu

#52 lv2core is deprecated in favor of lv2

open
nobody
None
5
2019-06-20
2019-06-20
David Runge
No

Hi, I'm maintaining ecasound for Arch Linux and am building the latest version (currently 2.9.2).
During the process, I see, that lv2 won't get detected properly anymore.

The reason is, that quite a few versions of lv2 ago, the library detection was switched from lv2core to lv2.

It can be fixed by simply:

diff --git c/configure.ac w/configure.ac
index bf66bffa..34a54144 100644
--- c/configure.ac
+++ w/configure.ac
@@ -1161,7 +1161,7 @@ AC_ARG_ENABLE(liblilv,
   [
     case "$enableval" in
       y | yes)

-        PKG_CHECK_MODULES([LIBLILV], [lv2 lilv-0], HAVE_LIBLILV=yes, HAVE_LIBLILV=no)
+        PKG_CHECK_MODULES([LIBLILV], [lv2core lilv-0], HAVE_LIBLILV=yes, HAVE_LIBLILV=no)
         if test "x${HAVE_LIBLILV}" = xyes ; then 
      AC_MSG_RESULT(yes)
           enable_liblilv=yes 
@@ -1182,7 +1182,7 @@ AC_ARG_ENABLE(liblilv,
     esac
   ],
   [
-    PKG_CHECK_MODULES([LIBLILV], [lv2 lilv-0 > 0.5.0 ], HAVE_LIBLILV=yes, HAVE_LIBLILV=no)
+    PKG_CHECK_MODULES([LIBLILV], [lv2core lilv-0 > 0.5.0 ], HAVE_LIBLILV=yes, HAVE_LIBLILV=no)
     enable_liblilv=${HAVE_LIBLILV}
     AC_MSG_RESULT(${enable_liblilv})
   ]

It would be awesome, if that change could be implemented in an upcoming release! :)

1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB