aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/polkit-qt
diff options
context:
space:
mode:
authorrakuco <rakuco@FreeBSD.org>2014-12-27 05:02:21 +0800
committerrakuco <rakuco@FreeBSD.org>2014-12-27 05:02:21 +0800
commita787779ebba3766f585f77bb14a43a268bc9b541 (patch)
tree96f23f64629ef23ffaca3d778887bd5fe67dfd0d /sysutils/polkit-qt
parent3640d4cec7d4f09785dcef1d03df939a0a6f5e25 (diff)
downloadfreebsd-ports-gnome-a787779ebba3766f585f77bb14a43a268bc9b541.tar.gz
freebsd-ports-gnome-a787779ebba3766f585f77bb14a43a268bc9b541.tar.zst
freebsd-ports-gnome-a787779ebba3766f585f77bb14a43a268bc9b541.zip
Update to 0.112.0.
This also incorporates an old area51 commit from 2012 (!) that never made it into the tree which drops some unnecessary dependencies and improves the wording in COMMENT and pkg-descr.
Diffstat (limited to 'sysutils/polkit-qt')
-rw-r--r--sysutils/polkit-qt/Makefile26
-rw-r--r--sysutils/polkit-qt/distinfo4
-rw-r--r--sysutils/polkit-qt/pkg-descr5
-rw-r--r--sysutils/polkit-qt/pkg-plist8
4 files changed, 24 insertions, 19 deletions
diff --git a/sysutils/polkit-qt/Makefile b/sysutils/polkit-qt/Makefile
index 9105a12e726b..4b5517f24bad 100644
--- a/sysutils/polkit-qt/Makefile
+++ b/sysutils/polkit-qt/Makefile
@@ -2,32 +2,32 @@
# $FreeBSD$
PORTNAME= polkit-qt
-PORTVERSION= 0.103.0
-PORTREVISION= 1
+PORTVERSION= 0.112.0
DISTVERSIONPREFIX= 1-
CATEGORIES= sysutils
MASTER_SITES= KDE/stable/apps/KDE4.x/admin/
MAINTAINER= kde@FreeBSD.org
-COMMENT= Qt 4 frontend to PolKit-1
+COMMENT= Qt wrapper around Polkit libraries
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpolkit-agent-1.so:${PORTSDIR}/sysutils/polkit
-USE_LDCONFIG= yes
+CMAKE_ARGS= -DBUILD_EXAMPLES:BOOL=OFF \
+ -DBUILD_TEST:BOOL=OFF \
+ -DUSE_QT4:BOOL=ON
+
+USE_GNOME= glib20
USE_KDE4= automoc4
-USE_QT4= corelib dbus gui network svg xml \
+USE_QT4= corelib dbus gui \
qmake_build moc_build rcc_build uic_build
-USES= cmake gettext tar:bzip2
-# TODO: the next release (post-0.103.0) should have commit 56883bd, which
-# syncs FindGObject.cmake with kdelibs' and should find GObject without
-# requiring us to explicitly set LDFLAGS.
-LDFLAGS+= -L${LOCALBASE}/lib
-
-post-extract:
- ${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
+USES= cmake:outsource tar:bzip2
+USE_LDCONFIG= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|$${LIB_DESTINATION}/pkgconfig|libdata/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff --git a/sysutils/polkit-qt/distinfo b/sysutils/polkit-qt/distinfo
index 9705e5575499..77ec863cb4c9 100644
--- a/sysutils/polkit-qt/distinfo
+++ b/sysutils/polkit-qt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (polkit-qt-1-0.103.0.tar.bz2) = 2e32566b8e3d0fd7cf619497089763303c3dc08b7e5a666b2369720fced2274c
-SIZE (polkit-qt-1-0.103.0.tar.bz2) = 67592
+SHA256 (polkit-qt-1-0.112.0.tar.bz2) = 67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6
+SIZE (polkit-qt-1-0.112.0.tar.bz2) = 67725
diff --git a/sysutils/polkit-qt/pkg-descr b/sysutils/polkit-qt/pkg-descr
index d7381c7df9ed..8beea7a340b7 100644
--- a/sysutils/polkit-qt/pkg-descr
+++ b/sysutils/polkit-qt/pkg-descr
@@ -1,3 +1,6 @@
-Qt 4 wrapper around polkit-1 client libraries.
+Polkit-Qt is a library that lets developers use the Polkit API through
+a nice Qt-styled API. It is mainly a wrapper around QAction and
+QAbstractButton that lets you integrate those two component easily
+with Polkit.
WWW: http://projects.kde.org/projects/kdesupport/polkit-qt-1
diff --git a/sysutils/polkit-qt/pkg-plist b/sysutils/polkit-qt/pkg-plist
index ace88faaf2f9..b6b550c28557 100644
--- a/sysutils/polkit-qt/pkg-plist
+++ b/sysutils/polkit-qt/pkg-plist
@@ -24,15 +24,17 @@ include/polkit-qt-1/polkitqt1-temporaryauthorization.h
include/polkit-qt-1/polkitqt1-version.h
lib/cmake/PolkitQt-1/PolkitQt-1Config.cmake
lib/cmake/PolkitQt-1/PolkitQt-1ConfigVersion.cmake
+lib/cmake/PolkitQt-1/PolkitQt-1Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/PolkitQt-1/PolkitQt-1Targets.cmake
lib/libpolkit-qt-agent-1.so
lib/libpolkit-qt-agent-1.so.1
-lib/libpolkit-qt-agent-1.so.1.103.0
+lib/libpolkit-qt-agent-1.so.1.112.0
lib/libpolkit-qt-core-1.so
lib/libpolkit-qt-core-1.so.1
-lib/libpolkit-qt-core-1.so.1.103.0
+lib/libpolkit-qt-core-1.so.1.112.0
lib/libpolkit-qt-gui-1.so
lib/libpolkit-qt-gui-1.so.1
-lib/libpolkit-qt-gui-1.so.1.103.0
+lib/libpolkit-qt-gui-1.so.1.112.0
libdata/pkgconfig/polkit-qt-1.pc
libdata/pkgconfig/polkit-qt-agent-1.pc
libdata/pkgconfig/polkit-qt-core-1.pc