Hello community, here is the log from the commit of package qbittorrent for openSUSE:Factory checked in at 2020-09-25 16:32:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qbittorrent (Old) and /work/SRC/openSUSE:Factory/.qbittorrent.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qbittorrent" Fri Sep 25 16:32:08 2020 rev:83 rq:835422 version:4.2.5 Changes: -------- --- /work/SRC/openSUSE:Factory/qbittorrent/qbittorrent.changes 2020-04-25 20:36:59.883095217 +0200 +++ /work/SRC/openSUSE:Factory/.qbittorrent.new.4249/qbittorrent.changes 2020-09-25 16:32:48.675958390 +0200 @@ -1,0 +2,6 @@ +Fri Sep 11 12:45:30 UTC 2020 - Luigi Baldoni <[email protected]> + +- Use legacy libtorrent-rasterbar on Tumbleweed +- Add qbittorrent-libtorrent-legacy.patch + +------------------------------------------------------------------- New: ---- qbittorrent-libtorrent-legacy.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qbittorrent.spec ++++++ --- /var/tmp/diff_new_pack.BUFgyb/_old 2020-09-25 16:32:51.219960646 +0200 +++ /var/tmp/diff_new_pack.BUFgyb/_new 2020-09-25 16:32:51.223960649 +0200 @@ -26,6 +26,8 @@ Source: https://downloads.sf.net/%{name}/%{name}-%{version}.tar.xz Source1: https://downloads.sf.net/%{name}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring +# PATCH-FIX-OPENSUSE qbittorrent-libtorrent-legacy.patch +Patch0: qbittorrent-libtorrent-legacy.patch BuildRequires: cmake >= 3.9 BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -40,7 +42,11 @@ BuildRequires: cmake(Qt5Svg) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) +%if 0%{?suse_version} > 1500 +BuildRequires: pkgconfig(libtorrent-rasterbar-1) >= 1.1.13 +%else BuildRequires: pkgconfig(libtorrent-rasterbar) >= 1.1.13 +%endif BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(zlib) # For search engines. @@ -63,7 +69,8 @@ version. %prep -%autosetup -p1 +%setup -q +%patch0 -p1 %build for ui in nox gui; do ++++++ qbittorrent-libtorrent-legacy.patch ++++++ From: Luigi Baldoni <[email protected]> Date: 2020-09-11 14:43:25 +0200 Subject: Use legacy libtorrent-rasterbar qBittorrent has not yet been ported to the libtorrent v2 API --- Index: qbittorrent-4.2.5/cmake/Modules/FindLibtorrentRasterbar.cmake =================================================================== --- qbittorrent-4.2.5.orig/cmake/Modules/FindLibtorrentRasterbar.cmake +++ qbittorrent-4.2.5/cmake/Modules/FindLibtorrentRasterbar.cmake @@ -20,7 +20,7 @@ macro(_detect_boost_components _outCompo endmacro() if(PKG_CONFIG_FOUND) - pkg_check_modules(PC_LIBTORRENT_RASTERBAR QUIET libtorrent-rasterbar) + pkg_check_modules(PC_LIBTORRENT_RASTERBAR QUIET libtorrent-rasterbar-1) endif() if(LibtorrentRasterbar_USE_STATIC_LIBS)
