blob: dd6680650effe83c8b11fdb0bde0edffde96ab3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: marco.rubin@protonmail.com
_name=KDDockWidgets
pkgname=kddockwidgets-qt6
pkgver=2.1.0
pkgrel=3
pkgdesc="KDAB's Dock Widget Framework for Qt 6"
arch=('x86_64')
url="https://github.com/KDAB/KDDockWidgets"
license=('GPL-2.0-only OR GPL-3.0-only')
depends=(gcc-libs glibc 'fmt>=11' nlohmann-json 'qt6-base>=6.2.0' qt6-declarative)
makedepends=('cmake>=3.15' 'qt6-tools>=6.6.2')
source=("$url/archive/v$pkgver.tar.gz")
b2sums=('19b6e3ef5f1829b956a8592905a7c6ab5a3ad7febc2ecac93c9c99efd9a29604388da8d2c64648c217dd286e0e73a4ca6dbdf1050b10f0063363760bd1f2eceb')
build() {
cd $_name-$pkgver
# -DKDDockWidgets_NO_SPDLOG=true is needed until KDDockWidgets can be built with fmt 11
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDDockWidgets_FRONTENDS='qtwidgets;qtquick' \
-DKDDockWidgets_NO_SPDLOG=true \
-DKDDockWidgets_QT6=true \
.
cmake --build .
}
package() {
cd $_name-$pkgver
DESTDIR="$pkgdir" cmake --install .
}
|