summaryrefslogtreecommitdiffstats
path: root/source/kde/KDE.options
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/KDE.options')
-rw-r--r--source/kde/KDE.options19
1 files changed, 13 insertions, 6 deletions
diff --git a/source/kde/KDE.options b/source/kde/KDE.options
index 16ae672c7..debc6ea12 100644
--- a/source/kde/KDE.options
+++ b/source/kde/KDE.options
@@ -3,19 +3,23 @@
# usually has a different version number), or by setting your own
# environment variables.
-[ -z $VERSION ] && export VERSION=4.5.5
+[ -z $VERSION ] && export VERSION=4.8.5
[ -z $BUILD ] && export BUILD=1
# Automatically determine the architecture we're building on:
+MARCH=$( uname -m )
if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) export ARCH=i486 ;;
- arm*) export ARCH=arm ;;
+ case "$MARCH" in
+ i?86) export ARCH=i486 ;;
+ armv7hl) export ARCH=$MARCH ;;
+ arm*) export ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
- *) export ARCH=$( uname -m ) ;;
+ *) export ARCH=$MARCH ;;
esac
fi
+[ -z $PKGARCH ] && export PKGARCH=$ARCH
+
# Use this as CFLAGS and CXXFLAGS:
if [ -z "$SLKCFLAGS" ]; then
if [ "$ARCH" = "i486" ]; then
@@ -33,6 +37,9 @@ if [ -z "$SLKCFLAGS" ]; then
elif [ "$ARCH" = "armel" ]; then
export SLKCFLAGS="-O2 -march=armv4t"
export LIBDIRSUFFIX=""
+ elif [ "$ARCH" = "armv7hl" ]; then
+ export SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16"
+ export LIBDIRSUFFIX=""
else
export SLKCFLAGS="-O2"
export LIBDIRSUFFIX=""
@@ -47,5 +54,5 @@ fi
# Additional cmake flags that are spanned across the KDE modules
# Do not use "final build" unless we build an actual release.
#export KDE_OPT_ARGS=" -DKDE4_ENABLE_FINAL=\"ON\" -DSITE=\"slackware.com\" "
-export KDE_OPT_ARGS=" -DSITE=\"slackware.com\" "
+export KDE_OPT_ARGS=" -DSITE=\"slackware.com\" -DKDE_DISTRIBUTION_TEXT=\"volkerdi@slackware.com\" "