commit: b2923d1780c4f39c226cc59ec99ba0272146432e Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Sep 21 11:33:20 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Sep 21 11:36:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2923d17
net-libs/libquotient: add 0.9.5 Contains an important crash fix (that also requires subslot bump): https://github.com/quotient-im/libQuotient/pull/913 Bug: https://bugs.gentoo.org/962602 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> net-libs/libquotient/Manifest | 1 + net-libs/libquotient/libquotient-0.9.5.ebuild | 53 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/net-libs/libquotient/Manifest b/net-libs/libquotient/Manifest index 95f3022258ca..8bfa2f6ee845 100644 --- a/net-libs/libquotient/Manifest +++ b/net-libs/libquotient/Manifest @@ -1,2 +1,3 @@ DIST libquotient-0.9.3.tar.gz 777778 BLAKE2B 5a775321eb194e25af29a9c30ed7f2ff20a4fd98ff33fad1d2275cae9188c93e1c6c0700d3a82a98470902fb9457c116737756c68ca405ba564292fb6097a8da SHA512 d9ec85cb8af11100806bced4ef084427bf508cbf1ecc22a884aab84a020a8955e5dc747ea7cda20e8de8fac1b7a5f0f98ddfc88396baa7f930000c783cb2d0ce DIST libquotient-0.9.4.tar.gz 779935 BLAKE2B ad38d09d7af4ea4e50bf18f0804cfa082bf3184b4c12de2f1e7cc036a0ea08ffab8edce0d217be12963c3054c11a0bc9008d433034fe4c0c4a1f4bd97857e2d7 SHA512 a239572f6d4a023c60f5cfb1dbed0ba830747773e95c59b684d6b7c09898d4f494355d88e6fd71c032cf121dd6829ad7b1ad8f4fb42ff3e4d9cf394a7a7b52bb +DIST libquotient-0.9.5.tar.gz 780007 BLAKE2B 3e932698ba109427961b653045c89cd322d1fda3f35c21d7067da67e3cf6f9ea20f16ba2daa3cb4c440d5ce746ac78dcbe199a0f978a482f95c2d6580132c2f2 SHA512 36d73dad49866521e0ae20f2f916c1fa5472a7662b7d3128432c02dd2efda1e22b2d466931c2762495a8e0aa038c311876f03ed5872c79de5c75d54cce4f8f22 diff --git a/net-libs/libquotient/libquotient-0.9.5.ebuild b/net-libs/libquotient/libquotient-0.9.5.ebuild new file mode 100644 index 000000000000..cafd0f8faefe --- /dev/null +++ b/net-libs/libquotient/libquotient-0.9.5.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 +}
