Commit b2f2b943 authored by Bart Ribbers's avatar Bart Ribbers
Browse files

testing/qt6-qtcharts: new aport

parent 0b8f53c5
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qt6-qtcharts
pkgver=6.1.0
pkgrel=0
pkgdesc="Provides a set of easy to use chart components"
url="https://qt.io"
arch="all"
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
depends_dev="
qt6-qtbase-dev
qt6-qtdeclarative-dev
"
makedepends="$depends_dev
cmake
perl
"
subpackages="$pkgname-dev"
options="!check" # No tests
builddir="$srcdir/qtcharts-everywhere-src-${pkgver/_/-}"
case $pkgver in
*_alpha*|*_beta*|*_rc*) _rel=development_releases;;
*) _rel=official_releases;;
esac
source="https://download.qt.io/$_rel/qt/${pkgver%.*}/${pkgver/_/-}/submodules/qtcharts-everywhere-src-${pkgver/_/-}.tar.xz"
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
0e3be9f4339ac2dec9d4abd9db883a8e6fb41b6efa6a8a332a5a18690777b92fe1b5869a50288251d4057a3fb95b5e3710a4f484e9a629ce6a15c59c76905369 qtcharts-everywhere-src-6.1.0.tar.xz
"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment