I just tried to build this on Parabola. I have this diff:
diff --git a/PKGBUILD b/PKGBUILD
index 749e4cb..38b3208 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,13 +4,13 @@
# Contributor: Alexey D. <lq07829icatm@rambler.ru>
pkgname=psi-plus-git
-pkgver=1.4.1399.r1151.g2170e90
+pkgver=1.4.1471.r1151.g2170e90
pkgrel=1
pkgdesc="Psi+ is a powerful XMPP client (Qt, C++) designed for the XMPP power users (built with Qt 5.x)"
url="https://psi-plus.com"
license=('GPL2')
arch=('x86_64')
-depends=('qt5-base' 'qt5-webengine' 'qt5-multimedia' 'qt5-x11extras' 'qca-qt5'
+depends=('qt5-base' 'qt5-multimedia' 'qt5-x11extras' 'qca-qt5'
'libidn' 'libxss' 'qt5-svg' 'hunspell' 'qtkeychain' 'http-parser')
makedepends=('git' 'patch' 'cmake')
provides=("psi-plus=$pkgver" "psi-plus-qt5-git=$pkgver")
@@ -47,7 +47,7 @@ prepare() {
}
build() {
- cmake -B build -S psi -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPSI_PLUS=ON -DCHAT_TYPE=WEBENGINE ..
+ cmake -B build -S psi -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DPSI_PLUS=ON -DENABLE_WEBKIT=OFF ..
cmake --build build
}
To disable the qt5-webengine requirement.
Compilation fails however:
[ 60%] Linking CXX executable ../psi/psi-plus
/usr/bin/ld: CMakeFiles/psi-plus.dir/chatview_te.cpp.o: in function `ChatView::renderMucMessage(MessageView const&, QTextCursor&)':
/usr/src/debug/psi/src/chatview_te.cpp:404: undefined reference to `ChatViewCommon::getMucNickColor(QString const&, bool)'
/usr/bin/ld: CMakeFiles/psi-plus.dir/chatview_te.cpp.o: in function `ChatView::ChatView(QWidget*)':
/usr/src/debug/psi/src/chatview_te.cpp:63: undefined reference to `ChatViewCommon::setLooks(QWidget*)'
/usr/bin/ld: CMakeFiles/psi-plus.dir/chatview_te.cpp.o: in function `ChatView::dispatchMessage(MessageView const&)':
/usr/src/debug/psi/src/chatview_te.cpp:283: undefined reference to `ChatViewCommon::updateLastMsgTime(QDateTime)'
collect2: fout: ld gaf exit-status 1 terug
make[2]: *** [src/CMakeFiles/psi-plus.dir/build.make:3658: psi/psi-plus] Fout 1
make[1]: *** [CMakeFiles/Makefile2:816: src/CMakeFiles/psi-plus.dir/all] Fout 2
make: *** [Makefile:149: all] Fout 2
==> FOUT: Er is een fout opgetreden in build().
Afbreken...
Let me know if it makes sense to check this out on the Psi+ side instead. I could imagine there's something else with Arch broken.
Pinned Comments