summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/lxqt-policykit/Makefile14
-rw-r--r--security/lxqt-policykit/PLIST5
-rw-r--r--security/lxqt-policykit/distinfo11
-rw-r--r--security/lxqt-policykit/patches/patch-autostart_CMakeLists.txt14
4 files changed, 33 insertions, 11 deletions
diff --git a/security/lxqt-policykit/Makefile b/security/lxqt-policykit/Makefile
index cfaae95f655..6e269e719d7 100644
--- a/security/lxqt-policykit/Makefile
+++ b/security/lxqt-policykit/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2020/12/04 04:56:12 riastradh Exp $
+# $NetBSD: Makefile,v 1.8 2020/12/07 12:10:22 pin Exp $
-DISTNAME= lxqt-policykit-0.15.0
-PKGREVISION= 4
+DISTNAME= lxqt-policykit-0.16.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
@@ -19,10 +18,17 @@ USE_LANGUAGES= c c++
CONFIGURE_DIRS= build
CMAKE_ARG_PATH= ..
+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
+
pre-configure:
${MKDIR} -p ${WRKSRC}/build
-TOOL_DEPENDS+= lxqt-build-tools-[0-9]*:../../devel/lxqt-build-tools
+TOOL_DEPENDS+= lxqt-build-tools>=0.8:../../devel/lxqt-build-tools
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
.include "../../x11/liblxqt/buildlink3.mk"
diff --git a/security/lxqt-policykit/PLIST b/security/lxqt-policykit/PLIST
index 04498f7a5db..440a2b087d4 100644
--- a/security/lxqt-policykit/PLIST
+++ b/security/lxqt-policykit/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.2 2020/06/01 11:48:49 pin Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/12/07 12:10:22 pin Exp $
bin/lxqt-policykit-agent
man/man1/lxqt-policykit-agent.1
-share/examples/lxqt/xdg/autostart/lxqt-policykit-agent.desktop
+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
@@ -15,6 +15,7 @@ share/lxqt/translations/lxqt-policykit-agent/lxqt-policykit-agent_es.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
diff --git a/security/lxqt-policykit/distinfo b/security/lxqt-policykit/distinfo
index 3d8f41838cd..ce090d8bccd 100644
--- a/security/lxqt-policykit/distinfo
+++ b/security/lxqt-policykit/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2020/06/01 11:48:49 pin Exp $
+$NetBSD: distinfo,v 1.3 2020/12/07 12:10:22 pin Exp $
-SHA1 (lxqt-policykit-0.15.0.tar.xz) = 74c440fa47fb18806a672b958320972d1fb0b663
-RMD160 (lxqt-policykit-0.15.0.tar.xz) = c080f914cfdc8ea28e82a5ecff526e026df0a3b2
-SHA512 (lxqt-policykit-0.15.0.tar.xz) = 2dbbe6d626ef5da816f080354caf564a1aa58270ae299483b9a4ce35d5f1bdb3c652dcb5f12d2668a0ea82556414b00320d2bd88fcadb37fbbdbf724a17e3c41
-Size (lxqt-policykit-0.15.0.tar.xz) = 37712 bytes
+SHA1 (lxqt-policykit-0.16.0.tar.xz) = 223ce668688a42cb8d26d3544bd838fb1fe13d17
+RMD160 (lxqt-policykit-0.16.0.tar.xz) = e82076a2e5b82a35732d1e23f36fbd9dab4e8e60
+SHA512 (lxqt-policykit-0.16.0.tar.xz) = f6eae925cbf25064addf5d89999d16a7397ddb0d8c616f75a3b81df57a42a70e52da599fdad6b8589a1e951cf46cd541e9a23e352a0d2ee309116b6e0238cfa9
+Size (lxqt-policykit-0.16.0.tar.xz) = 38016 bytes
+SHA1 (patch-autostart_CMakeLists.txt) = 6ec078b9a98a84fd73b9e512eceb4f632bc3721d
diff --git a/security/lxqt-policykit/patches/patch-autostart_CMakeLists.txt b/security/lxqt-policykit/patches/patch-autostart_CMakeLists.txt
new file mode 100644
index 00000000000..e4211f44028
--- /dev/null
+++ b/security/lxqt-policykit/patches/patch-autostart_CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-autostart_CMakeLists.txt,v 1.1 2020/12/07 12:10:22 pin Exp $
+
+Install config file to proper location
+
+--- autostart/CMakeLists.txt.orig 2020-10-30 22:00:57.000000000 +0000
++++ autostart/CMakeLists.txt
+@@ -10,6 +10,6 @@ add_custom_target(lxqt_policykit_autosta
+
+ install(FILES
+ ${DESKTOP_FILES}
+- DESTINATION "${LXQT_ETC_XDG_DIR}/autostart"
++ DESTINATION "share/examples/autostart"
+ COMPONENT Runtime
+ )