commit:     0bf8f31f55e0b0615b4925006344f8047e3de1a4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 25 19:35:11 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 25 19:47:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bf8f31f

net-libs/libquotient: add 0.9.4

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libquotient/Manifest                 |  1 +
 net-libs/libquotient/libquotient-0.9.4.ebuild | 53 +++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/net-libs/libquotient/Manifest b/net-libs/libquotient/Manifest
index a99f0b9b4e01..95f3022258ca 100644
--- a/net-libs/libquotient/Manifest
+++ b/net-libs/libquotient/Manifest
@@ -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

diff --git a/net-libs/libquotient/libquotient-0.9.4.ebuild 
b/net-libs/libquotient/libquotient-0.9.4.ebuild
new file mode 100644
index 000000000000..cafd0f8faefe
--- /dev/null
+++ b/net-libs/libquotient/libquotient-0.9.4.ebuild
@@ -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
+}

Reply via email to