aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt5/qt5.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt5/qt5.SlackBuild')
-rw-r--r--libraries/qt5/qt5.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/libraries/qt5/qt5.SlackBuild b/libraries/qt5/qt5.SlackBuild
index f82f15d1c39c..4896c2c8ecdd 100644
--- a/libraries/qt5/qt5.SlackBuild
+++ b/libraries/qt5/qt5.SlackBuild
@@ -46,7 +46,7 @@
# tailored to Qt 5. Modified by Larry Hajali.
PRGNAM=qt5
-VERSION=${VERSION:-5.4.1}
+VERSION=${VERSION:-5.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -170,6 +170,7 @@ export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
-no-rpath \
-no-strip \
-release \
+ -no-use-gold-linker \
$RELOCATIONS \
$PULSE \
$BUILD_EXAMPLES
@@ -250,7 +251,7 @@ sed -i \
$PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebKit.pc
# While we are at it, there isn't any reason to keep references to $PKG in the *.prl files.
-for PRL in $PKG/usr/lib${LIBDIRSUFFIX}/*.prl; do
+for PRL in $(find $PKG -name "*\.prl"); do
sed -i '/^QMAKE_PRL_BUILD_DIR/d' $PRL
done
@@ -275,14 +276,14 @@ sed -i "s|@LIBDIR@|$LIBDIRSUFFIX|" $PKG/usr/share/applications/*
#done
install -D -m 0644 qttools/src/assistant/assistant/images/assistant-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/assistant.png
+ $PKG/usr/share/icons/hicolor/128x128/apps/assistant-qt5.png
install -D -m 0644 qttools/src/designer/src/designer/images/designer.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/designer.png
+ $PKG/usr/share/icons/hicolor/128x128/apps/designer-qt5.png
install -D -m 0644 qttools/src/qdbus/qdbusviewer/images/qdbusviewer-128.png \
- $PKG/usr/share/icons/hicolor/128x128/apps/qdbusviewer.png
+ $PKG/usr/share/icons/hicolor/128x128/apps/qdbusviewer-qt5.png
for i in 16 32 48 64 128; do
install -D -m 0644 qttools/src/linguist/linguist/images/icons/linguist-${i}-32.png \
- $PKG/usr/share/icons/hicolor/${i}x${i}/apps/linguist.png
+ $PKG/usr/share/icons/hicolor/${i}x${i}/apps/linguist-qt5.png
done
# Remove executable bits from files.