From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 353EE1581D3 for ; Tue, 14 May 2024 17:41:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F3F9DE2A0D; Tue, 14 May 2024 17:41:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D41A8E2A10 for ; Tue, 14 May 2024 17:41:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5B9B33C1C1 for ; Tue, 14 May 2024 17:41:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 387951AC6 for ; Tue, 14 May 2024 17:41:36 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1715708433.c3200a13b36d64d86a40996b887cc9809e91f9d0.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/qtkeychain/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/qtkeychain/Manifest dev-libs/qtkeychain/qtkeychain-0.14.3.ebuild X-VCS-Directories: dev-libs/qtkeychain/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c3200a13b36d64d86a40996b887cc9809e91f9d0 X-VCS-Branch: master Date: Tue, 14 May 2024 17:41:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8a82e333-c2e6-481e-aa9c-fd75d26a9957 X-Archives-Hash: e71d8c57297802912b38add6bda98a9a commit: c3200a13b36d64d86a40996b887cc9809e91f9d0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue May 14 17:36:35 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue May 14 17:40:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3200a13 dev-libs/qtkeychain: add 0.14.3 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/qtkeychain/Manifest | 1 + dev-libs/qtkeychain/qtkeychain-0.14.3.ebuild | 74 ++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/dev-libs/qtkeychain/Manifest b/dev-libs/qtkeychain/Manifest index be66d503e662..77206317a586 100644 --- a/dev-libs/qtkeychain/Manifest +++ b/dev-libs/qtkeychain/Manifest @@ -1 +1,2 @@ DIST qtkeychain-0.14.2.tar.gz 50915 BLAKE2B eed35eec296b62fec90e83e98c3ab817aa05f7cefd74c3790ce2f7c38c051d5b95b3664e688bef0cfe7b06583e844782f60454bb67b48f6507fc33c780c62bf0 SHA512 d681f60a6954a8fcb37039cfb1a6d69f5aee19f30313d65072c40cee1880c302b9f2ad3d994ae7a775b17479f443231774804ca438ef6b5e7ec25533d5d9f3c2 +DIST qtkeychain-0.14.3.tar.gz 50948 BLAKE2B 4f2189b2d6a1faf7b5041baeb1c2f00498d0297a8028799ab646aa92189d569114c76b45528d15a72d7cee8dc6252797bebd3e2849034e703709a3b41f74a805 SHA512 d1d87553db94bf54da1373016a847476e6cd608db6d427ed72532658e2272501daf45d7c9976efdde2f26ab3810ba9dbfec2518d46dee5a76ecaa369bfee2e4a diff --git a/dev-libs/qtkeychain/qtkeychain-0.14.3.ebuild b/dev-libs/qtkeychain/qtkeychain-0.14.3.ebuild new file mode 100644 index 000000000000..40b5710678fd --- /dev/null +++ b/dev-libs/qtkeychain/qtkeychain-0.14.3.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake multibuild + +DESCRIPTION="Qt API for storing passwords securely" +HOMEPAGE="https://github.com/frankosterfeld/qtkeychain" + +if [[ ${PV} != *9999* ]]; then + SRC_URI="https://github.com/frankosterfeld/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +else + inherit git-r3 + EGIT_REPO_URI="https://github.com/frankosterfeld/${PN}.git" +fi + +LICENSE="BSD-2" +SLOT="0/1" +IUSE="keyring +qt5 qt6" +REQUIRED_USE="|| ( qt5 qt6 )" + +DEPEND=" + keyring? ( + app-crypt/libsecret + dev-libs/glib:2 + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + ) + qt6? ( dev-qt/qtbase:6[dbus] ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + qt5? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" + +DOCS=( ChangeLog ReadMe.md ) + +pkg_setup() { + MULTIBUILD_VARIANTS=( $(usev qt5) $(usev qt6) ) +} + +src_configure() { + my_src_configure() { + local mycmakeargs=( + -DECM_MKSPECS_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)/${MULTIBUILD_VARIANT}/mkspecs + -DBUILD_TEST_APPLICATION=OFF + -DBUILD_TRANSLATIONS=ON + -DLIBSECRET_SUPPORT=$(usex keyring) + ) + + if [[ ${MULTIBUILD_VARIANT} == qt6 ]]; then + mycmakeargs+=( -DBUILD_WITH_QT6=ON ) + else + mycmakeargs+=( -DBUILD_WITH_QT6=OFF ) + fi + + cmake_src_configure + } + + multibuild_foreach_variant my_src_configure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_install() { + multibuild_foreach_variant cmake_src_install +}