mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-libs/qtkeychain: add 0.16.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST qtkeychain-0.15.0.tar.gz 55584 BLAKE2B e12b69a7fbc60a6cda75b06c5e8ae435b9a6e15a9564b71590cd3d5a8c491526e8bf840eaba0cadf36f4e7518dda1d6b45c0090aa26538a92c668c29d4646350 SHA512 b1068ae513d5eab8f300186497ddcce4075e11a2a569deddbc949177efaa27970ed7bdce0b1aff61a021144540e942f60c9259b975601a92c60b8a742754624a
|
||||
DIST qtkeychain-0.16.0.tar.gz 63901 BLAKE2B 81d1a7b922da70ecef3cf1545862a488d55618d999c0d51051fea2279d683fb5595bb31cfc52e0a7e641767bc50ed4de8934fbefc9a143436f2f4b8c2589d1b0 SHA512 5e59db872fb044c41b452a288944d53d516f2bd97ca18e28e0f795e05dc4561684a1f18b46615b883aca1846086a27c41f1952e5580ce52a0db963fbaa07dbb6
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
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 test"
|
||||
|
||||
# tests require DBus
|
||||
RESTRICT="test !test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-qt/qtbase:6[dbus]
|
||||
keyring? (
|
||||
app-crypt/libsecret
|
||||
dev-libs/glib:2
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-qt/qttools:6[linguist]"
|
||||
|
||||
DOCS=( ChangeLog ReadMe.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DECM_MKSPECS_INSTALL_DIR="${EPREFIX}"/usr/$(get_libdir)/qt6/mkspecs
|
||||
-DBUILD_QTQUICK_DEMO=OFF
|
||||
-DBUILD_TEST_APPLICATION=OFF
|
||||
-DBUILD_TRANSLATIONS=ON
|
||||
-DBUILD_WITH_QT6=ON
|
||||
-DLIBSECRET_SUPPORT=$(usex keyring)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user