2020-12-05 14:57:13 +02: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 14:57:13 +02:00
|
|
|
|
|
|
|
name=kwindowsystem
|
2023-06-11 21:43:53 +02:00
|
|
|
version=5.107.0
|
2020-12-05 14:57:13 +02:00
|
|
|
release=1
|
2023-04-09 20:41:38 +02:00
|
|
|
source=(https://invent.kde.org/frameworks/kwindowsystem/-/archive/v$version/kwindowsystem-v$version.tar.bz2)
|
2020-12-05 14:57:13 +02:00
|
|
|
|
|
|
|
build() {
|
2023-04-09 20:41:38 +02:00
|
|
|
rm -r $name-v$version/poqm/*
|
2020-12-05 14:57:13 +02:00
|
|
|
|
2023-04-09 20:41:38 +02:00
|
|
|
cmake -S $name-v$version -B build -G Ninja \
|
2022-09-11 10:35:19 +02: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" \
|
|
|
|
-Wno-dev
|
2020-12-05 14:57:13 +02:00
|
|
|
|
2022-09-11 10:35:19 +02:00
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-12-05 14:57:13 +02:00
|
|
|
}
|