diff options
Diffstat (limited to 'desktop/adwaita-qt/adwaita-qt.SlackBuild')
-rw-r--r-- | desktop/adwaita-qt/adwaita-qt.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/desktop/adwaita-qt/adwaita-qt.SlackBuild b/desktop/adwaita-qt/adwaita-qt.SlackBuild index eb5ee600c4203..f60058295ee17 100644 --- a/desktop/adwaita-qt/adwaita-qt.SlackBuild +++ b/desktop/adwaita-qt/adwaita-qt.SlackBuild @@ -1,3 +1,4 @@ + #!/bin/sh # Slackware build script for adwaita-qt @@ -23,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=adwaita-qt -VERSION=${VERSION:-0.97} +VERSION=${VERSION:-0.98} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,9 +70,14 @@ 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 std::isnan instead of isnan compile fix -#https://github.com/MartinBriza/adwaita-qt/issues/53 -patch -p1 < $CWD/isnan_compile_fix.patch + +# Fix install directory +if [ "$ARCH" = "x86_64" ]; then + sed -i 's,${QT_PLUGINS_DIR}/styles,/usr/lib64/kde4/plugins/styles,g' style/CMakeLists.txt +else + sed -i 's,${QT_PLUGINS_DIR}/styles,/usr/lib/kde4/plugins/styles,g' style/CMakeLists.txt +fi + mkdir build cd build @@ -80,7 +86,6 @@ cd build -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DUSE_QT4=ON \ - -DQT_ROOT=/usr/lib${LIBDIRSUFFIX}/kde4 \ -DCMAKE_BUILD_TYPE=Release .. make |