diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 161a364f2044..7fa45ae7cd7b 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,81 +1,83 @@ PORTNAME= qbittorrent -DISTVERSION= 4.4.5 +DISTVERSION= 4.5.0 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Bittorrent client using Qt5 and libtorrent-rasterbar WWW= https://www.qbittorrent.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_FreeBSD_12_powerpc64= fails to build: ./base/tristatebool.h:44:5: 'constexpr' constructor does not have empty body LIB_DEPENDS= libboost_system.so:devel/boost-libs +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 qmake:no_env qt:5 ssl tar:xz GNU_CONFIGURE= yes USE_QT= core network sql xml buildtools:build linguisttools:build qmake:build DESTDIRNAME= INSTALL_ROOT CONFIGURE_ENV+= openssl_CFLAGS="-I${OPENSSLINC}" openssl_LIBS="-L${OPENSSLLIB} -lssl" USE_CXXSTD= c++17 # prevent boost-related SEGV, see bug#264278 .if ${FLAVOR} == default USES+= desktop-file-utils gl USE_QT+= concurrent gui svg widgets USE_GL= gl .endif .if ${FLAVOR} == nox SUFFIX= -nox COMMENT+= (web UI version) CONFIGURE_ARGS= --disable-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 LIBTORRENT1 LIBTORRENT_DESC= libtorrent version number to use LIBTORRENT1_DESC= Version 1.x (default) LIBTORRENT2_DESC= Version 2.x (unstable, has memory issues) DEBUG_CONFIGURE_ENABLE= debug DBUS_CONFIGURE_ENABLE= qt-dbus DBUS_USE= qt=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 PYTHON_DESC= Install Python to support some plugin functionality PYTHON_USES= python:3.6+,run post-patch-PYTHON-on: @${REINPLACE_CMD} -e 's|"python3"|"${PYTHON_CMD}"|' ${WRKSRC}/src/base/utils/foreignapps.cpp post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/qbittorrent${SUFFIX} ${INSTALL_MAN} ${WRKSRC}/doc/qbittorrent${SUFFIX}.1 \ ${STAGEDIR}${MAN1PREFIX}/man/man1/ @${RM} -r ${STAGEDIR}${PREFIX}/share/man .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 cbaa66345c9d..c8c44f6a270b 100644 --- a/net-p2p/qbittorrent/distinfo +++ b/net-p2p/qbittorrent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1662433881 -SHA256 (qbittorrent-4.4.5.tar.xz) = 0d6ed3948d4ad0d63f01510fe902639ae7b383ccfc1c01e88b75fba5b29ff3b3 -SIZE (qbittorrent-4.4.5.tar.xz) = 4168624 +TIMESTAMP = 1669713702 +SHA256 (qbittorrent-4.5.0.tar.xz) = b084b3c9e55c1f36c9cc3e8858905b7ae0eb2eaa3fad37f8b055c37d82d01388 +SIZE (qbittorrent-4.5.0.tar.xz) = 4256416 diff --git a/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt b/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt deleted file mode 100644 index 271405e477c4..000000000000 --- a/net-p2p/qbittorrent/files/patch-src_CMakeLists.txt +++ /dev/null @@ -1,13 +0,0 @@ -- Because some systems have version lower than required minZlibVersion=1.2.11 - ---- src/CMakeLists.txt.orig 2022-01-06 18:41:17 UTC -+++ src/CMakeLists.txt -@@ -42,7 +42,7 @@ endif() - set_property(CACHE LibtorrentRasterbar_DIR PROPERTY TYPE PATH) - find_package(Boost ${minBoostVersion} REQUIRED) - find_package(OpenSSL ${minOpenSSLVersion} REQUIRED) --find_package(ZLIB ${minZlibVersion} REQUIRED) -+find_package(ZLIB REQUIRED) - if (QT6) - find_package(Qt6 ${minQt6Version} REQUIRED COMPONENTS Core Network Sql Xml LinguistTools) - if (DBUS) diff --git a/net-p2p/qbittorrent/pkg-plist b/net-p2p/qbittorrent/pkg-plist index 3ba599574e27..8948a92d77f1 100644 --- a/net-p2p/qbittorrent/pkg-plist +++ b/net-p2p/qbittorrent/pkg-plist @@ -1,31 +1,30 @@ bin/qbittorrent man/man1/qbittorrent.1.gz share/applications/org.qbittorrent.qBittorrent.desktop share/icons/hicolor/128x128/apps/qbittorrent.png share/icons/hicolor/128x128/status/qbittorrent-tray.png share/icons/hicolor/16x16/apps/qbittorrent.png share/icons/hicolor/16x16/status/qbittorrent-tray.png share/icons/hicolor/192x192/apps/qbittorrent.png share/icons/hicolor/192x192/status/qbittorrent-tray.png share/icons/hicolor/22x22/apps/qbittorrent.png share/icons/hicolor/22x22/status/qbittorrent-tray.png share/icons/hicolor/24x24/apps/qbittorrent.png share/icons/hicolor/24x24/status/qbittorrent-tray.png share/icons/hicolor/32x32/apps/qbittorrent.png share/icons/hicolor/32x32/status/qbittorrent-tray.png share/icons/hicolor/36x36/apps/qbittorrent.png share/icons/hicolor/36x36/status/qbittorrent-tray.png share/icons/hicolor/48x48/apps/qbittorrent.png share/icons/hicolor/48x48/status/qbittorrent-tray.png share/icons/hicolor/64x64/apps/qbittorrent.png share/icons/hicolor/64x64/status/qbittorrent-tray.png share/icons/hicolor/72x72/apps/qbittorrent.png share/icons/hicolor/72x72/status/qbittorrent-tray.png share/icons/hicolor/96x96/apps/qbittorrent.png share/icons/hicolor/96x96/status/qbittorrent-tray.png share/icons/hicolor/scalable/apps/qbittorrent.svg share/icons/hicolor/scalable/status/qbittorrent-tray-dark.svg share/icons/hicolor/scalable/status/qbittorrent-tray-light.svg share/icons/hicolor/scalable/status/qbittorrent-tray.svg share/metainfo/org.qbittorrent.qBittorrent.appdata.xml -share/pixmaps/qbittorrent.png