diff --git a/sysutils/Makefile b/sysutils/Makefile index 3dded3b01bab5..8c60aeaa5bd11 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 0000000000000..5dd6a5db1c445 --- /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 diff --git a/sysutils/polkit-qt-1-devel/distinfo b/sysutils/polkit-qt-1-devel/distinfo new file mode 100644 index 0000000000000..b60ed705f05b2 --- /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 0000000000000..ce0027a2091b4 --- /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 0000000000000..76440a7cb017b --- /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