ktorrent: fix build w/ newer ECM

The FindTaglibc.cmake of ECM variable names differ from the one
which is shipped with ktorrent. Use the former.
This commit is contained in:
Jürgen Buchmüller 2020-09-22 19:33:06 +02:00
parent 69a4615c67
commit f40acc439b

View file

@ -20,3 +20,8 @@ if [ "$CROSS_BUILD" ]; then
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
hostmakedepends+=" kdoctools kconfig kcoreaddons"
fi
pre_configure() {
# The ECM FindTaglib.cmake gives different variable names
grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g"
}