mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-libs/qgpgme: add 2.2.0
Skip one new test for a new API as one of the testcases fails with -D_GLIBCXX_ASSERTIONS. It's not clear to me if it's a bug in the testcase or if the intention is to reject it early instead in the new API. Reported upstream by email. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST qgpgme-2.0.0.tar.xz 188552 BLAKE2B 9434d177e24fd5a8d1e7511da9dc26af4b55ab57
|
||||
DIST qgpgme-2.0.0.tar.xz.sig 119 BLAKE2B ae4193a7cd4b17e9b5ed9f4979e39e7a0c27847a019a9b330a7337084a12c5e423c780339056cb1552cd9ee8d4f59d0259562e83ee31e25d272bf6a78ce57fea SHA512 ce9bd28f0dbe4c5db35f79781f4d713547bacc63fcdb42183ebcda58b3db3282b84cfd601f7b49dba42f07293dc9486bf5c631cf27c9bff8f7f75aa8a805113e
|
||||
DIST qgpgme-2.1.0.tar.xz 190968 BLAKE2B b6ade21f7b8829052005d6aa2d175336403be481f6e33963a28eb56bcd1cd59413a2ff6a77d510d7a95919cb11fb26237c4832200c715afc0d95ef865fa53d5d SHA512 557b843f4f1e97bcf58dbf53c3af11b9ecd522f77ee44a8db18a2edf58fa0d4874a55f84a6a56299db2099ab1be1c17633b562bda16fe393210bfab54ca33bfb
|
||||
DIST qgpgme-2.1.0.tar.xz.sig 147 BLAKE2B 9052fd6d5752ce16bf2195ff4a5cb69644fd7e885b96b9343e7d3fa2eafcff4aa0fd98ca61958a357e50d06b3430265d4087c90a56fbf1594dddaa6d44ec0a1a SHA512 7138105a7661bf50a3504ad715812e579e042bd2994a57c46d717f17669d9ba627e562c9f9bc2e67ee31bffb26930d306a32c6a235ee2a3dd2f6de32f47b4a05
|
||||
DIST qgpgme-2.2.0.tar.xz 194068 BLAKE2B bd6502972bd24d6c00f417d5decb3acc0894f2c0d2193d11ef6f1a0e8ceddce1ad160a6d1f006c960ec1d8a72520620e71bfbbbb4b01af0da2646d692ef7db19 SHA512 cb3bf6f43d4bd9180bf0383b151819114e47dd73cf9b08be37de01d9722ac9abfd5ecb66fd6d4f9326102c7344f1dcf7d7c63fe0dd2551b41e7e38f0cc28d2f3
|
||||
DIST qgpgme-2.2.0.tar.xz.sig 147 BLAKE2B 18577c6f560ee8dd613f5e963a06ea5af975537ec7fa50bf76ef33550ce055cd54690e572677bddde4a61f0ec96a12067c998ef04fe5b1c92bfcf5e019ac1b20 SHA512 3f92375eccb4b7252642d246559dca55e235a74c45a6c28732608b00b1f26082cfc86dd40c703fd4cd0c95a6795ddc16312855da3cfef4e5a90c665064e6b110
|
||||
|
||||
53
dev-libs/qgpgme/qgpgme-2.2.0.ebuild
Normal file
53
dev-libs/qgpgme/qgpgme-2.2.0.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc
|
||||
inherit cmake verify-sig
|
||||
|
||||
DESCRIPTION="GnuPG Made Easy is a library for making GnuPG easier to use (Qt bindings)"
|
||||
HOMEPAGE="https://www.gnupg.org/related_software/gpgme"
|
||||
SRC_URI="
|
||||
mirror://gnupg/${PN}/${P}.tar.xz
|
||||
verify-sig? ( mirror://gnupg/${PN}/${P}.tar.xz.sig )
|
||||
"
|
||||
|
||||
LICENSE="GPL-2+ test? ( GPL-2 )"
|
||||
# As of 2.1.0, the subslot is wrong, but fixing it would be expensive.
|
||||
# It should be '15'.
|
||||
SLOT="0/7"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=app-crypt/gpgme-${PV%.*}:=
|
||||
>=dev-cpp/gpgmepp-${PV%.*}:=
|
||||
>=dev-libs/libgpg-error-1.47:=
|
||||
>=dev-qt/qtbase-6.5.0:6
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-crypt/gpgme-2[qt6(-)]
|
||||
!dev-libs/qgpgme:1
|
||||
"
|
||||
BDEPEND="verify-sig? ( >=sec-keys/openpgp-keys-gnupg-20260913 )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_WITH_QT5=OFF
|
||||
-DBUILD_WITH_QT6=ON
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local CMAKE_SKIP_TESTS=(
|
||||
# Fails with -D_GLIBCXX_ASSERTIONS, reported upstream by email
|
||||
t-util6
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user