diff options
Diffstat (limited to 'kde/cmake/applications5')
-rw-r--r-- | kde/cmake/applications5 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kde/cmake/applications5 b/kde/cmake/applications5 index 626e05d..57353de 100644 --- a/kde/cmake/applications5 +++ b/kde/cmake/applications5 @@ -1,3 +1,31 @@ +# Temporary cludge to fix badly ported apps: +for APP in \ +libkexiv2 \ +libkdcraw \ +kde-baseapps \ +kde-runtime \ +okular \ +kdegraphics-thumbnailers \ +kolourpaint \ +kopete \ +ksnapshot \ +superkaramba \ +libkcddb \ +kget \ +kdeartwork \ +kajongg \ +ksirk \ +kalzium \ +; do + if [ "$APP" = "$PKGNAME" ]; then + if ! grep -q 'cmake_minimum_required' CMakeLists.txt ; then + # Prepend a cmake_minimum_required stanza at the top, which enables + # newer cmake features which the build needs: + sed -i -e '1icmake_minimum_required(VERSION 2.8.9)\' CMakeLists.txt + fi + fi +done + mkdir build cd build cmake \ |