Skip to content
Snippets Groups Projects
Commit 2a198aa3 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

community/grantlee-qt5: new aport

A Qt5 build of the existing community/grantlee
parent b49ae02d
No related branches found
No related tags found
2 merge requests!79570community/firefox-esr: upgrade to 128.7.0,!78514community/rocs: modernize and build with grantlee-qt5
maintainer="Bart Ribbers <bribbers@disroot.org>"
pkgname=grantlee-qt5
pkgver=5.3.1
pkgrel=0
pkgdesc="A string template engine based on the Django template system and written in Qt"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
url="https://github.com/steveire/grantlee"
license="LGPL-2.1-or-later"
depends_dev="
graphviz-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
"
makedepends="$depends_dev
cmake
doxygen
graphviz
samurai
"
checkdepends="xwayland-run"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/steveire/grantlee/releases/download/v$pkgver/grantlee-$pkgver.tar.gz"
builddir="$srcdir/grantlee-$pkgver"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DGRANTLEE_BUILD_WITH_QT6=OFF
cmake --build build
ninja -C build docs
}
check() {
# testfilters is broken
xwfb-run -- ctest --test-dir build -E "test(filters|builtins)"
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 build/apidox/* -t "$pkgdir"/usr/share/doc/$pkgname
}
sha512sums="
dc7192fe0553954fffc3e2c584e4fdd80fc1f22d25846cacc5f2dcd1db2673ca62464c8492a4ed3bfc9dfc3e62ef13322809dd29bd56fa4a3a153a8d373ddde5 grantlee-5.3.1.tar.gz
"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment