git: 46e5d467dd6a - main - sysutils/polkit-qt-1-devel: new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Dec 2023 08:31:15 UTC
The branch main has been updated by tcberner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46e5d467dd6ab8aa98a4e1200029247fdf6a8d4b
commit 46e5d467dd6ab8aa98a4e1200029247fdf6a8d4b
Author: Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-12-02 07:52:26 +0000
Commit: Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-12-02 07:53:09 +0000
sysutils/polkit-qt-1-devel: new port
This is the development version of sysutils/polkit-qt-1
It adds Qt6 support, which is required for the Plasma 6-beta ports.
---
sysutils/Makefile | 1 +
sysutils/polkit-qt-1-devel/Makefile | 34 ++++++++++++++++++++++++++++
sysutils/polkit-qt-1-devel/distinfo | 3 +++
sysutils/polkit-qt-1-devel/pkg-descr | 4 ++++
sysutils/polkit-qt-1-devel/pkg-plist | 43 ++++++++++++++++++++++++++++++++++++
5 files changed, 85 insertions(+)
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 3dded3b01bab..8c60aeaa5bd1 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1034,6 +1034,7 @@
SUBDIR += polkit
SUBDIR += polkit-gnome
SUBDIR += polkit-qt
+ SUBDIR += polkit-qt-1-devel
SUBDIR += pot
SUBDIR += potnet
SUBDIR += poweralertd
diff --git a/sysutils/polkit-qt-1-devel/Makefile b/sysutils/polkit-qt-1-devel/Makefile
new file mode 100644
index 000000000000..5dd6a5db1c44
--- /dev/null
+++ b/sysutils/polkit-qt-1-devel/Makefile
@@ -0,0 +1,34 @@
+PORTNAME= polkit-qt-1
+DISTVERSION= 0.175.0
+CATEGORIES= sysutils
+MASTER_SITES= KDE/unstable/${PORTNAME}/
+PKGNAMESUFFIX= -${FLAVOR}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt wrapper around Polkit libraries
+WWW= https://projects.kde.org/projects/kdesupport/polkit-qt-1
+
+LICENSE= LGPL21
+
+FLAVORS= qt5 qt6
+FLAVOR?= qt5
+
+LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit
+
+USES= cmake compiler:c++11-lang gnome pkgconfig qt:${FLAVOR:C/qt//} \
+ tar:xz
+USE_GNOME= glib20
+USE_QT= ${_USE_QT_${FLAVOR}}
+CMAKE_OFF= BUILD_EXAMPLES BUILD_TEST
+CMAKE_ARGS= -DQT_MAJOR_VERSION=${FLAVOR:C/qt//}
+_USE_QT_qt5= core dbus gui widgets buildtools:build qmake:build
+_USE_QT_qt6= base
+
+USE_LDCONFIG= yes
+PLIST_SUB= QT_VER=${FLAVOR:C/qt//}
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|$${LIB_DESTINATION}/pkgconfig|libdata/pkgconfig|' \
+ ${WRKSRC}/CMakeLists.txt
+
+.include <bsd.port.mk>
diff --git a/sysutils/polkit-qt-1-devel/distinfo b/sysutils/polkit-qt-1-devel/distinfo
new file mode 100644
index 000000000000..b60ed705f05b
--- /dev/null
+++ b/sysutils/polkit-qt-1-devel/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1701502649
+SHA256 (polkit-qt-1-0.175.0.tar.xz) = 73a32d1a1819684145e0ef8a1f2ea804f9ec10ad78d62aa03bad4dbdb39c4c99
+SIZE (polkit-qt-1-0.175.0.tar.xz) = 58208
diff --git a/sysutils/polkit-qt-1-devel/pkg-descr b/sysutils/polkit-qt-1-devel/pkg-descr
new file mode 100644
index 000000000000..ce0027a2091b
--- /dev/null
+++ b/sysutils/polkit-qt-1-devel/pkg-descr
@@ -0,0 +1,4 @@
+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.
diff --git a/sysutils/polkit-qt-1-devel/pkg-plist b/sysutils/polkit-qt-1-devel/pkg-plist
new file mode 100644
index 000000000000..76440a7cb017
--- /dev/null
+++ b/sysutils/polkit-qt-1-devel/pkg-plist
@@ -0,0 +1,43 @@
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/ActionDescription
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Agent/Listener
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Agent/Session
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Authority
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Details
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/Action
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/ActionButton
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Gui/ActionButtons
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Identity
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/Subject
+include/polkit-qt%%QT_VER%%-1/PolkitQt1/TemporaryAuthorization
+include/polkit-qt%%QT_VER%%-1/polkitqt1-actiondescription.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-export.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-listener.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-agent-session.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-authority.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-core-export.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-details.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-action.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-actionbutton.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-actionbuttons.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-gui-export.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-identity.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-subject.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-temporaryauthorization.h
+include/polkit-qt%%QT_VER%%-1/polkitqt1-version.h
+lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Config.cmake
+lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1ConfigVersion.cmake
+lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Targets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/PolkitQt%%QT_VER%%-1/PolkitQt%%QT_VER%%-1Targets.cmake
+lib/libpolkit-qt%%QT_VER%%-agent-1.so
+lib/libpolkit-qt%%QT_VER%%-agent-1.so.1
+lib/libpolkit-qt%%QT_VER%%-agent-1.so.1.175.0
+lib/libpolkit-qt%%QT_VER%%-core-1.so
+lib/libpolkit-qt%%QT_VER%%-core-1.so.1
+lib/libpolkit-qt%%QT_VER%%-core-1.so.1.175.0
+lib/libpolkit-qt%%QT_VER%%-gui-1.so
+lib/libpolkit-qt%%QT_VER%%-gui-1.so.1
+lib/libpolkit-qt%%QT_VER%%-gui-1.so.1.175.0
+libdata/pkgconfig/polkit-qt%%QT_VER%%-1.pc
+libdata/pkgconfig/polkit-qt%%QT_VER%%-agent-1.pc
+libdata/pkgconfig/polkit-qt%%QT_VER%%-core-1.pc
+libdata/pkgconfig/polkit-qt%%QT_VER%%-gui-1.pc