2019-06-11 23:45:45 +02:00
|
|
|
# Description: theme engine for Qt4/Qt5 and KDE
|
|
|
|
# URL: https://github.com/tsujan/Kvantum/
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-06-23 20:14:55 +02:00
|
|
|
# Depends on: icu kwindowsystem xorg-xcb-util-renderutil
|
2019-06-11 23:45:45 +02:00
|
|
|
|
|
|
|
name=kvantum
|
2020-10-03 12:12:39 +02:00
|
|
|
version=0.17.0
|
2019-06-11 23:45:45 +02:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/tsujan/Kvantum/archive/V$version/Kvantum-v$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
2020-11-08 12:37:14 +01:00
|
|
|
cmake -S Kvantum-$version/Kvantum -B build -G Ninja \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
2020-12-07 00:55:41 +01:00
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
2020-11-08 12:37:14 +01:00
|
|
|
-Wno-dev
|
2020-06-23 20:14:55 +02:00
|
|
|
cmake --build build
|
2020-07-08 15:01:36 +02:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2020-06-23 20:14:55 +02:00
|
|
|
rm -fr $PKG/usr/share/{kvantumpreview/translations,kvantummanager/translations}
|
2019-06-11 23:45:45 +02:00
|
|
|
}
|