diff --git a/net/downzemall/Makefile b/net/downzemall/Makefile index 00c4876b24d7..4808f318de4b 100644 --- a/net/downzemall/Makefile +++ b/net/downzemall/Makefile @@ -1,41 +1,40 @@ PORTNAME= ${GH_PROJECT:tl} -PORTVERSION= 3.0.6 -PORTREVISION= 1 +PORTVERSION= 4.0.1 DISTVERSIONPREFIX= v CATEGORIES= net MAINTAINER= danfe@FreeBSD.org COMMENT= Multi-protocol standalone download manager -WWW= https://setvisible.github.io/DownZemAll/ +WWW= https://www.arrow-dl.com/ArrowDL/ LICENSE= LGPL21+ LIB_DEPENDS= libtorrent-rasterbar.so:net-p2p/libtorrent-rasterbar2 USES= cmake qt:6 ssl USE_QT= base USE_GITHUB= yes GH_ACCOUNT= setvisible -GH_PROJECT= DownZemAll +GH_PROJECT= ArrowDL CMAKE_OFF= BUILD_LAUNCHER BUILD_TESTS -PLIST_FILES= bin/DownZemAll \ - share/applications/DownZemAll.desktop \ - share/pixmaps/DownZemAll.png +PLIST_FILES= bin/${GH_PROJECT} \ + share/applications/${GH_PROJECT}.desktop \ + share/pixmaps/${GH_PROJECT}.png post-extract: @${RM} -r ${WRKSRC}/3rd/libtorrent-rasterbar @${RM} ${WRKSRC}/cmake/Modules/FindLibtorrentRasterbar.cmake do-install: - ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/DownZemAll \ + ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/src/${GH_PROJECT} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} \ - ${WRKSRC}/installer/unix/appimage/DownZemAll.desktop \ + ${WRKSRC}/installer/unix/appimage/${GH_PROJECT}.desktop \ ${STAGEDIR}${PREFIX}/share/applications ${INSTALL_DATA} \ - ${WRKSRC}/installer/unix/portable/DownZemAll_64x64.png \ - ${STAGEDIR}${PREFIX}/share/pixmaps/DownZemAll.png + ${WRKSRC}/installer/unix/portable/${GH_PROJECT}_64x64.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/${GH_PROJECT}.png .include diff --git a/net/downzemall/distinfo b/net/downzemall/distinfo index 1b458bb19ae7..861c3ccd0013 100644 --- a/net/downzemall/distinfo +++ b/net/downzemall/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1686075275 -SHA256 (setvisible-DownZemAll-v3.0.6_GH0.tar.gz) = a5f1eefdbc83f7f3e1e72b4c6102829e511331ef96c466bfa23cb5bba543bb2f -SIZE (setvisible-DownZemAll-v3.0.6_GH0.tar.gz) = 42461698 +TIMESTAMP = 1704647692 +SHA256 (setvisible-ArrowDL-v4.0.1_GH0.tar.gz) = ca03d55a89ff10534b9848829d78427d6b9a14211b8a09aa5fcedc389ac2675d +SIZE (setvisible-ArrowDL-v4.0.1_GH0.tar.gz) = 40861128 diff --git a/net/downzemall/files/patch-src_CMakeLists.txt b/net/downzemall/files/patch-src_CMakeLists.txt index d03ca3d36ce4..5a7a1bb2c127 100644 --- a/net/downzemall/files/patch-src_CMakeLists.txt +++ b/net/downzemall/files/patch-src_CMakeLists.txt @@ -1,35 +1,47 @@ ---- src/CMakeLists.txt.orig 2023-04-01 21:01:51 UTC +--- src/CMakeLists.txt.orig 2024-01-07 17:14:52 UTC +++ src/CMakeLists.txt @@ -10,7 +10,6 @@ find_package(GoogleGumboParser REQUIRED) find_package(Qt6 REQUIRED COMPONENTS Core Gui - LinguistTools Network Widgets ) -@@ -72,6 +71,7 @@ target_compile_definitions(${TARGET_NAME} +@@ -30,6 +29,11 @@ set(MY_SOURCES ${MY_SOURCES} + ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.cpp + ) + ++set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp ++ PROPERTIES COMPILE_DEFINITIONS ++ BOOST_STACKTRACE_GNU_SOURCE_NOT_REQUIRED ++) ++ + set(MY_HEADERS ${MY_HEADERS} + ${CMAKE_CURRENT_SOURCE_DIR}/mainwindow.h + ) +@@ -72,6 +76,7 @@ target_compile_definitions(${TARGET_NAME} UNICODE ) +if(false) qt_add_translations(${TARGET_NAME} TS_FILES - ${CMAKE_SOURCE_DIR}/src/locale/dza_ar_EG.ts # Arabic -@@ -93,6 +93,7 @@ qt_add_translations(${TARGET_NAME} + ${CMAKE_SOURCE_DIR}/src/locale/arrowdl_ar_EG.ts # Arabic +@@ -93,6 +98,7 @@ qt_add_translations(${TARGET_NAME} QM_FILES_OUTPUT_VARIABLE qm_files ) +endif() if(MSVC OR MSYS OR MINGW) # for detecting Windows compilers -@@ -123,7 +124,7 @@ else() # MacOS or Unix Compilers +@@ -125,7 +131,7 @@ else() # MacOS or Unix Compilers target_link_libraries(${TARGET_NAME} PRIVATE ${GoogleGumboParser_LIBRARIES} - ${LibtorrentRasterbar_LIBRARIES} + LibtorrentRasterbar::torrent-rasterbar Threads::Threads diff --git a/net/downzemall/files/patch-src_core_mimedatabase.h b/net/downzemall/files/patch-src_core_mimedatabase.h deleted file mode 100644 index 72118946d2fc..000000000000 --- a/net/downzemall/files/patch-src_core_mimedatabase.h +++ /dev/null @@ -1,15 +0,0 @@ -Fix build with Qt 6.6.x - -https://github.com/setvisible/DownZemAll/issues/120 -https://github.com/setvisible/DownZemAll/pull/121 - ---- src/core/mimedatabase.h.orig 2023-11-19 21:20:25 UTC -+++ src/core/mimedatabase.h -@@ -20,6 +20,7 @@ - - #include - #include -+#include - #include - - constexpr int default_icon_size = 32; diff --git a/net/downzemall/pkg-descr b/net/downzemall/pkg-descr index 797919a670ca..2a7e8fe67ee4 100644 --- a/net/downzemall/pkg-descr +++ b/net/downzemall/pkg-descr @@ -1,5 +1,5 @@ -DownZemAll! is a multi-platform mass download manager. It helps one to +ArrowDL is a multi-platform mass download manager. It helps one to select, organize, prioritize, and run many downloads in parallel. -Based on the Qt framework, DownZemAll! is written in C/C++ and supports +Based on the Qt framework, ArrowDL is written in C/C++ and supports various download types (regular files, video streams, torrents).