aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt-assistant-compat
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-01-24 16:46:32 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-25 14:44:36 +0700
commitb943244468ca19e67dfe04bbedaffa073bf75570 (patch)
tree8df24562b1ac9e79dab945d8a86cf3eaf6ffd5e3 /libraries/qt-assistant-compat
parented95dbc32bb571fe7021dfebf763e1425211103c (diff)
libraries/qt-assistant-compat: update for new qt4 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qt-assistant-compat')
-rw-r--r--libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild12
-rw-r--r--libraries/qt-assistant-compat/qt-assistant-compat.info2
2 files changed, 9 insertions, 5 deletions
diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
index 44301cf3639ef..f6b3a2f400367 100644
--- a/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
+++ b/libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild
@@ -26,6 +26,8 @@
# Maintainer and packager is Ronald van Haren. Thank you!
# http://www.archlinux.org/packages/extra/i686/qt-assistant-compat/
+# 20220124 bkw: modified for -current qt4 build.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qt-assistant-compat
@@ -73,6 +75,8 @@ fi
set -e
+source /etc/profile.d/qt4.sh
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -109,15 +113,15 @@ make
make install INSTALL_ROOT=$PKG
# Fix wrong path in prl file
-sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/usr/lib${LIBDIRSUFFIX}/qt/lib/libQtAssistantClient.prl
+sed -i -e /^QMAKE_PRL_BUILD_DIR/d $PKG/$QT4DIR/lib/libQtAssistantClient.prl
cd translations
-mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations
-cp assistant_adp_*.qm $PKG/usr/lib${LIBDIRSUFFIX}/qt/translations/
+mkdir -p $PKG/$QT4DIR/translations
+cp assistant_adp_*.qm $PKG/$QT4DIR/translations/
cd ..
cd features
-install -D -m644 assistant.prf $PKG/usr/lib${LIBDIRSUFFIX}/qt/mkspecs/features/assistant.prf
+install -D -m644 assistant.prf $PKG/$QT4DIR/mkspecs/features/assistant.prf
cd -
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/libraries/qt-assistant-compat/qt-assistant-compat.info b/libraries/qt-assistant-compat/qt-assistant-compat.info
index c0558107ae449..5d9f51fabcfaf 100644
--- a/libraries/qt-assistant-compat/qt-assistant-compat.info
+++ b/libraries/qt-assistant-compat/qt-assistant-compat.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://master.qt.io/archive/qt/4.6/qt-assistant-qassistantclient-libra
MD5SUM="a20148e0488d5c12ab35ccc107dcc64d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="qt4"
MAINTAINER="Petar Petrov"
EMAIL="slackalaxy@gmail.com"