diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:23:54 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:23:54 +0100 |
commit | b1b35d20ce6b70330b23a9d056dcb44b58795bd6 (patch) | |
tree | d393ca76dae97b64e8de58184a15f60ca1a7412a /deps/attica | |
parent | f0e6e91722ec10bf7aa6a4bf53d1aedd8aee4c74 (diff) | |
download | ktown-b1b35d20ce6b70330b23a9d056dcb44b58795bd6.tar.gz ktown-b1b35d20ce6b70330b23a9d056dcb44b58795bd6.tar.xz |
KDE 5 for Slackware current (post-14.1) (16sep2014)5
The KDE 5 Software Compilation no longer exists as such.
The components are now:
- Frameworks 5.2.0
- Plasma 5.0.2
These packages need to be installed on top of the most recent KDE 4.14.x
because Applications tarballs which build on top of Frameworks and
Plasma have not yet been released.
Diffstat (limited to '')
-rw-r--r-- | deps/attica/slack-desc | 19 | ||||
-rwxr-xr-x | deps/libdbusmenu-qt5/libdbusmenu-qt5.SlackBuild (renamed from deps/attica/attica.SlackBuild) | 37 |
2 files changed, 24 insertions, 32 deletions
diff --git a/deps/attica/slack-desc b/deps/attica/slack-desc deleted file mode 100644 index 18aedb8..0000000 --- a/deps/attica/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. Line -# up the first '|' above the ':' following the base package name, and the '|' -# on the right side marks the last column you can put a character in. You must -# make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':'. - - |-----handy-ruler-------------------------------------------------------| -attica: attica (Qt Collaboration library) -attica: -attica: Attica is a Qt library that implements the freedesktop.org -attica: specification for the Open Collaboration Services API version 1.4. -attica: It grants easy access to the services such as querying information -attica: about persons and contents. -attica: -attica: Homepage: http://www.kde.org -attica: -attica: -attica: diff --git a/deps/attica/attica.SlackBuild b/deps/libdbusmenu-qt5/libdbusmenu-qt5.SlackBuild index 9b98685..57768a6 100755 --- a/deps/attica/attica.SlackBuild +++ b/deps/libdbusmenu-qt5/libdbusmenu-qt5.SlackBuild @@ -1,9 +1,9 @@ #!/bin/sh -# Copyright 2009, 2010, 2011 Eric Hameleers, Eindhoven, NL -# Copyright 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2010, 2011, 2012, 2014 Eric Hameleers, Eindhoven, The Netherlands +# Copyright 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. -# + # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # @@ -22,7 +22,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PKGNAM=attica +# This project has moved to https://launchpad.net/libdbusmenu-qt +# Get the latest code with: +# bzr branch lp:libdbusmenu-qt +# +# Get version number from +# grep dbusmenu_qt_VERSION dbusmenu-qt/CMakeLists.txt + +PKGNAM=libdbusmenu-qt5 VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} @@ -49,9 +56,6 @@ elif [ "$ARCH" = "s390" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" -elif [ "$ARCH" = "armv7hl" ]; then - SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" - LIBDIRSUFFIX="" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -67,6 +71,7 @@ cd $TMP rm -rf $PKGNAM-$VERSION tar xvf $CWD/$PKGNAM-$VERSION.tar.?z* || exit 1 cd $PKGNAM-$VERSION || exit 1 + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -74,30 +79,36 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Switch the two booleans USE_QT4 and USE_QT5 to build a Qt4 version instead. + mkdir -p build cd build - QTDIR=/usr/lib${LIBDIRSUFFIX}/qt \ + QTDIR=/usr/lib${LIBDIRSUFFIX}/qt5 \ PATH=$QTDIR/bin:$PATH \ cmake \ - $KDE_OPT_ARGS \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DUSE_QT4:BOOL=FALSE \ + -DUSE_QT5:BOOL=TRUE \ .. make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 -cd - +cd .. find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION -cp -a AUTHORS* COPYING* README* \ +cp -a \ + COPYING NEWS README \ $PKG/usr/doc/$PKGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/doc +mv $PKG/usr/share/doc/dbusmenu-qt/* $PKG/usr/doc/$PKGNAM-$VERSION/doc +rm -rf $PKG/usr/share/doc + mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |