git: 5e19c8fc680c - main - archivers/arqiver: Update 0.9.0 → 0.12.0, flavorize qt, take maintainership

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 01 Sep 2024 16:13:22 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e19c8fc680c2c3b14d8533b60a8caa0ecc43a7a

commit 5e19c8fc680c2c3b14d8533b60a8caa0ecc43a7a
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-09-01 16:07:03 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-09-01 16:07:03 +0000

    archivers/arqiver: Update 0.9.0 → 0.12.0, flavorize qt, take maintainership
    
    Changelogs:
    https://github.com/tsujan/Arqiver/releases/tag/V0.10.0
    https://github.com/tsujan/Arqiver/releases/tag/V0.11.0
    https://github.com/tsujan/Arqiver/releases/tag/V0.12.0
    
    Port changes:
    - Add flavors qt5 and qt6: qt5 is default, qt6 is experimental
    - Take maintainership
    - Move to a better fit category
    
    PR:     281171
---
 MOVED                                   |  1 +
 archivers/Makefile                      |  1 +
 archivers/arqiver/Makefile              | 47 +++++++++++++++++++++++++++++++++
 archivers/arqiver/distinfo              |  3 +++
 {x11-fm => archivers}/arqiver/pkg-descr |  0
 {x11-fm => archivers}/arqiver/pkg-plist | 11 ++++++++
 x11-fm/Makefile                         |  1 -
 x11-fm/arqiver/Makefile                 | 37 --------------------------
 x11-fm/arqiver/distinfo                 |  3 ---
 9 files changed, 63 insertions(+), 41 deletions(-)

diff --git a/MOVED b/MOVED
index 0f78b48bc054..b6dda66f0834 100644
--- a/MOVED
+++ b/MOVED
@@ -3454,3 +3454,4 @@ graphics/ming||2024-09-01|Has expired: SWF format is essentially dead after Flas
 dns/adsuck||2024-09-01|Has expired: Obsolete, no longer relevant
 sysutils/apache-mesos||2024-09-01|Has expired: Marked BROKEN for over a year
 devel/libopentracing||2024-09-01|Has expired: https://github.com/opentracing/specification/issues/163
+x11-fm/arqiver|archivers/arqiver|2024-09-01|Moved to a better fit category
diff --git a/archivers/Makefile b/archivers/Makefile
index 1cceff5e3bd0..eceddb2f6c0e 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -11,6 +11,7 @@
     SUBDIR += arj
     SUBDIR += ark
     SUBDIR += ark-devel
+    SUBDIR += arqiver
     SUBDIR += atool
     SUBDIR += bicom
     SUBDIR += brotli
diff --git a/archivers/arqiver/Makefile b/archivers/arqiver/Makefile
new file mode 100644
index 000000000000..22fa1bc8f290
--- /dev/null
+++ b/archivers/arqiver/Makefile
@@ -0,0 +1,47 @@
+PORTNAME=	arqiver
+DISTVERSION=	0.12.0
+CATEGORIES=	archivers
+MASTER_SITES=	https://github.com/tsujan/${PORTNAME}/releases/download/V${DISTVERSION}/
+DISTNAME=	Arqiver-${PORTVERSION}
+
+MAINTAINER=	mew14930xvi@inbox.lv
+COMMENT=	Simple Qt archive manager
+WWW=		https://github.com/tsujan/Arqiver
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+FLAVORS=	qt5 qt6
+FLAVOR?=	qt5
+
+USES=		desktop-file-utils gl qmake tar:xz
+
+.if ${FLAVOR} == qt5
+USES+=			qt:5
+USE_GL=			gl
+USE_QT=			core dbus gui linguist svg widgets buildtools:build
+CONFLICTS_INSTALL=	${PORTNAME}-qt6
+.else
+PKGNAMESUFFIX=		-qt6
+USES+=			qt:6
+USE_GL=			opengl
+USE_QT=			base svg tools:build
+CONFLICTS_INSTALL=	${PORTNAME}
+.endif
+
+OPTIONS_DEFINE=		7ZIP ARJ LZO RAR ZIP
+OPTIONS_DEFAULT=	7ZIP ARJ LZO RAR ZIP
+
+7ZIP_DESC=		7zip archive support
+ARJ_DESC=		ARJ archive support
+RAR_DESC=		RAR archive support
+ZIP_DESC=		ZIP archive support
+
+7ZIP_RUN_DEPENDS=	7z:archivers/7-zip
+ARJ_RUN_DEPENDS=	arj:archivers/arj
+LZO_RUN_DEPENDS=	lzop:archivers/lzop
+RAR_RUN_DEPENDS=	rar:archivers/rar \
+			unrar:archivers/unrar
+ZIP_RUN_DEPENDS=	zip:archivers/zip
+
+.include <bsd.port.mk>
diff --git a/archivers/arqiver/distinfo b/archivers/arqiver/distinfo
new file mode 100644
index 000000000000..0b22574981c9
--- /dev/null
+++ b/archivers/arqiver/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1725078232
+SHA256 (Arqiver-0.12.0.tar.xz) = 053df7eb855313f74b7f058b2a7ebbb1ba1bad235fbd433e38736c4c928d1660
+SIZE (Arqiver-0.12.0.tar.xz) = 143232
diff --git a/x11-fm/arqiver/pkg-descr b/archivers/arqiver/pkg-descr
similarity index 100%
rename from x11-fm/arqiver/pkg-descr
rename to archivers/arqiver/pkg-descr
diff --git a/x11-fm/arqiver/pkg-plist b/archivers/arqiver/pkg-plist
similarity index 51%
rename from x11-fm/arqiver/pkg-plist
rename to archivers/arqiver/pkg-plist
index 65f44acd597e..c857092d2390 100644
--- a/x11-fm/arqiver/pkg-plist
+++ b/archivers/arqiver/pkg-plist
@@ -1,12 +1,23 @@
 bin/arqiver
 share/applications/arqiver.desktop
