git: 823e2492ff0e - main - sysutils/lxqt-admin: Update to 1.0.0

From: Jesper Schmitz Mouridsen <jsm_at_FreeBSD.org>
Date: Wed, 10 Nov 2021 18:28:08 UTC
The branch main has been updated by jsm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=823e2492ff0eb0adf7c8a7408a64ce21f1aff29a

commit 823e2492ff0eb0adf7c8a7408a64ce21f1aff29a
Author:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
AuthorDate: 2021-11-10 17:22:55 +0000
Commit:     Jesper Schmitz Mouridsen <jsm@FreeBSD.org>
CommitDate: 2021-11-10 18:25:33 +0000

    sysutils/lxqt-admin: Update to 1.0.0
---
 sysutils/lxqt-admin/Makefile                                 |  5 +++--
 sysutils/lxqt-admin/distinfo                                 |  6 +++---
 sysutils/lxqt-admin/files/patch-lxqt-admin-time_datetime.cpp | 11 +++++++++++
 sysutils/lxqt-admin/pkg-plist                                |  5 +++++
 4 files changed, 22 insertions(+), 5 deletions(-)

diff --git a/sysutils/lxqt-admin/Makefile b/sysutils/lxqt-admin/Makefile
index d4f001b22649..6c365350a216 100644
--- a/sysutils/lxqt-admin/Makefile
+++ b/sysutils/lxqt-admin/Makefile
@@ -1,7 +1,7 @@
 # Created by: Olivier Duchateau
 
 PORTNAME=	lxqt-admin
-PORTVERSION=	0.17.0
+PORTVERSION=	1.0.0
 CATEGORIES=	sysutils
 MASTER_SITES=	LXQT
 
@@ -11,11 +11,12 @@ COMMENT=	System administration tool for the LXQt desktop
 LICENSE=	LGPL21+
 
 USES=	cmake compiler:c++11-lang gnome kde:5 localbase \
-	lxqt pkgconfig tar:xz qt:5
+	lxqt pkgconfig tar:xz qt:5 xorg
 USE_QT=	buildtools_build qmake_build core dbus gui svg \
 	widgets x11extras xml
 USE_KDE=	windowsystem
 USE_GNOME=	glib20
 USE_LXQT=	buildtools lxqt
+USE_XORG=	x11
 
 .include <bsd.port.mk>
diff --git a/sysutils/lxqt-admin/distinfo b/sysutils/lxqt-admin/distinfo
index 6c7adba179da..00e0c34d3d51 100644
--- a/sysutils/lxqt-admin/distinfo
+++ b/sysutils/lxqt-admin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1618781910
-SHA256 (lxqt/lxqt-admin-0.17.0.tar.xz) = 83485e4cf8d61861711934ca4e41b0a90cd03528dbc3b0f5ffb2bb5bffb0d31d
-SIZE (lxqt/lxqt-admin-0.17.0.tar.xz) = 145620
+TIMESTAMP = 1636470378
+SHA256 (lxqt/lxqt-admin-1.0.0.tar.xz) = f6eebb0da1563f14e9e4d39d3ff2622ee1c8ffa5b130ba26321cfe5261c1411e
+SIZE (lxqt/lxqt-admin-1.0.0.tar.xz) = 148732
diff --git a/sysutils/lxqt-admin/files/patch-lxqt-admin-time_datetime.cpp b/sysutils/lxqt-admin/files/patch-lxqt-admin-time_datetime.cpp
new file mode 100644
index 000000000000..36be7c66ea39
--- /dev/null
+++ b/sysutils/lxqt-admin/files/patch-lxqt-admin-time_datetime.cpp
@@ -0,0 +1,11 @@
+--- lxqt-admin-time/datetime.cpp.orig	2021-11-05 10:21:27 UTC
++++ lxqt-admin-time/datetime.cpp
+@@ -70,7 +70,7 @@ void DateTimePage::reload()
+     ui->edit_time->setTime(QTime::currentTime());
+ 
+     ui->localRTC->setChecked(mLocalRtc);
+-#ifndef NO_SYSTEMD
++#if !defined(NO_SYSTEMD) || defined(__FreeBSD__)
+     ui->ntp->setChecked(mUseNtp);
+ #else
+     ui->ntp->setChecked(false);
diff --git a/sysutils/lxqt-admin/pkg-plist b/sysutils/lxqt-admin/pkg-plist
index 0eccbfef17e8..5779cb697119 100644
--- a/sysutils/lxqt-admin/pkg-plist
+++ b/sysutils/lxqt-admin/pkg-plist
@@ -25,6 +25,7 @@ share/applications/lxqt-admin-user.desktop
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_id.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_it.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_ja.qm
+%%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_ko.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_lt.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_lv.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_nb_NO.qm
@@ -34,6 +35,7 @@ share/applications/lxqt-admin-user.desktop
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_pt_BR.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_ru.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_si.qm
+%%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_sk.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_tr.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_uk.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-time/lxqt-admin-time_vi.qm
@@ -51,6 +53,7 @@ share/applications/lxqt-admin-user.desktop
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_el.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_en_GB.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_es.qm
+%%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_et.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_fr.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_gl.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_he.qm
@@ -59,6 +62,7 @@ share/applications/lxqt-admin-user.desktop
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_id.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_it.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_ja.qm
+%%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_ko.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_lt.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_nb_NO.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_nl.qm
@@ -67,6 +71,7 @@ share/applications/lxqt-admin-user.desktop
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_pt_BR.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_ru.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_si.qm
+%%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_sk.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_tr.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_uk.qm
 %%LXQT_TRANSLATIONS%%/lxqt-admin-user/lxqt-admin-user_vi.qm