diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 88ef3c3ddd31..30507a73aca6 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,90 +1,89 @@ PORTNAME= qbittorrent -DISTVERSION= 5.1.4 -PORTREVISION= 1 +DISTVERSION= 5.2.0 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Bittorrent client using Qt6 and libtorrent-rasterbar WWW= https://www.qbittorrent.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING CXXFLAGS+= -DBOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED # error: "Boost.Stacktrace requires `_Unwind_Backtrace` function. Define `_GNU_SOURCE` macro or `BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED` if _Unwind_Backtrace is available without `_GNU_SOURCE`." FLAVORS= default nox FLAVOR?= ${FLAVORS:[1]} nox_PKGNAMESUFFIX= -nox nox_PLIST= ${MASTERDIR}/pkg-plist-nox USES= compiler:c++14-lang cpe pkgconfig cmake localbase qt:6 ssl tar:xz USE_QT= base translations USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 USE_GITHUB= nodefault GH_ACCOUNT= qBittorrent GH_PROJECT= qBittorrent # temporary workaround for https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291988 WITH_DEBUG= yes .if ${FLAVOR} == default USES+= desktop-file-utils gl USE_QT+= svg USE_GL= gl CMAKE_OFF= WEBUI .endif .if ${FLAVOR} == nox COMMENT+= (web UI version) CMAKE_OFF= GUI USERS= qbittorrent GROUPS= qbittorrent USE_RC_SUBR= qbittorrent SUB_LIST= USER=${USERS} GROUP=${GROUPS} PLIST_SUB= USER=${USERS} GROUP=${GROUPS} OPTIONS_EXCLUDE= DBUS .endif OPTIONS_DEFINE= DBUS PYTHON DEBUG OPTIONS_RADIO= LIBTORRENT OPTIONS_RADIO_LIBTORRENT= LIBTORRENT1 LIBTORRENT2 OPTIONS_DEFAULT= DBUS PYTHON LIBTORRENT2 LIBTORRENT_DESC= libtorrent version number to use LIBTORRENT1_DESC= Version 1.x (default) LIBTORRENT2_DESC= Version 2.x (experimental) DEBUG_CMAKE_BOOL= debug DBUS_CMAKE_BOOL= DBUS LIBTORRENT1_BUILD_DEPENDS= libtorrent-rasterbar>0:net-p2p/libtorrent-rasterbar LIBTORRENT1_RUN_DEPENDS= libtorrent-rasterbar>0:net-p2p/libtorrent-rasterbar LIBTORRENT2_BUILD_DEPENDS= libtorrent-rasterbar2>0:net-p2p/libtorrent-rasterbar2 LIBTORRENT2_RUN_DEPENDS= libtorrent-rasterbar2>0:net-p2p/libtorrent-rasterbar2 LIBTORRENT2_EXTRA_PATCHES= ${FILESDIR}/extrapatch-libtorrent-rasterbar2-settings PYTHON_DESC= Install Python to support some plugin functionality PYTHON_USES= python:run .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 #LIB_DEPENDS+= libcrypto.so:security/openssl # LIB_DEPENDS doesn't work here (after bsd.port.options.mk) BUILD_DEPENDS+= openssl>0:security/openssl RUN_DEPENDS+= openssl>0:security/openssl CMAKE_ARGS= -DOPENSSL_ROOT_DIR=${LOCALBASE} .endif post-patch-PYTHON-on: @${REINPLACE_CMD} \ -e 's|"python3"|"${PYTHON_CMD}"|' \ ${WRKSRC}/src/base/utils/foreignapps.cpp post-install: .if ${FLAVOR} == nox @${MKDIR} ${STAGEDIR}/var/db/qbittorrent/conf ${STAGEDIR}/var/db/qbittorrent/Downloads .endif .include diff --git a/net-p2p/qbittorrent/distinfo b/net-p2p/qbittorrent/distinfo index 00f9fa460644..e3c62afd6072 100644 --- a/net-p2p/qbittorrent/distinfo +++ b/net-p2p/qbittorrent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1763963977 -SHA256 (qbittorrent-5.1.4.tar.xz) = d5d0c2b78386cde08951eaad930ec353d22e69205e163cc39dcfca2400353979 -SIZE (qbittorrent-5.1.4.tar.xz) = 4652880 +TIMESTAMP = 1777877698 +SHA256 (qbittorrent-5.2.0.tar.xz) = e86e7985c0304532cd9d885d03e183a0ea625e9bdde337a3dec905d502ab9ad0 +SIZE (qbittorrent-5.2.0.tar.xz) = 5291416 diff --git a/net-p2p/qbittorrent/pkg-plist-nox b/net-p2p/qbittorrent/pkg-plist-nox index 5202aa8149d2..03a40a2e36b6 100644 --- a/net-p2p/qbittorrent/pkg-plist-nox +++ b/net-p2p/qbittorrent/pkg-plist-nox @@ -1,8 +1,9 @@ bin/qbittorrent-nox share/man/man1/qbittorrent-nox.1.gz share/man/ru/man1/%%USER%%-nox.1.gz +share/metainfo/org.%%USER%%.qBittorrent-nox.metainfo.xml @owner %%USER%% @group %%GROUP%% @dir /var/db/qbittorrent/conf @dir /var/db/qbittorrent/Downloads @dir /var/db/qbittorrent