Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
5 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |