From a662db785b60d498b9cd125b98514ea51f22a087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 10 Oct 2013 00:58:38 +0200 Subject: [PATCH] Improve cmake porting script --- tools/port-cmake.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/port-cmake.sh b/tools/port-cmake.sh index dd74500af..8dc797e57 100755 --- a/tools/port-cmake.sh +++ b/tools/port-cmake.sh @@ -12,12 +12,13 @@ for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do perl -p -i -e 's/kde4_add_plugin/plasma_add_plugin/g' $FS + perl -p -i -e 's/kde4_add_ui_files/qt5_wrap_ui/g' $FS perl -p -i -e 's/kde4_add_kdeinit_executable/kf5_add_kdeinit_executable/g' $FS perl -p -i -e 's/KDE4_KIDLETIME_LIBRARY/KIdleTime_LIBRARIES/g' $FS - perl -p -i -e 's/KDE4_PLASMA_LIBS/Plasma_LIBRARIES/g' $FS + perl -p -i -e 's/KDE4_PLASMA_LIBS/KF5::plasma/g' $FS perl -p -i -e 's/\$\{KDE4_KDECORE_LIBS\}//g' $FS - perl -p -i -e 's/KDE4_SOLID_LIBS/KF5\:\:Solid/g' $FS + perl -p -i -e 's/\$\{KDE4_SOLID_LIBS\}/KF5\:\:Solid/g' $FS perl -p -i -e 's/\$\{Solid_LIBRARIES\}/KF5\:\:Solid/g' $FS perl -p -i -e 's/\$\{KService_LIBRARIES\}/KF5\:\:KService/g' $FS perl -p -i -e 's/\$\{KCoreAddons_LIBRARIES\}/KF5\:\:KCoreAddons/g' $FS