summaryrefslogtreecommitdiff
path: root/security/polkit-qt
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2009-11-21 20:04:06 +0000
committermarkd <markd@pkgsrc.org>2009-11-21 20:04:06 +0000
commitd0593ee8c3cccd8651c978ee44c3715e12b2bc62 (patch)
treeea10d42c8bd7878abcd39db5654eca91804a1b59 /security/polkit-qt
parent7b81a723385fd9a6c4c9b88f365b5b4e31907247 (diff)
downloadpkgsrc-d0593ee8c3cccd8651c978ee44c3715e12b2bc62.tar.gz
Import polkit-qt version 0.9.2
Qt Wrapper around PolicyKit
Diffstat (limited to 'security/polkit-qt')
-rw-r--r--security/polkit-qt/DESCR16
-rw-r--r--security/polkit-qt/Makefile27
-rw-r--r--security/polkit-qt/PLIST21
-rw-r--r--security/polkit-qt/buildlink3.mk15
-rw-r--r--security/polkit-qt/distinfo5
5 files changed, 84 insertions, 0 deletions
diff --git a/security/polkit-qt/DESCR b/security/polkit-qt/DESCR
new file mode 100644
index 00000000000..022617ca072
--- /dev/null
+++ b/security/polkit-qt/DESCR
@@ -0,0 +1,16 @@
+Polkit-qt aims to make it easy for Qt developers to take advantage of
+PolicyKit API. It is a convenience wrapper around QAction and QAbstractButton
+that lets you integrate those two components easily with PolicyKit.
+
+Polkit-qt is splitted in two libraries: polkit-qt-core and polkit-qt-gui.
+
+polkit-qt-core lets you control actions and authentication without a GUI,
+with some very simple functions. It also lets you retrieve and control useful
+informations on the PolicyKit context. It includes the classes Auth and
+Context.
+
+polkit-qt-gui lets you easily associate GUI items with PolicyKit actions.
+By some simple wrapper classes you are able to associate QAction and
+QAbstractButton to a PolicyKit action, and get their properties changed
+accordingly to PolicyKit result. It includes the classes Action, ActionButton
+and ActionButtons
diff --git a/security/polkit-qt/Makefile b/security/polkit-qt/Makefile
new file mode 100644
index 00000000000..c6a61cec5fb
--- /dev/null
+++ b/security/polkit-qt/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/21 20:04:06 markd Exp $
+
+DISTNAME= polkit-qt-0.9.2
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_KDE:=apps/KDE4.x/admin/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://api.kde.org/kdesupport-api/kdesupport-apidocs/polkit-qt/html
+COMMENT= Qt Wrapper around PolicyKit
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_DEPENDS+= automoc4>=0.9.87:../../devel/automoc4
+
+USE_TOOLS+= pkg-config
+USE_LANGUAGES= c c++
+USE_CMAKE= yes
+
+PKGCONFIG_OVERRIDE+= polkit-qt-core.pc.cmake polkit-qt-gui.pc.cmake polkit-qt.pc.cmake
+
+.include "../../security/policykit/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-qdbus/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/polkit-qt/PLIST b/security/polkit-qt/PLIST
new file mode 100644
index 00000000000..5e69602d3f7
--- /dev/null
+++ b/security/polkit-qt/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/21 20:04:06 markd Exp $
+include/PolicyKit/polkit-qt/Action
+include/PolicyKit/polkit-qt/ActionButton
+include/PolicyKit/polkit-qt/ActionButtons
+include/PolicyKit/polkit-qt/Auth
+include/PolicyKit/polkit-qt/Context
+include/PolicyKit/polkit-qt/action.h
+include/PolicyKit/polkit-qt/actionbutton.h
+include/PolicyKit/polkit-qt/actionbuttons.h
+include/PolicyKit/polkit-qt/auth.h
+include/PolicyKit/polkit-qt/context.h
+include/PolicyKit/polkit-qt/export.h
+lib/libpolkit-qt-core.so
+lib/libpolkit-qt-core.so.0
+lib/libpolkit-qt-core.so.${PKGVERSION}
+lib/libpolkit-qt-gui.so
+lib/libpolkit-qt-gui.so.0
+lib/libpolkit-qt-gui.so.${PKGVERSION}
+lib/pkgconfig/polkit-qt-core.pc
+lib/pkgconfig/polkit-qt-gui.pc
+lib/pkgconfig/polkit-qt.pc
diff --git a/security/polkit-qt/buildlink3.mk b/security/polkit-qt/buildlink3.mk
new file mode 100644
index 00000000000..5c19dd334b1
--- /dev/null
+++ b/security/polkit-qt/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/11/21 20:04:06 markd Exp $
+
+BUILDLINK_TREE+= polkit-qt
+
+.if !defined(POLKIT_QT_BUILDLINK3_MK)
+POLKIT_QT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.polkit-qt+= polkit-qt>=0.9.2
+BUILDLINK_PKGSRCDIR.polkit-qt?= ../../security/polkit-qt
+
+.include "../../security/policykit/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.endif # POLKIT_QT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -polkit-qt
diff --git a/security/polkit-qt/distinfo b/security/polkit-qt/distinfo
new file mode 100644
index 00000000000..a7065e0e6a8
--- /dev/null
+++ b/security/polkit-qt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/21 20:04:06 markd Exp $
+
+SHA1 (polkit-qt-0.9.2.tar.bz2) = 7418067732302ebef22c60e8c2e053e56a07c533
+RMD160 (polkit-qt-0.9.2.tar.bz2) = 7bc7e49da79da4dc692ec485457f6d3432c3ecb3
+Size (polkit-qt-0.9.2.tar.bz2) = 63131 bytes