Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d123c59ff4b940687851f5b24f58cf0142b0790d

commit d123c59ff4b940687851f5b24f58cf0142b0790d
Author: crazy <cr...@frugalware.org>
Date:   Wed Mar 31 11:25:01 2010 +0200

kde.sh
* re-added _F_kde_defaults,_F_kde_id{2} for non-core-kde-apps
* that got lost on .. dex's tree ? dunno

diff --git a/source/include/kde.sh b/source/include/kde.sh
index 65b7664..898bf76 100644
--- a/source/include/kde.sh
+++ b/source/include/kde.sh
@@ -79,6 +79,10 @@ if [ -n "$_F_kde_final" ]; then
_F_cmake_confopts="$_F_cmake_confopts -DKDE4_ENABLE_FINAL=$_F_kde_final"
fi

+if [ -z "$_F_kde_defaults" ]; then
+       _F_kde_defaults=1
+fi
+
###
# == OVERWRITTEN VARIABLES
# * _F_archive_name (default to $_F_kde_name if not set)
@@ -102,22 +106,40 @@ if [ -z "$url" ]; then
url="http://www.kde.org";
fi

-if [ -z "$up2date" ]; then
-       if [ -z "$_F_kde_unstable" ]; then
-               up2date="Flasttar http://kde.org/download/";
-       else
-               up2date=$pkgver
+if [ "$_F_kde_defaults" -eq 1 ]; then
+       if [ -z "$up2date" ]; then
+               if [ -z "$_F_kde_unstable" ]; then
+                       up2date="Flasttar http://kde.org/download/";
+               else
+                       up2date=$pkgver
+               fi
fi
-fi

-if [ ${#sour...@]} -eq 0 ]; then
-       
source=("$_F_kde_mirror/$_F_kde_dirname/$_F_kde_name-$_F_kde_pkgver.tar.bz2")
+       if [ ${#sour...@]} -eq 0 ]; then
+               
source=("$_F_kde_mirror/$_F_kde_dirname/$_F_kde_name-$_F_kde_pkgver.tar.bz2")
+       fi
fi

+
if [ -z "$_F_cd_path" ]; then
_F_cd_path=$_F_kde_name-$_F_kde_pkgver
fi

+if [ -n "$_F_kde_id" ]; then
+        url="http://www.kde-apps.org/content/show.php?content=$_F_kde_id";
+        up2date="lynx -dump  $url|grep -m1 grep -v http|grep  -m1 '      
[0-9.0-9.0-9]'|sed -e 's/^[ \t]*//'"
+       _F_kde_no_compiletime=1
+       _F_kde_no_auto_docs=1
+fi
+
+if [ -n "$_F_kde_id2" ]; then
+        url="http://www.kde-look.org/content/show.php?content=$_F_kde_id2";
+        up2date="lynx -dump  $url|grep -m1 grep -v http|grep  -m1 '      
[0-9.0-9.0-9]'|sed -e 's/^[ \t]*//'"
+       _F_kde_no_compiletime=1
+        _F_kde_no_auto_docs=1
+
+fi
+
###
# == APPENDED VARIABLES
# makedepends: append automoc4 unless building it.
@@ -380,7 +402,10 @@ KDE_make()

KDE_make_split()
{
+## only check on core stuff
+if [ "$_F_kde_defaults" -eq 1 ]; then
__KDE_pre_build_check
+fi
KDE_make "$@"
KDE_split
}
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to