Skip to content

Commit

Permalink
net/downzemall: update the port to version 4.0.1
Browse files Browse the repository at this point in the history
Project was renamed to ArrowDL, the move would follow.

Reported by:	portscout
  • Loading branch information
Alexey Dokuchaev authored and Alexey Dokuchaev committed Jan 11, 2024
1 parent e762d07 commit b18ee29
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 36 deletions.
21 changes: 10 additions & 11 deletions net/downzemall/Makefile
@@ -1,12 +1,11 @@
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+

Expand All @@ -16,26 +15,26 @@ 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 <bsd.port.mk>
6 changes: 3 additions & 3 deletions 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
22 changes: 17 additions & 5 deletions net/downzemall/files/patch-src_CMakeLists.txt
@@ -1,4 +1,4 @@
--- 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
Expand All @@ -8,23 +8,35 @@
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}
Expand Down
15 changes: 0 additions & 15 deletions net/downzemall/files/patch-src_core_mimedatabase.h

This file was deleted.

4 changes: 2 additions & 2 deletions 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).

0 comments on commit b18ee29

Please sign in to comment.