+%%DATADIR%%/translations/arqiver_ca.qm
+%%DATADIR%%/translations/arqiver_cs.qm
 %%DATADIR%%/translations/arqiver_eo.qm
+%%DATADIR%%/translations/arqiver_et.qm
+%%DATADIR%%/translations/arqiver_fi.qm
 %%DATADIR%%/translations/arqiver_fr.qm
+%%DATADIR%%/translations/arqiver_he.qm
+%%DATADIR%%/translations/arqiver_hi.qm
+%%DATADIR%%/translations/arqiver_hr.qm
 %%DATADIR%%/translations/arqiver_hu.qm
 %%DATADIR%%/translations/arqiver_it.qm
+%%DATADIR%%/translations/arqiver_ko.qm
+%%DATADIR%%/translations/arqiver_lt.qm
 %%DATADIR%%/translations/arqiver_nl.qm
 %%DATADIR%%/translations/arqiver_pl.qm
 %%DATADIR%%/translations/arqiver_pt_BR.qm
+%%DATADIR%%/translations/arqiver_pt.qm
 %%DATADIR%%/translations/arqiver_ru.qm
+%%DATADIR%%/translations/arqiver_tr.qm
 %%DATADIR%%/translations/arqiver_uk.qm
 share/icons/hicolor/scalable/apps/arqiver.svg
diff --git a/x11-fm/Makefile b/x11-fm/Makefile
index e9b8e68d0c06..e38bf2e778d1 100644
--- a/x11-fm/Makefile
+++ b/x11-fm/Makefile
@@ -1,7 +1,6 @@
     COMMENT = X11 file managers
 
     SUBDIR += 4pane
-    SUBDIR += arqiver
     SUBDIR += caja
     SUBDIR += catseye-fm
     SUBDIR += deforaos-browser
diff --git a/x11-fm/arqiver/Makefile b/x11-fm/arqiver/Makefile
deleted file mode 100644
index 72060a71595b..000000000000
--- a/x11-fm/arqiver/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-PORTNAME=	arqiver
-DISTVERSION=	0.9.0
-CATEGORIES=	x11-fm
-MASTER_SITES=	https://github.com/tsujan/${PORTNAME}/releases/download/V${DISTVERSION}/
-DISTNAME=	Arqiver-${PORTVERSION}
-
-MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Simple Qt archive manager
-WWW=		https://github.com/tsujan/Arqiver
-
-LICENSE=	GPLv3
-
-USES=		cmake qt:5 tar:xz xorg
-USE_XORG=	xcb
-USE_QT=		buildtools:build qmake:build \
-		core gui linguist svg widgets \
-		x11extras
-
-OPTIONS_DEFINE=	7ZIP ARJ LZO RAR ZIP
-OPTIONS_DEFAULT=	7ZIP ARJ LZO RAR ZIP
-
-7ZIP_DESC=	7zip archive support
-7ZIP_RUN_DEPENDS=	7z:archivers/7-zip
-
-ARJ_DESC=	ARJ archive support
-ARJ_RUN_DEPENDS=	arj:archivers/arj
-
-LZO_RUN_DEPENDS=	lzop:archivers/lzop
-
-RAR_DESC=	RAR archive support
-RAR_RUN_DEPENDS=	rar:archivers/rar \
-			unrar:archivers/unrar
-
-ZIP_DESC=	ZIP archive support
-ZIP_RUN_DEPENDS=	zip:archivers/zip
-
-.include <bsd.port.mk>
diff --git a/x11-fm/arqiver/distinfo b/x11-fm/arqiver/distinfo
deleted file mode 100644
index 682ec06d0503..000000000000
--- a/x11-fm/arqiver/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1654109335
-SHA256 (Arqiver-0.9.0.tar.xz) = bf3b4be44524b4d6b4096846c304d381e6707681fbb1e69b2847f6876b950593
-SIZE (Arqiver-0.9.0.tar.xz) = 121104