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.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/qbittorrent-git.git (read-only, click to copy) |
|---|---|
| Package Base: | qbittorrent-git |
| Description: | An advanced BitTorrent client programmed in C++, based on Qt toolkit and libtorrent-rasterbar (git version) |
| Upstream URL: | https://www.qbittorrent.org |
| Keywords: | bittorrent qt torrent |
| Licenses: | GPL-3.0-or-later, GPL-2.0-or-later |
| Conflicts: | qbittorrent |
| Provides: | qbittorrent |
| Submitter: | Sevenseven |
| Maintainer: | yurikoles |
| Last Packager: | yurikoles |
| Votes: | 50 |
| Popularity: | 0.23 |
| First Submitted: | 2011-06-28 01:40 (UTC) |
| Last Updated: | 2024-11-04 20:45 (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.
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.
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:
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?
Thanks MarsSeed, I applied your suggestion.
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.
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'