2024-03-17 22:01:17 +01:00
|
|
|
# Description: A library that lets developers use the PolicyKit API through a nice Qt-styled API
|
|
|
|
# URL: https://www.kde.org/
|
|
|
|
# Maintainer: CRUX KDE Ports, kde-ports at crux dot nu
|
|
|
|
# Depends on: polkit qt6-base
|
|
|
|
|
|
|
|
name=polkit-qt-1
|
|
|
|
version=0.200.0
|
|
|
|
release=1
|
|
|
|
source=(https://download.kde.org/stable/$name/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2024-03-24 16:13:35 +01:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
2024-03-17 22:01:17 +01:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
|
|
-D QT_MAJOR_VERSION=6 \
|
|
|
|
-Wno-dev
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
|
|
|
}
|
|
|
|
|
|
|
|
# vim: set ts=4 et:
|