Package Base Details: qbittorrent-git

Git Clone URL: https://aur.archlinux.org/qbittorrent-git.git (read-only, click to copy)
Keywords: bittorrent qt torrent
Submitter: Sevenseven
Maintainer: yurikoles
Last Packager: yurikoles
Votes: 47
Popularity: 0.000001
First Submitted: 2011-06-28 01:40 (UTC)
Last Updated: 2022-11-02 02:13 (UTC)

Latest Comments

1 2 3 4 5 6 7 Next › Last »

aequabit commented on 2023-09-09 06:56 (UTC)

This package shouldn't have libtorrent-rasterbar, but libtorrent-rasterbar-1_2-git as a dependency, since qBittorrent won't build on the most recent version.

dujemiha commented on 2023-05-31 09:27 (UTC)

Could systemd support be disabled? I use Artix and as such I have to modify the PKGBUILD for the compilation not to fail, and judging by this line from the build log:

* SYSTEMD, Install systemd service file. Target directory is overridable with 'SYSTEMD_SERVICES_INSTALL_DIR' variable (default: OFF; depends on condition: NOT GUI)

said support wouldn't be installed anyway because this package does compile the GUI.

radu242 commented on 2023-01-12 16:30 (UTC) (edited on 2023-01-12 16:34 (UTC) by radu242)

Just got this build error in qbittorrent-nox-git:

~/.cache/paru/clone/qbittorrent-git/src/qbittorrent-git/src/gui/properties/peerlistwidget.cpp:60:10: fatal error: gui/uithememanager.h: No such file or directory

qbittorrent-git seems to build past it just fine -- how come this GUI file is being sought out for nox compilation?

edit:

tuxayo commented on 2023-01-03 03:53 (UTC)

Hi :)

I'm trying to test webtorrent support (to validate it and have it merged in the next libtorrent release) using libtorrent-rasterbar-git package. Even if qbittorrent doesn't support libtorrent master, overall it seems to work well (webtorrent not tested)

So after enabling webtorrent support in the PKGBUILD of libtorrent-rasterbar-git by adding this in the right places:

@@ -34,6 +34,7 @@ prepare() {
     git -C libtorrent-rasterbar config --local submodule.deps/libdatachannel.url "${srcdir}/libdatachannel"
     git -C libtorrent-rasterbar config --local submodule.deps/json.url "${srcdir}/json-vinniefalco"
     git -C libtorrent-rasterbar -c protocol.file.allow='always' submodule update
+    git -C libtorrent-rasterbar submodule update --init --recursive --jobs=$(nproc)
 }

 pkgver() {
@@ -52,6 +53,7 @@ build() {
         -Dpython-bindings:BOOL='OFF' \
         -Dboost-python-module-name='python' \
         -Dpython-egg-info='ON' \
+        -Dwebtorrent:BOOL='ON' \
         -Wno-dev
     make -C build
 }

When building this package, I get:

-- The following features have been disabled:

 * TESTING, Build internal testing suite (default: OFF)
 * VERBOSE_CONFIGURE, Show information about PACKAGES_FOUND and PACKAGES_NOT_FOUND in the configure output (only useful for debugging the CMake build scripts) (default: OFF)
 * SYSTEMD, Install systemd service file. Target directory is overridable with `SYSTEMD_SERVICES_INSTALL_DIR` variable (default: OFF; depends on condition: NOT GUI)

-- Configuring done
CMake Error at /usr/lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarTargets.cmake:70 (set_target_properties):
  The link interface of target "LibtorrentRasterbar::torrent-rasterbar"
  contains:

    Boost::json

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/cmake/LibtorrentRasterbar/LibtorrentRasterbarConfig.cmake:28 (include)
  cmake/Modules/CheckPackages.cmake:6 (find_package)
  cmake/Modules/CheckPackages.cmake:39 (find_libtorrent)
  CMakeLists.txt:53 (include)

This error when building qbittorrent-git pops only when enabling webtorrent support in libtorrent.

Does anyone know what to change in the PKGBUILD to have the inclusion Boost::json work?

yurikoles commented on 2022-04-27 01:56 (UTC)

Thanks MarsSeed, I applied your suggestion.

MarsSeed commented on 2022-03-25 22:34 (UTC) (edited on 2022-04-23 12:19 (UTC) by MarsSeed)

The version string is wrong.

For Pacman, 4.5.0alpha1 < 4.5.0 < 4.5.0.alpha1 < 1:4.5.0alpha1.

Please kindly fix the version string creation (change 4.5.0.alpha1 to 4.5.0alpha1), and add an epoch=1 variable to the beginning section of the PKGBUILD to "reset" the version ordering.

This fix is needed so that whenever v4.5.0 stable gets released, Pacman will see pkgver=4.5.0[...] as newer version than pkgver=4.5.0.alpha1[...].

Otherwise Pacman won't update the alpha package to the stable version once that is out.

milkii commented on 2021-01-07 12:35 (UTC)

Getting this at the mo;

configure: error: Package requirements (libtorrent-rasterbar >= 1.2.11) were not met:

Package dependency requirement 'libtorrent-rasterbar >= 1.2.11' could not be satisfied.
Package 'libtorrent-rasterbar' has version '1.2.10', required version is '>= 1.2.11'