From c16049ff7679fda5677d1c25ca27bc509251c0ca Mon Sep 17 00:00:00 2001 From: John Date: Sat, 2 Mar 2024 15:35:25 +0100 Subject: [PATCH] New package: qca-qt6-2.3.8 --- common/shlibs | 1 + srcpkgs/qca-qt6-devel | 1 + srcpkgs/qca-qt6/patches/cross.patch | 12 +++++++++++ srcpkgs/qca-qt6/template | 32 +++++++++++++++++++++++++++++ srcpkgs/qca-qt6/update | 1 + 5 files changed, 47 insertions(+) create mode 120000 srcpkgs/qca-qt6-devel create mode 100644 srcpkgs/qca-qt6/patches/cross.patch create mode 100644 srcpkgs/qca-qt6/template create mode 100644 srcpkgs/qca-qt6/update diff --git a/common/shlibs b/common/shlibs index 44c8b34a348..9cf16d09a85 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2226,6 +2226,7 @@ libclamunrar.so.9 clamav-0.103.1_2 libclamunrar_iface.so.9 clamav-0.103.1_2 libfreshclam.so.2 clamav-0.103.1_2 libqca-qt5.so.2 qca-qt5-2.1.3_1 +libqca-qt6.so.2 qca-qt6-2.3.8_1 libqt5keychain.so.1 qtkeychain-qt5-0.7.0_1 libphonon4qt5.so.4 phonon-qt5-4.8.3_1 libphonon4qt5experimental.so.4 phonon-qt5-4.8.3_1 diff --git a/srcpkgs/qca-qt6-devel b/srcpkgs/qca-qt6-devel new file mode 120000 index 00000000000..9c331700fe0 --- /dev/null +++ b/srcpkgs/qca-qt6-devel @@ -0,0 +1 @@ +qca-qt6 \ No newline at end of file diff --git a/srcpkgs/qca-qt6/patches/cross.patch b/srcpkgs/qca-qt6/patches/cross.patch new file mode 100644 index 00000000000..ad3351ce3e1 --- /dev/null +++ b/srcpkgs/qca-qt6/patches/cross.patch @@ -0,0 +1,12 @@ +--- a/CMakeLists.txt 2019-04-24 14:58:14.000000000 +0200 ++++ b/CMakeLists.txt 2019-04-24 14:58:14.000000000 +0200 +@@ -264,7 +264,8 @@ + QCA_LIBRARY_INSTALL_DIR + QCA_FEATURE_INSTALL_DIR + QCA_INCLUDE_INSTALL_DIR +- QCA_PRIVATE_INCLUDE_INSTALL_DIR ++ QCA_FULL_INCLUDE_INSTALL_DIR ++ QCA_PRIVATE_INCLUDE_INSTALL_DIR + QCA_DOC_INSTALL_DIR + QCA_MAN_INSTALL_DIR + PKGCONFIG_INSTALL_PREFIX) diff --git a/srcpkgs/qca-qt6/template b/srcpkgs/qca-qt6/template new file mode 100644 index 00000000000..3645ea91f8d --- /dev/null +++ b/srcpkgs/qca-qt6/template @@ -0,0 +1,32 @@ +# Template file for 'qca-qt6' +pkgname=qca-qt6 +version=2.3.8 +revision=1 +build_style=cmake +configure_args="-DQT6=ON -DUSE_RELATIVE_PATHS=true" +hostmakedepends="pkg-config ca-certificates qt6-tools qt6-base" +makedepends="nss-devel libgcrypt-devel ca-certificates openssl-devel + qt6-base-devel qt6-qt5compat-devel botan-devel" +depends="ca-certificates" +short_desc="Qt6 Cryptographic Architecture" +maintainer="John " +license="LGPL-2.1-or-later" +homepage="https://userbase.kde.org/QCA" +distfiles="${KDE_SITE}/qca/${version}/qca-${version}.tar.xz" +checksum=48759ca86a0202461d908ba66134380cc3bb7d20fed3c031b9fc0289796a8264 + +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args+=" -DBUILD_TESTS=1" +else + configure_args+=" -DBUILD_TESTS=0" +fi + +qca-qt6-devel_package() { + depends="qt6-base-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove "usr/lib/*.so" + } +} diff --git a/srcpkgs/qca-qt6/update b/srcpkgs/qca-qt6/update new file mode 100644 index 00000000000..ea2d1e36bda --- /dev/null +++ b/srcpkgs/qca-qt6/update @@ -0,0 +1 @@ +pkgname=qca