plasma-framework/tools/port-cmake.sh

22 lines
749 B
Bash
Raw Normal View History

2013-08-09 04:07:59 +02:00
#!/bin/sh
# ${KDE4_KIDLETIME_LIBRARY}
# ${KIdleTime_LIBRARIES}
# ${KCore_LIBRARIES}
# ${Solid_LIBRARIES}
# ${Plasma_LIBRARIES}
# ./geolocation/CMakeLists.txt:29: ${KDE4_PLASMA_LIBS}
# ./geolocation/CMakeLists.txt:30: ${KDE4_KDECORE_LIBS}
# ./geolocation/CMakeLists.txt:31: ${KDE4_KIO_LIBS}
# ./geolocation/CMakeLists.txt:32: ${KDE4_SOLID_LIBS})
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_KIDLETIME_LIBRARY/KIdleTime_LIBRARIES/g' $FS
perl -p -i -e 's/KDE4_PLASMA_LIBS/Plasma_LIBRARIES/g' $FS
2013-08-27 04:28:24 +02:00
perl -p -i -e 's/\$\{KDE4_KDECORE_LIBS\}//g' $FS
2013-08-09 04:07:59 +02:00
perl -p -i -e 's/KDE4_SOLID_LIBS/Solid_LIBRARIES/g' $FS
done