2020-12-05 13:57:13 +01:00
|
|
|
# Description: KDE Framework - kwindowsystem
|
2022-09-11 10:35:19 +02:00
|
|
|
# URL: https://api.kde.org/frameworks/kwindowsystem/html/index.html
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: extra-cmake-modules qt5
|
2020-12-05 13:57:13 +01:00
|
|
|
|
|
|
|
name=kwindowsystem
|
2022-09-11 10:35:19 +02:00
|
|
|
version=5.98.0
|
2020-12-05 13:57:13 +01:00
|
|
|
release=1
|
|
|
|
source=(https://download.kde.org/stable/frameworks/${version:0:4}/$name-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2022-09-11 10:35:19 +02:00
|
|
|
rm -r $name-$version/po/*
|
2020-12-05 13:57:13 +01:00
|
|
|
|
2022-09-11 10:35:19 +02:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-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" \
|
|
|
|
-Wno-dev
|
2020-12-05 13:57:13 +01:00
|
|
|
|
2022-09-11 10:35:19 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-12-05 13:57:13 +01:00
|
|
|
}
|