blob: 67a350e2135de6181301f7c296ae51481cbb3059 (
plain)
1 # Description: KDE Framework - kwindowsystem
2 # URL: https://api.kde.org/frameworks/kwindowsystem/html/index.html
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: extra-cmake-modules qt5
5
6 name=kwindowsystem
7 version=5.101.0
8 release=1
9 source=(https://download.kde.org/stable/frameworks/${version:0:5}/$name-$version.tar.xz)
10
11 build() {
12 rm -r $name-$version/poqm/*
13
14 cmake -S $name-$version -B build -G Ninja \
15 -D CMAKE_INSTALL_PREFIX=/usr \
16 -D CMAKE_INSTALL_LIBDIR=lib \
17 -D CMAKE_BUILD_TYPE=Release \
18 -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
19 -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
20 -Wno-dev
21
22 cmake --build build
23 DESTDIR=$PKG cmake --install build
24 }
|