Fix path to juce_lv2_helper
authorIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 4 Aug 2022 15:13:05 +0000 (17:13 +0200)
committerIOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Thu, 4 Aug 2022 15:13:05 +0000 (17:13 +0200)
Closes: #1014575
debian/rules

index 6c9793b52349ec968cd5fc82abc23f27f6a063c8..62f99ac2f9c98b1eb141c067f00ce439aa3775cd 100755 (executable)
@@ -67,6 +67,10 @@ override_dh_auto_build-indep:
        cp docs/JUCE*.md docs/CMake*.md docs/doxygen/build/
        make -C docs/doxygen
 
+execute_after_dh_install-arch:
+       -find $(CURDIR)/debian/juce-modules-source/ \
+               -type f -name "LV2_HELPER*.cmake" -exec \
+               sed -e 's|"[^"]*/juce_lv2_helper"|"/usr/lib/@DEB_HOST_MULTIARCH@/juce/juce_lv2_helper"|' -e "s|@DEB_HOST_MULTIARCH@|$(DEB_HOST_MULTIARCH)|" -i {} +
 
 override_dh_install-indep:
        dh_install --indep -X.tag