diff options
Diffstat (limited to 'libraries/qt5-webkit/qt5-webkit.SlackBuild')
-rw-r--r-- | libraries/qt5-webkit/qt5-webkit.SlackBuild | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/libraries/qt5-webkit/qt5-webkit.SlackBuild b/libraries/qt5-webkit/qt5-webkit.SlackBuild index c8693bff3807d..71efbc8fac099 100644 --- a/libraries/qt5-webkit/qt5-webkit.SlackBuild +++ b/libraries/qt5-webkit/qt5-webkit.SlackBuild @@ -30,9 +30,8 @@ PRGNAM=qt5-webkit SRCNAM=qtwebkit VERSION=${VERSION:-5.212.0_alpha4} -SRCDIR=${SRCNAM}-$(echo $VERSION | sed -r "s,\.[[:digit:]]+_.*,,") -SRCVERSION=$(echo v$VERSION | tr -s '_' '-') -BUILD=${BUILD:-2} +SRCVERSION=$(echo $VERSION | tr -s '_' '-') +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -67,9 +66,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCDIR +rm -rf $SRCNAM-$SRCVERSION tar xvf $CWD/$SRCNAM-$SRCVERSION.tar.gz -cd $SRCDIR +cd $SRCNAM-$SRCVERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -77,14 +76,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# Use -reduce-relocations only on i?86 and x86_64 architextures. -# https://bugreports.qt-project.org/browse/QTBUG-36129 -if echo $ARCH | grep -q '\(i.86\|x86_64\)' 2>/dev/null; then - RELOCATIONS="-reduce-relocations" -else - RELOCATIONS="" -fi - export CFLAGS="$SLKCFLAGS" export CXXFLAGS="$SLKCFLAGS" export OPENSOURCE_CXXFLAGS="$SLKCFLAGS" |