summaryrefslogtreecommitdiff
path: root/desktop/adwaita-qt/adwaita-qt.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2017-02-28 19:03:41 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-02 12:52:58 +0700
commitffb5d1e1c99b76a5c366f1f978c0041df741dbee (patch)
treea1a3d2ac700057ac1a993be182a5dc4c7af199a2 /desktop/adwaita-qt/adwaita-qt.SlackBuild
parent7213c3020d635275696f9e7cce671b53cd4d4d41 (diff)
downloadslackbuilds-ffb5d1e1c99b76a5c366f1f978c0041df741dbee.tar.gz
desktop/adwaita-qt: Updated for version 0.98.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/adwaita-qt/adwaita-qt.SlackBuild')
-rw-r--r--desktop/adwaita-qt/adwaita-qt.SlackBuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/desktop/adwaita-qt/adwaita-qt.SlackBuild b/desktop/adwaita-qt/adwaita-qt.SlackBuild
index eb5ee600c4..f60058295e 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