Skip to content

Commit a27536b

Browse files
committed
Calf lv2 plugins fix for build on arch
1 parent c157319 commit a27536b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

PKGBUILDs/calf-git/PKGBUILD

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ build() {
3030
cd "${srcdir}/${_pkgname}"
3131

3232
# fix for archlinux package naming and version problem
33-
sed -i 's/lv2core >= 6/lv2 >= 1.15/' configure
33+
sed -i 's/lv2core >= 6/lv2 >= 1.15/' configure.ac
3434

3535
./autogen.sh \
3636
--prefix="/usr" \
@@ -41,6 +41,11 @@ build() {
4141
export CFLAGS="$CFLAGS -O3"
4242
export CXXFLAGS="$CXXFLAGS -O3"
4343

44+
sed -i 's/<lv2.h>/"\/usr\/include\/lv2\/lv2.h"/' src/makerdf.cpp
45+
sed -i 's/"lv2.h"/"\/usr\/include\/lv2\/lv2.h"/' src/calf/lv2_options.h
46+
sed -i 's/"lv2.h"/"\/usr\/include\/lv2\/lv2.h"/' src/calf/lv2_ui.h
47+
sed -i 's/<lv2.h>/"\/usr\/include\/lv2\/lv2.h"/' src/calf/lv2wrap.h
48+
4449
make
4550
}
4651

0 commit comments

Comments
 (0)