aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2021-05-15 15:47:15 +0200
committerBart Ribbers <bribbers@disroot.org>2021-05-15 14:22:26 +0000
commit8401b7a34cb76b3fe670bbb3f988eadb0f4d639b (patch)
tree456bdddb9c7637674f7c1022b75e4e2a86b4054c /community
parentc5fb5e415048c325e81209c7e1fb5d2a93391b01 (diff)
downloadaports-8401b7a34cb76b3fe670bbb3f988eadb0f4d639b.tar.gz
aports-8401b7a34cb76b3fe670bbb3f988eadb0f4d639b.tar.bz2
aports-8401b7a34cb76b3fe670bbb3f988eadb0f4d639b.tar.xz
community/qt6-qtnetworkauth: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/qt6-qtnetworkauth/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/qt6-qtnetworkauth/APKBUILD b/community/qt6-qtnetworkauth/APKBUILD
new file mode 100644
index 0000000000..6b9fe532a6
--- /dev/null
+++ b/community/qt6-qtnetworkauth/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=qt6-qtnetworkauth
+pkgver=6.1.0
+pkgrel=0
+pkgdesc="Network authentication module"
+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
+ "
+makedepends="$depends_dev
+ cmake
+ perl
+ "
+subpackages="$pkgname-dev"
+options="!check" # No tests
+builddir="$srcdir/qtnetworkauth-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/qtnetworkauth-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="
+4449647253278c31f8c6c50e7ac041bcc3e47fc83944a979981184e715c32a2830f154222bf4d827f08165ec3eb6a41a2172370ab60f61c692805cefe6ac794b qtnetworkauth-everywhere-src-6.1.0.tar.xz
+"