diff options
author | B. Watson <yalhcru@gmail.com> | 2022-01-24 16:46:32 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-25 14:44:36 +0700 |
commit | b943244468ca19e67dfe04bbedaffa073bf75570 (patch) | |
tree | 8df24562b1ac9e79dab945d8a86cf3eaf6ffd5e3 | |
parent | ed95dbc32bb571fe7021dfebf763e1425211103c (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>
-rw-r--r-- | libraries/qt-assistant-compat/qt-assistant-compat.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/qt-assistant-compat/qt-assistant-compat.info | 2 |
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 44301cf3639e..f6b3a2f40036 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 c0558107ae44..5d9f51fabcfa 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" |