hashworks pushed to branch main at Arch Linux / Packaging / Packages / kiwix-desktop
Commits: 8befc79f by Justin Kromlinger at 2025-11-03T20:21:09+01:00 upgpkg: 2.4.1-2: build against qt6 https://github.com/kiwix/kiwix-desktop/issues/1419 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,14 +1,14 @@ pkgbase = kiwix-desktop pkgdesc = Offline reader for Web content, especially intended to make Wikipedia available offline pkgver = 2.4.1 - pkgrel = 1 + pkgrel = 2 url = https://github.com/kiwix/kiwix-desktop arch = x86_64 license = GPL-3.0-or-later - makedepends = qt5-tools + makedepends = qt6-tools depends = libkiwix>=14.1.0 - depends = qt5-base - depends = qt5-webengine + depends = qt6-base + depends = qt6-webengine depends = aria2 source = kiwix-desktop-2.4.1.tar.gz::https://github.com/kiwix/kiwix-desktop/archive/2.4.1.tar.gz sha256sums = 9413171619880c41dea8157b4a046b838b557203d92b4649cc274629649a75ee ===================================== PKGBUILD ===================================== @@ -2,13 +2,13 @@ pkgname=kiwix-desktop pkgver=2.4.1 -pkgrel=1 +pkgrel=2 pkgdesc="Offline reader for Web content, especially intended to make Wikipedia available offline" url="https://github.com/kiwix/kiwix-desktop" arch=("x86_64") license=("GPL-3.0-or-later") -depends=("libkiwix>=14.1.0" "qt5-base" "qt5-webengine" "aria2") -makedepends=("qt5-tools") +depends=("libkiwix>=14.1.0" "qt6-base" "qt6-webengine" "aria2") +makedepends=("qt6-tools") source=( "${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz" ) @@ -16,13 +16,15 @@ sha256sums=('9413171619880c41dea8157b4a046b838b557203d92b4649cc274629649a75ee') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" + # kiwix-desktop 2.4.1 ignores return value of ‘virtual bool QFile::open(QIODeviceBase::OpenMode)’ + sed -i "/QMAKE_CXXFLAGS += -Werror/d" kiwix-desktop.pro } build() { cd "${pkgname}-${pkgver}" export CFLAGS+=" ${CPPFLAGS}" export CXXFLAGS+=" ${CPPFLAGS}" - qmake PREFIX="/usr" + /usr/lib/qt6/bin/qmake PREFIX="/usr" make } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/kiwix-desktop/-/commit/8befc79f835a89b5b05ee01fca91f3887eb9cd9e -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/kiwix-desktop/-/commit/8befc79f835a89b5b05ee01fca91f3887eb9cd9e You're receiving this email because of your account on gitlab.archlinux.org.
