diff --git a/net-p2p/tremotesf/Makefile b/net-p2p/tremotesf/Makefile index f447dd19bdcf..30de9651e7ce 100644 --- a/net-p2p/tremotesf/Makefile +++ b/net-p2p/tremotesf/Makefile @@ -1,47 +1,51 @@ PORTNAME= tremotesf -DISTVERSION= 2.6.3 +DISTVERSION= 2.7.2 CATEGORIES= net-p2p +MASTER_SITES= https://github.com/equeim/${PORTNAME}2/releases/download/${DISTVERSION}/ MAINTAINER= vsasjason@gmail.com COMMENT= Remote GUI for transmission-daemon +WWW= https://github.com/equeim/${PORTNAME}2 LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt BUILD_DEPENDS= cxxopts>0:devel/cxxopts LIB_DEPENDS= libfmt.so:devel/libfmt \ libpsl.so:dns/libpsl FLAVORS= qt6 qt5 FLAVOR?= ${FLAVORS:[1]} qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_PKGNAMESUFFIX= -qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= cmake:testing compiler:c++20-lang desktop-file-utils \ - gettext-tools pkgconfig xorg + gettext-tools pkgconfig tar:zst xorg .if ${FLAVOR} == qt5 USES+= kde:5 qt:5 -USE_QT= core dbus gui network widgets buildtools:build concurrent:build \ +USE_QT= core dbus gui network widgets buildtools:build \ linguisttools:build qmake:build testlib:build CMAKE_OFF= TREMOTESF_QT6 .else USES+= gl kde:6 qt:6 USE_GL= opengl USE_QT= base .endif -USE_GITHUB= yes -GH_ACCOUNT= equeim yhirose:httplib -GH_PROJECT= tremotesf2 cpp-httplib:httplib -GH_SUBDIR= src/3rdparty/cpp-httplib:httplib -GH_TAGNAME= v0.14.3:httplib - USE_KDE= widgetsaddons windowsystem USE_XORG= x11 -CMAKE_ARGS+= -DTREMOTESF_WITH_HTTPLIB=bundled +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 +TEST_DEPENDS= cpp-httplib>0:www/cpp-httplib +.else +CMAKE_ARGS= -DTREMOTESF_WITH_HTTPLIB=none +EXTRACT_AFTER_ARGS= --exclude ${DISTNAME}/src/3rdparty/cpp-httplib \ + --no-same-owner --no-same-permissions +.endif .include diff --git a/net-p2p/tremotesf/distinfo b/net-p2p/tremotesf/distinfo index e300d66c3b76..934decef016c 100644 --- a/net-p2p/tremotesf/distinfo +++ b/net-p2p/tremotesf/distinfo @@ -1,5 +1,3 @@ -TIMESTAMP = 1714473412 -SHA256 (equeim-tremotesf2-2.6.3_GH0.tar.gz) = 5a21b0d8062849eeb45737e998c34224071643b54740647c510f4cff7249a76f -SIZE (equeim-tremotesf2-2.6.3_GH0.tar.gz) = 761779 -SHA256 (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = dcf6486d9030937636d8a4f820ca9531808fd7edb283893dddbaa05f99357e63 -SIZE (yhirose-cpp-httplib-v0.14.3_GH0.tar.gz) = 1149767 +TIMESTAMP = 1726411506 +SHA256 (tremotesf-2.7.2.tar.zst) = 3a3c83e5fede0c32c4ba3552f962c1ff6638300268a3c218841f86d426c0339f +SIZE (tremotesf-2.7.2.tar.zst) = 2494693