aboutsummaryrefslogtreecommitdiffstats
path: root/community/qt6-qtcharts
diff options
context:
space:
mode:
Diffstat (limited to 'community/qt6-qtcharts')
-rw-r--r--community/qt6-qtcharts/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/community/qt6-qtcharts/APKBUILD b/community/qt6-qtcharts/APKBUILD
new file mode 100644
index 0000000000..5c9aa71d4b
--- /dev/null
+++ b/community/qt6-qtcharts/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt6-qtcharts
+pkgver=6.1.2
+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="
+7aa327b9b0de80eb281ffa29ed0925314c4bc2ef0fc04b2ed4fc2fdaad7eee8f5bd2247b3f0afe25409ebecafe4ec5f79c7c6323797cc0a5c9e7a07857906669 qtcharts-everywhere-src-6.1.2.tar.xz
+"