net-libs/libquotient: add 0.9.4

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-08-25 21:35:11 +02:00
parent 95ea05d57c
commit 0bf8f31f55
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 54 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST libquotient-0.9.3.tar.gz 777778 BLAKE2B 5a775321eb194e25af29a9c30ed7f2ff20a4fd98ff33fad1d2275cae9188c93e1c6c0700d3a82a98470902fb9457c116737756c68ca405ba564292fb6097a8da SHA512 d9ec85cb8af11100806bced4ef084427bf508cbf1ecc22a884aab84a020a8955e5dc747ea7cda20e8de8fac1b7a5f0f98ddfc88396baa7f930000c783cb2d0ce
DIST libquotient-0.9.4.tar.gz 779935 BLAKE2B ad38d09d7af4ea4e50bf18f0804cfa082bf3184b4c12de2f1e7cc036a0ea08ffab8edce0d217be12963c3054c11a0bc9008d433034fe4c0c4a1f4bd97857e2d7 SHA512 a239572f6d4a023c60f5cfb1dbed0ba830747773e95c59b684d6b7c09898d4f494355d88e6fd71c032cf121dd6829ad7b1ad8f4fb42ff3e4d9cf394a7a7b52bb

View File

@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Qt-based SDK to develop applications for Matrix"
HOMEPAGE="https://github.com/quotient-im/libQuotient"
SRC_URI="https://github.com/quotient-im/libQuotient/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/libQuotient-${PV}"
LICENSE="LGPL-2+"
SLOT="0/${PV}" # FIXME: check soname on next version bump
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/olm
dev-libs/openssl:=
>=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
>=dev-qt/qtbase-6.4:6=[gui,network,sql,ssl]
>=dev-qt/qtmultimedia-6.4:6
"
DEPEND="${RDEPEND}
test? ( >=dev-qt/qtbase-6.4:6[concurrent] )
"
# downstream patch
PATCHES=( "${FILESDIR}"/${PN}-0.8.0-no-android.patch )
src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
)
use test && mycmakeargs+=(
-DQuotient_INSTALL_TESTS=OFF
)
cmake_src_configure
}
src_test() {
# https://github.com/quotient-im/libQuotient/issues/435
# testolmaccount requires network connection/server set up
local myctestargs=(
-j1
-E "(testolmaccount)"
)
cmake_src_test
}