From 434e6e6d65bdcdf2bbb05fe6c65462949a0619d7 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 2 Sep 2015 09:49:32 +0200 Subject: Updated/added cmake scripts, mainly for new KF5 ports of Applications --- kde/cmake/applications | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'kde/cmake/applications') diff --git a/kde/cmake/applications b/kde/cmake/applications index 7f99619..05e5634 100644 --- a/kde/cmake/applications +++ b/kde/cmake/applications @@ -1,3 +1,31 @@ +# Temporary cludge to fix badly ported applications: +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 \ -- cgit v1.2.3