Package Details: qbittorrent-qt5 4.4.3.1-1

Git Clone URL: https://aur.archlinux.org/qbittorrent-qt5.git (read-only, click to copy)
Package Base: qbittorrent-qt5
Description: An advanced BitTorrent client programmed in C++, based on Qt5 toolkit and libtorrent-rasterbar
Upstream URL: https://www.qbittorrent.org
Keywords: qbittorrent qt qt5 torrent
Licenses: GPL, custom
Conflicts: qbittorrent
Provides: qbittorrent
Submitter: selpast
Maintainer: selpast
Last Packager: selpast
Votes: 27
Popularity: 1.69
First Submitted: 2022-01-09 14:02 (UTC)
Last Updated: 2022-05-26 03:07 (UTC)

Required by (12)

Sources (2)

Latest Comments

selpast commented on 2022-05-27 10:57 (UTC) (edited on 2022-05-27 10:58 (UTC) by selpast)

@nl6720 with these changes, makepkg will build both packages, even if only one is needed. It's probably better to make a separate package for -nox variant

nl6720 commented on 2022-05-27 08:11 (UTC)

The -nox variant is missing from the PKGBUILD. Here's a diff (based on the repo package) to add it:

diff --git a/PKGBUILD b/PKGBUILD
index 7e6bedf..e753378 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,35 +1,48 @@
 # Maintainer: selpast <selpast@pm.me>

-_pkgname='qbittorrent'
-pkgname=qbittorrent-qt5
+pkgbase=qbittorrent-qt5
+pkgname=(qbittorrent-qt5 qbittorrent-nox-qt5)
 pkgver=4.4.3.1
 pkgrel=1
-pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt5 toolkit and libtorrent-rasterbar'
 arch=(x86_64)
 url='https://www.qbittorrent.org'
 license=(custom GPL)
-depends=(hicolor-icon-theme libtorrent-rasterbar qt5-base qt5-svg)
-makedepends=(boost cmake qt5-tools)
+depends=(libtorrent-rasterbar qt5-base)
+makedepends=(cmake boost qt5-tools qt5-svg)
 optdepends=('python: needed for torrent search tab')
-conflicts=('qbittorrent')
-provides=('qbittorrent')
-source=(https://downloads.sourceforge.net/sourceforge/qbittorrent/${_pkgname}-${pkgver}.tar.xz{,.asc})
+conflicts=(qbittorrent qbittorrent-nox)
+source=(https://downloads.sourceforge.net/sourceforge/qbittorrent/${pkgbase%-qt5}-${pkgver}.tar.xz{,.asc})
 sha256sums=('b64559ca50b54bc6c5be17302e69f34fba8433059842aa4093865dc2c00d24c8'
             'SKIP')
 validpgpkeys=('D8F3DA77AAC6741053599C136E4A2D025B7CC9A2')

 build() {
-  cd ${_pkgname}-${pkgver}
+  cmake -B build -S ${pkgbase%-qt5}-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQT6=OFF
+  cmake --build build

-   cmake -B build -S . \
-       -DCMAKE_INSTALL_PREFIX=/usr \
-       -DQT6=OFF
-   cmake --build build
+  cmake -B build-nox -S ${pkgbase%-qt5}-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DQT6=OFF \
+    -DGUI=OFF \
+    -DSYSTEMD=ON
+  cmake --build build-nox
 }

-package() {
-  cd ${_pkgname}-${pkgver}
+package_qbittorrent-qt5() {
+  pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt5 toolkit and libtorrent-rasterbar'
+  depends+=(qt5-svg hicolor-icon-theme)
+  provides+=("${pkgname%-qt5}")

   DESTDIR="$pkgdir" cmake --install build
-  install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$_pkgname/COPYING
+  install -Dm644 ${pkgbase%-qt5}-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_qbittorrent-nox-qt5() {
+  pkgdesc='An advanced BitTorrent client programmed in C++, based on Qt5 toolkit and libtorrent-rasterbar, w/o gui'
+  provides+=("${pkgname%-qt5}")
+
+  DESTDIR="$pkgdir" cmake --install build-nox
+  install -Dm644 ${pkgbase%-qt5}-$pkgver/COPYING -t "$pkgdir"/usr/share/licenses/$pkgname
 }

shaneallgeier commented on 2022-05-25 19:50 (UTC)

I suggest adding qbittorrent-nox to the list of conflicts as well

selpast commented on 2022-03-25 23:12 (UTC) (edited on 2022-03-25 23:12 (UTC) by selpast)

@abouvier I thought checking the checksum would be enough, but apparently I was wrong

abouvier commented on 2022-03-25 22:10 (UTC)

Why did you remove the signature?

https://wiki.archlinux.org/title/Arch_package_guidelines#Package_sources

selpast commented on 2022-02-20 14:02 (UTC) (edited on 2022-02-20 14:13 (UTC) by selpast)

@nagi12147 https://wiki.archlinux.org/title/Pacman/Package_signing#Cannot_import_keys https://bbs.archlinux.org/viewtopic.php?id=204028

nagi12147 commented on 2022-02-20 03:40 (UTC)

@selpast i can't import the PGP key

 ~ $ gpg --recv-key D8F3DA77AAC6741053599C136E4A2D025B7CC9A2 
gpg: keyserver receive failed: Server indicated a failure 

selpast commented on 2022-02-19 21:29 (UTC) (edited on 2022-02-19 21:32 (UTC) by selpast)

@nagi12147 import the PGP key with gpg

$ gpg --recv-key D8F3DA77AAC6741053599C136E4A2D025B7CC9A2

nagi12147 commented on 2022-02-19 20:21 (UTC)

==> Verifying source file signatures with gpg...
    qbittorrent-4.4.1.tar.xz ... FAILED (unknown public key 6E4A2D025B7CC9A2)
==> ERROR: One or more PGP signatures could not be verified!
:: Unable to build qbittorrent-qt5 - makepkg exited with code: 1

iamkroot commented on 2022-01-25 16:12 (UTC)

Just putting this here in case someone else has the same issue. I'm on Manjaro, and after yesterday's update, libtorrent-rasterbar was updated from v1.1.15 to v2.0. The old build of qbittorrent was linked against v1, and so it failed to start. Had to rebuild this package (after clearing yay cache) to make it link to v2.

Hanabishi commented on 2022-01-24 17:34 (UTC) (edited on 2022-01-24 17:35 (UTC) by Hanabishi)

@michaldybczak, Qt6 can be themed via qt6ct.
But if you are using Breeze (default KDE theme), then yes, there is no Qt6 version yet. You will need to use some other theme.

michaldybczak commented on 2022-01-23 19:22 (UTC)

Thanks for this package. I just found out the reason why the updated qbittorrent is so ugly. Installing this qt5 version solved the issue. Qt6 theming support probably won't come anytime soon.