diff options
author | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:03:24 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2014-12-22 15:03:24 +0100 |
commit | 270c1ba7053478dbd1c632eea18d6e54d51e4ecc (patch) | |
tree | 4e25b7466faf321a1a1fe7e90ce182afdd5ef9dd /deps/herqq | |
parent | 290362d91d840ad6feed5b59191a058f5e998d3c (diff) | |
download | ktown-270c1ba7053478dbd1c632eea18d6e54d51e4ecc.tar.gz ktown-270c1ba7053478dbd1c632eea18d6e54d51e4ecc.tar.xz |
KDE 4.7.4 for Slackware 13.37 (06dec2011)4.7.4
Diffstat (limited to '')
-rw-r--r-- | deps/herqq/herqq-1.0.0.zip | bin | 0 -> 1070813 bytes | |||
-rwxr-xr-x | deps/herqq/herqq.SlackBuild (renamed from kde/oxygen-icons/oxygen-icons.SlackBuild) | 83 | ||||
-rw-r--r-- | deps/herqq/slack-desc | 19 |
3 files changed, 64 insertions, 38 deletions
diff --git a/deps/herqq/herqq-1.0.0.zip b/deps/herqq/herqq-1.0.0.zip Binary files differnew file mode 100644 index 0000000..687b46a --- /dev/null +++ b/deps/herqq/herqq-1.0.0.zip diff --git a/kde/oxygen-icons/oxygen-icons.SlackBuild b/deps/herqq/herqq.SlackBuild index bedc8e1..ac969af 100755 --- a/kde/oxygen-icons/oxygen-icons.SlackBuild +++ b/deps/herqq/herqq.SlackBuild @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/sh -# Copyright 2008, 2009 Patrick J. Volkerding, Sebeka, MN, USA -# Copyright 2008 Robby Workman, Northport, AL, USA +# Copyright 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2011 Eric Hameleers, Eindhoven, NL # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,35 +21,51 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PKGNAM=oxygen-icons -CWD=$(pwd) -TMP=${TMP:-/tmp} -PKG=$TMP/package-$PKGNAM +PKGNAM=herqq +VERSION=${VERSION:-$(echo $PKGNAM-*.zip | rev | cut -f 2- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-2} -# Set the config option variables if they are not already set: -if [ -r ../KDE.options ]; then - . ../KDE.options +# Automatically determine the architecture we're building on: +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) export ARCH=i486 ;; + arm*) export ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: + *) export ARCH=$( uname -m ) ;; + esac fi -# The global options may be overridden here (if needed): -if [ -r ./local.options ]; then - . ./local.options -fi +NUMJOBS=${NUMJOBS:--j6} + +CWD=$(pwd) +TMP=${TMP:-/tmp} +PKG=$TMP/package-$PKGNAM -# Avoid a version number in .la files: -if [ -d /usr/lib${LIBDIRSUFFIX}/qt ]; then - QTDIR=/usr/lib${LIBDIRSUFFIX}/qt +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi rm -rf $PKG mkdir -p $TMP $PKG - cd $TMP -echo "Building $PKGNAM-$VERSION..." rm -rf $PKGNAM-$VERSION -tar xvf $CWD/../src/$PKGNAM-$VERSION.tar.?z* || exit 1 +unzip $CWD/$PKGNAM-$VERSION.zip || exit 1 cd $PKGNAM-$VERSION || exit 1 + +# Fix 64-bit installation path: +sed -i -e "s#PREFIX/lib#&${LIBDIRSUFFIX}#" $(find . -name "*.pro") + chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -57,26 +73,17 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -mkdir -p build -cd build - cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DMAN_INSTALL_DIR=/usr/man \ - -DSYSCONF_INSTALL_DIR=/etc/kde \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - .. - make $NUMJOBS || exit 1 - make install DESTDIR=$PKG || exit 1 -cd - - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +qmake PREFIX=/usr +make $NUMJOBS || make || exit 1 +make install INSTALL_ROOT=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION -cp -a AUTHORS CONTRIBUTING COPYING TODO-smallversions $PKG/usr/doc/$PKGNAM-$VERSION +cp -a \ + hupnp/ChangeLog hupnp/LICENSE_LGPLv3.txt \ + $PKG/usr/doc/$PKGNAM-$VERSION + +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/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/deps/herqq/slack-desc b/deps/herqq/slack-desc new file mode 100644 index 0000000..7988e4c --- /dev/null +++ b/deps/herqq/slack-desc @@ -0,0 +1,19 @@ +# 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-----------------------------------------------------| +herqq: herqq (UPnP library) +herqq: +herqq: Herqq UPnP (HUPnP) is a software library for building UPnP devices +herqq: and control points conforming to the UPnP Device Architecture version +herqq: 1.1. It is designed to be simple to use and robust in operation. +herqq: It is built using C++ and the Qt Framework. +herqq: +herqq: +herqq: +herqq: Homepage: http://www.herqq.org/ +herqq: |