[arch-commits] Commit in qca/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jun 1 20:03:46 UTC 2021
Date: Tuesday, June 1, 2021 @ 20:03:46
Author: arojas
Revision: 416943
archrelease: copy trunk to extra-x86_64
Added:
qca/repos/extra-x86_64/PKGBUILD
(from rev 416942, qca/trunk/PKGBUILD)
Deleted:
qca/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++++++++-------------------------
1 file changed, 50 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-01 20:03:34 UTC (rev 416942)
+++ PKGBUILD 2021-06-01 20:03:46 UTC (rev 416943)
@@ -1,34 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=qca
-pkgver=2.3.2
-pkgrel=2
-pkgdesc='Qt Cryptographic Architecture'
-arch=(x86_64)
-url='https://userbase.kde.org/QCA'
-license=(LGPL)
-depends=(qt5-base nss ca-certificates)
-optdepends=('pkcs11-helper: PKCS-11 plugin' 'botan: botan plugin')
-makedepends=(cmake doxygen pkcs11-helper botan)
-conflicts=(qca-qt5)
-provides=(qca-qt5)
-replaces=(qca-qt5)
-source=(https://download.kde.org/stable/$pkgname/$pkgver/$pkgname-$pkgver.tar.xz{,.sig})
-sha256sums=('4697600237c4bc3a979e87d2cc80624f27b06280e635f5d90ec7dd4d2a9f606d'
- 'SKIP')
-validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter at kde.org>
-
-build() {
- cmake -B build -S $pkgname-$pkgver \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_TESTS=OFF \
- -DQCA_INSTALL_IN_QT_PREFIX=ON \
- -DQCA_MAN_INSTALL_DIR=/usr/share/man
- cmake --build build
-}
-
-package() {
- DESTDIR="$pkgdir" cmake --install build
-}
Copied: qca/repos/extra-x86_64/PKGBUILD (from rev 416942, qca/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-01 20:03:46 UTC (rev 416943)
@@ -0,0 +1,50 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=qca
+pkgname=(qca-qt5 qca-qt6)
+pkgver=2.3.3
+pkgrel=1
+pkgdesc='Qt Cryptographic Architecture'
+arch=(x86_64)
+url='https://userbase.kde.org/QCA'
+license=(LGPL)
+optdepends=('pkcs11-helper: PKCS-11 plugin' 'botan: botan plugin')
+makedepends=(cmake doxygen pkcs11-helper botan qt5-base qt6-5compat)
+source=(https://download.kde.org/stable/$pkgbase/$pkgver/$pkgbase-$pkgver.tar.xz{,.sig})
+sha256sums=('562e8f9b8542944e2c0c18c45c05bb202f620db84032790c54b424454f727b67'
+ 'SKIP')
+validpgpkeys=(CB9387521E1EE0127DA804843FDBB55084CC5D84) # Harald Sitter <sitter at kde.org>
+
+build() {
+ cmake -B build-qt5 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DBUILD_TESTS=OFF \
+ -DQCA_INSTALL_IN_QT_PREFIX=ON \
+ -DQCA_MAN_INSTALL_DIR=/usr/share/man
+ cmake --build build-qt5
+
+ cmake -B build-qt6 -S $pkgbase-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQT6=ON \
+ -DBUILD_TESTS=OFF \
+ -DQCA_INSTALL_IN_QT_PREFIX=ON \
+ -DQCA_MAN_INSTALL_DIR=/usr/share/man
+ cmake --build build-qt6
+}
+
+package_qca-qt5() {
+ depends=(qt5-base nss ca-certificates)
+ conflicts=(qca)
+ provides=(qca)
+ replaces=(qca)
+
+ DESTDIR="$pkgdir" cmake --install build-qt5
+}
+
+package_qca-qt6() {
+ depends=(qt6-5compat nss ca-certificates)
+
+ DESTDIR="$pkgdir" cmake --install build-qt6
+}
More information about the arch-commits
mailing list