1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/sysutils/polkit-qt/Makefile
Tobias C. Berner e520541b73 sysutils/polkit-qt: update to 0.114
Changelog:
----------
* Use feature_summary()
* Drop PolkitQt1::version*() API declaration, never implemented
* Use target_sources to directly set sources instead of helper vars
* Include headers in example & test like external consumer would
* Set include dirs for linking libraries during build by target interface
* Generate version & config file in core build dir
* Use individual export headers/macros per each library
* Remove outdated template FindPolkitQt.cmake
* Remove module prefix from Qt includes in public headers
* Link polkit-qt-test to agent lib target, an include is used
* Remove module prefix from Qt includes of non-oublic headers
* Remove unused include
* Remove unneeded/unused include_directories
* Use more override
* Use more nullptr
* Port away from legacy LINK_PUBLIC & LINK_PRIVATE
* Fully qualify slot argument
* Use QStringLiteral
* Convert license statements to SPDX expressions
* Remove unused cmake macro files
* Enable CMAKE_AUTOUIC and CMAKE_AUTORCC
* Let cmake set the C++ standard

* Port from Q_ENUMS to Q_ENUM * Make use of PkgConfig to find dependencies

* Use Q_DECLARE_OPERATORS_FOR_FLAGS in same namespace as flags definition
* Use more nullptr
* API dox: reference KDE Frameworks, no longer KDE Development Platform
* Support API documentation generation with kapidox
* Make it compile without deprecated method
2021-06-26 23:18:09 +02:00

28 lines
634 B
Makefile

# Created by: Dima Panov <fluffy@Fluffy.Khv.RU>
PORTNAME= polkit-qt-1
DISTVERSION= 0.114.0
CATEGORIES= sysutils
MASTER_SITES= KDE/stable/${PORTNAME}/
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt5 wrapper around Polkit libraries
LICENSE= LGPL21
LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit
USES= cmake compiler:c++11-lang gnome pkgconfig qt:5 tar:xz
USE_GNOME= glib20
USE_QT= core dbus gui widgets buildtools_build qmake_build
CMAKE_OFF= BUILD_EXAMPLES \
BUILD_TEST
USE_LDCONFIG= yes
post-patch:
${REINPLACE_CMD} -e 's|$${LIB_DESTINATION}/pkgconfig|libdata/pkgconfig|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>