Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=74a4b1f49f9677a1f58b65a141647445a5716bd8

commit 74a4b1f49f9677a1f58b65a141647445a5716bd8
Author: Melko <[email protected]>
Date:   Thu Aug 7 15:49:21 2014 +0200

kde.sh: add some makedeps for kf5

diff --git a/source/include/kde.sh b/source/include/kde.sh
index a5ddada..1b63bc1 100644
--- a/source/include/kde.sh
+++ b/source/include/kde.sh
@@ -156,7 +156,7 @@ fi

###
# == APPENDED VARIABLES
-# makedepends: append automoc4 unless building it.
+# makedepends: if kde4 append automoc4 unless building it, if kf5 append some 
other deps.
# _F_cmake_confopts: append some kde specific options.
###
if [ -z "$_F_kde_old_defines" ]; then
@@ -165,8 +165,14 @@ else
_F_cmake_old_defines="$_F_kde_old_defines"
fi

-if [ "$_F_kde_name" != 'automoc4' ]; then
-       makedepends=("${makedepends[@]}" 'automoc4')
+if [ "$_F_kde_project" = "frameworks" ]; then
+       if [ "$_F_kde_name" != 'extra-cmake-modules' ]; then
+               makedepends=("${makedepends[@]}" 'extra-cmake-modules' 
'libqt5imageformats' 'libqt5platformsupport' 'libqt5quick')
+       fi
+else
+       if [ "$_F_kde_name" != 'automoc4' ]; then
+               makedepends=("${makedepends[@]}" 'automoc4')
+       fi
fi

case "$_F_cmake_type" in
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to