diff options
author | Eric Hameleers <alien@slackware.com> | 2017-06-25 12:33:35 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2017-06-25 12:33:35 +0200 |
commit | 780a8bb7752241f169bbbc7b48129ee489574f10 (patch) | |
tree | df8c832f36f690957a63049e86748bd6364625f1 /deps/phonon | |
parent | 55557f22da56bfbeb2317d649b893e8d81279718 (diff) | |
download | ktown-780a8bb7752241f169bbbc7b48129ee489574f10.tar.gz ktown-780a8bb7752241f169bbbc7b48129ee489574f10.tar.xz |
Updated deps for upcoming KDE 5_17.06
On slackware-current, we switch to Qt 5.9 which is going to be a LTS
release (Long Term Support).
Diffstat (limited to '')
-rwxr-xr-x | deps/phonon/phonon.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/deps/phonon/phonon.SlackBuild b/deps/phonon/phonon.SlackBuild index c40cff1..feddec1 100755 --- a/deps/phonon/phonon.SlackBuild +++ b/deps/phonon/phonon.SlackBuild @@ -26,14 +26,14 @@ PKGNAM=phonon VERSION=${VERSION:-4.9.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} NUMJOBS=${NUMJOBS:--j7} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) readelf /usr/bin/file -A | egrep -q "Tag_CPU.*[4,5]" && ARCH=arm || ARCH=armv7hl ;; # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$(uname -m) ;; @@ -44,6 +44,9 @@ fi if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" +elif [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" @@ -142,7 +145,7 @@ if [ -d $PKG/usr/man ]; then fi mkdir -p $PKG/usr/doc/phonon-$VERSION -cp -a phonon/{BUGS,IDEAS,TODO} $PKG/usr/doc/phonon-$VERSION +cp -a doc/{BUGS,IDEAS,TODO} $PKG/usr/doc/phonon-$VERSION find $PKG | xargs file | grep -e "executable" -e "shared object" \ | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |