Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur qt6.orig/README qt6/README
- --- qt6.orig/README 2022-08-27 17:57:06.135909605 +0200
- +++ qt6/README 2023-01-31 18:49:06.666436000 +0100
- @@ -31,3 +31,9 @@
- Qt6 will autodetect and build against multiple external programs and
- libraries. To see a list of optional dependencies, please consult
- README.SLACKWARE
- +
- +Qt6 can take substantial time to build and ninja automatically uses
- +all of your cpus power to speed up this process: if for some reason
- +this ends up trashing the machine on which you are building it you
- +can export the environment variable CMAKE_BUILD_PARALLEL_LEVEL to
- +set an appropriate number of parallel jobs.
- diff -Naur qt6.orig/qt6.SlackBuild qt6/qt6.SlackBuild
- --- qt6.orig/qt6.SlackBuild 2022-11-05 15:20:04.532778378 +0100
- +++ qt6/qt6.SlackBuild 2023-01-31 18:29:33.023436000 +0100
- @@ -2,7 +2,7 @@
- # Slackware build script for qt6
- -# Copyright 2022 Steven Voges <Oregon, USA>
- +# Copyright 2022-2023 Steven Voges <Oregon, USA>
- # All rights reserved.
- #
- # Redistribution and use of this script, with or without modification, is
- @@ -26,7 +26,7 @@
- PRGNAM=qt6
- SRCNAM=qt-everywhere-src
- -VERSION=${VERSION:-6.4.0}
- +VERSION=${VERSION:-6.4.2}
- BSCLANG=libclang-release_130-based-linux-Ubuntu20.04-gcc9.3-x86_64
- CCACHE=${CCACHE:-OFF}
- EXAMPLES=${EXAMPLES:-OFF}
- @@ -119,12 +119,16 @@
- -DQT_BUILD_EXAMPLES=$EXAMPLES \
- -DQT_USE_CCACHE=$CCACHE \
- -DCMAKE_BUILD_TYPE=Release ..
- - cmake --build . --parallel
- + cmake --build .
- DESTDIR=$PKG cmake --install . --strip
- cd ..
- -mv $PKG/usr/phrasebooks $PKG/usr/share/$PRGNAM/
- -# mv $PKG/usr/resources $PKG/usr/share/$PRGNAM/
- +if [ -d "$PKG/usr/phrasebooks" ]; then
- + mv $PKG/usr/phrasebooks $PKG/usr/share/$PRGNAM/
- +fi
- +if [ -d "$PKG/usr/resources" ]; then
- + mv $PKG/usr/resources $PKG/usr/share/$PRGNAM/
- +fi
- if [ "$EXAMPLES" = "ON" ]; then
- find -L $PKG/usr/doc/$PRGNAM-$VERSION/examples \
- @@ -141,10 +145,10 @@
- done
- sed -i "s|@LIBDIR@|$LIBDIRSUFFIX|" $PKG/usr/share/applications/*
- -# Install symlinks to the Qt6 binaries in the $PATH (avoid the ones already ending in "6"):
- +# Install symlinks to the Qt6 binaries in the $PATH (avoid the ones already ending in "6" or "cmake"):
- mkdir -p $PKG/usr/bin
- for FILE in $PKG/usr/lib${LIBDIRSUFFIX}/qt6/bin/* ; do
- - if ! [[ $FILE =~ 6$ ]]; then
- + if ! [[ $FILE =~ (6$|cmake$) ]]; then
- ln -s ../lib${LIBDIRSUFFIX}/qt6/bin/$(basename $FILE) $PKG/usr/bin/$(basename $FILE)-qt6
- fi
- done
- diff -Naur qt6.orig/qt6.info qt6/qt6.info
- --- qt6.orig/qt6.info 2022-11-05 15:20:04.533778428 +0100
- +++ qt6/qt6.info 2023-01-26 04:50:46.000000000 +0100
- @@ -1,11 +1,11 @@
- PRGNAM="qt6"
- -VERSION="6.4.0"
- +VERSION="6.4.2"
- HOMEPAGE="https://qt.io"
- DOWNLOAD="UNSUPPORTED"
- MD5SUM=""
- -DOWNLOAD_x86_64="https://download.qt.io/official_releases/qt/6.4/6.4.0/single/qt-everywhere-src-6.4.0.tar.xz \
- +DOWNLOAD_x86_64="https://download.qt.io/official_releases/qt/6.4/6.4.2/single/qt-everywhere-src-6.4.2.tar.xz \
- https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_130-based-linux-Ubuntu20.04-gcc9.3-x86_64.7z"
- -MD5SUM_x86_64="b45c32495e87cffa4739b24b5d062c50 \
- +MD5SUM_x86_64="15e2530292b65a2b3dc23fc03f140796 \
- 1eb94ba35df4aa217cf485086215182a"
- REQUIRES="double-conversion html5lib md4c nodejs p7zip"
- MAINTAINER="Steven Voges"
Advertisement