fix scripts
ki18n_wrap_ui now exists make kde4_add_plugin detection more flexible
This commit is contained in:
parent
acd85836bd
commit
b0f9e8c773
@ -12,8 +12,8 @@
|
||||
|
||||
for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do
|
||||
perl -p -i -e 's/plasma_add_plugin\(([a-zA-Z_\-]+) /add_library(\1 MODULE /g' $FS
|
||||
perl -p -i -e 's/kde4_add_plugin\(([a-zA-Z_\-]+) /add_library(\1 MODULE /g' $FS
|
||||
# perl -p -i -e 's/kde4_add_ui_files/qt5_wrap_ui/g' $FS #TODO: need a ki18n_wrap_ui, otherwise changes in the cpp files are needed
|
||||
perl -p -i -e 's/kde4_add_plugin\( *([a-zA-Z_\-]+) /add_library(\1 MODULE /g' $FS
|
||||
perl -p -i -e 's/kde4_add_ui_files/qt5_wrap_ui/g' $FS
|
||||
perl -p -i -e 's/qt4_wrap_ui/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_add_library/add_library/g' $FS
|
||||
|
Loading…
Reference in New Issue
Block a user