summaryrefslogtreecommitdiffstats
path: root/deps
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2019-06-14 20:45:19 +0200
committer Eric Hameleers <alien@slackware.com>2019-06-14 20:45:19 +0200
commit02106f5916fdaac770435f5ed81ee53a7214d516 (patch)
tree1b94ac5d43a9f3d05489478fdc57d0b09114f353 /deps
parent06d9b21c1f80d0df302384b320d830199600ad34 (diff)
downloadktown-02106f5916fdaac770435f5ed81ee53a7214d516.tar.gz
ktown-02106f5916fdaac770435f5ed81ee53a7214d516.tar.xz
Deps: fix the pkgconfig files in qt5-webkit package
Diffstat (limited to 'deps')
-rwxr-xr-xdeps/qt5-webkit/qt5-webkit.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/deps/qt5-webkit/qt5-webkit.SlackBuild b/deps/qt5-webkit/qt5-webkit.SlackBuild
index 144b95d..31e6608 100755
--- a/deps/qt5-webkit/qt5-webkit.SlackBuild
+++ b/deps/qt5-webkit/qt5-webkit.SlackBuild
@@ -27,7 +27,7 @@
PKGNAM=qt5-webkit
SRCVER=${SRCVER:-"5.212.0-alpha2"}
VERSION=$(echo $SRCVER | tr - _)
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
NUMJOBS=${NUMJOBS:-"-j$(nproc)"}
@@ -124,6 +124,16 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find "$PKG/usr/lib${LIBDIRSUFFIX}" -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
+# Fix pkgconfig files:
+sed \
+ -e 's|qt5/Qt5WebKit|qt5/QtWebKit|' \
+ -e '/Name/a Description: Qt WebKit module' \
+ -i $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebKit.pc
+sed \
+ -e 's|qt5/Qt5WebKitWidgets|qt5/QtWebKitWidgets|' \
+ -e '/Name/a Description: Qt WebKitWidgets module' \
+ -i $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/Qt5WebKitWidgets.pc
+
# Add a documentation directory:
mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION
cp -a \