pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Add lxqt-policykit: part of LXQt-2.0.x



Module Name:	pkgsrc-wip
Committed By:	pin <voidpin%protonmail.com@localhost>
Pushed By:	pin
Date:		Tue May 28 15:04:55 2024 +0200
Changeset:	b472fa9d11a91b9e54ded4c3b7c100a6e79d0a58

Modified Files:
	Makefile
Added Files:
	lxqt-policykit/DESCR
	lxqt-policykit/Makefile
	lxqt-policykit/PLIST
	lxqt-policykit/distinfo
	lxqt-policykit/patches/patch-autostart_CMakeLists.txt

Log Message:
Add lxqt-policykit: part of LXQt-2.0.x

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b472fa9d11a91b9e54ded4c3b7c100a6e79d0a58

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 lxqt-policykit/DESCR                               |  1 +
 lxqt-policykit/Makefile                            | 31 ++++++++++++++++
 lxqt-policykit/PLIST                               | 41 ++++++++++++++++++++++
 lxqt-policykit/distinfo                            |  6 ++++
 .../patches/patch-autostart_CMakeLists.txt         | 14 ++++++++
 6 files changed, 94 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ba2a111b43..17dd2e8351 100644
--- a/Makefile
+++ b/Makefile
@@ -2171,6 +2171,7 @@ SUBDIR+=	lxqt2-build-tools
 SUBDIR+=	lxqt-about
 SUBDIR+=	lxqt-archiver
 SUBDIR+=	lxqt-menu-data
+SUBDIR+=	lxqt-policykit
 SUBDIR+=	lxqt-themes
 SUBDIR+=	lzs-lkm
 SUBDIR+=	m4ri
diff --git a/lxqt-policykit/DESCR b/lxqt-policykit/DESCR
new file mode 100644
index 0000000000..e45071bcdd
--- /dev/null
+++ b/lxqt-policykit/DESCR
@@ -0,0 +1 @@
+LXQt policykit authentication agent.
diff --git a/lxqt-policykit/Makefile b/lxqt-policykit/Makefile
new file mode 100644
index 0000000000..be4a6d93b4
--- /dev/null
+++ b/lxqt-policykit/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.29 2024/04/06 08:06:37 wiz Exp $
+
+DISTNAME=	lxqt-policykit-2.0.0
+CATEGORIES=	security
+MASTER_SITES=	${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE=	${PKGVERSION_NOREV}
+EXTRACT_SUFX=	.tar.xz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/lxqt/lxqt-policykit/
+COMMENT=	Policykit authentication agent
+LICENSE=	gnu-lgpl-v2.1
+
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config perl
+USE_LANGUAGES=	c c++
+
+AUTOSTART_CONF=		share/examples/autostart
+PKG_SYSCONFSUBDIR=	xdg
+MAKE_DIRS=		${PKG_SYSCONFDIR}/autostart
+
+CONF_FILES+=	${AUTOSTART_CONF}/lxqt-policykit-agent.desktop \
+		${PKG_SYSCONFDIR}/autostart/lxqt-policykit-agent.desktop
+
+TOOL_DEPENDS+=	lxqt-build-tools>=2.0.0:../../wip/lxqt2-build-tools
+TOOL_DEPENDS+=	qt6-qttools-[0-9]*:../../devel/qt6-qttools
+
+.include "../../wip/liblxqt/buildlink3.mk"
+.include "../../security/polkit-qt6/buildlink3.mk"
+.include "../../devel/cmake/build.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt-policykit/PLIST b/lxqt-policykit/PLIST
new file mode 100644
index 0000000000..976d5cf654
--- /dev/null
+++ b/lxqt-policykit/PLIST
@@ -0,0 +1,41 @@
+@comment $NetBSD$
+bin/lxqt-policykit-agent
+man/man1/lxqt-policykit-agent.1
+share/examples/autostart/lxqt-policykit-agent.desktop
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ar.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_arn.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ast.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_bg.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ca.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_cs.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_cy.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_da.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_de.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_el.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_es.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_et.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_fi.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_fr.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_gl.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_he.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_hr.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_hu.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_id.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_it.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ja.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ko.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_lg.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_lt.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_nb_NO.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_nl.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_oc.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_pa.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_pl.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_pt.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ro.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_ru.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_sk_SK.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_tr.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_uk.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_vi.qm
+share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_zh_CN.qm
diff --git a/lxqt-policykit/distinfo b/lxqt-policykit/distinfo
new file mode 100644
index 0000000000..15a0978ecf
--- /dev/null
+++ b/lxqt-policykit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.11 2023/11/14 03:59:44 gutteridge Exp $
+
+BLAKE2s (lxqt-policykit-2.0.0.tar.xz) = a630cddf3559469440607149f4d44755240b667d0b3d6ac26799979bf5d87f89
+SHA512 (lxqt-policykit-2.0.0.tar.xz) = a4b90d2c67281c09a140505d2757253853c62dcca242b1b2d6a266658840ded992ccbedb282ea9221a81de3099c0db8810082f3cc3ec1741be4906d98013fbb7
+Size (lxqt-policykit-2.0.0.tar.xz) = 39964 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = d55c2e8bff66a8a072762030f8856d646fa9937b
diff --git a/lxqt-policykit/patches/patch-autostart_CMakeLists.txt b/lxqt-policykit/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 0000000000..673a9b86dd
--- /dev/null
+++ b/lxqt-policykit/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD$
+
+Install config file to proper location.
+
+--- autostart/CMakeLists.txt.orig	2024-05-28 12:55:25.616096311 +0000
++++ autostart/CMakeLists.txt
+@@ -11,6 +11,6 @@ add_custom_target(lxqt_policykit_autosta
+ 
+ install(FILES
+     ${DESKTOP_FILES}
+-    DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++    DESTINATION "share/examples/autostart"
+     COMPONENT Runtime
+ )


Home | Main Index | Thread Index | Old Index