commit: 24c22311941788f88dce4c4118c2761704b8178f Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sun Jul 13 16:16:41 2025 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Jul 21 07:14:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c22311
net-im/gajim: add 2.3.3 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42994 Closes: https://github.com/gentoo/gentoo/pull/42994 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> net-im/gajim/Manifest | 1 + net-im/gajim/gajim-2.3.3.ebuild | 106 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest index 3fb6ec5b78c6..a5c7e7febd2e 100644 --- a/net-im/gajim/Manifest +++ b/net-im/gajim/Manifest @@ -1,3 +1,4 @@ DIST gajim-1.8.4.tar.gz 3710470 BLAKE2B e23eafe707bc482a050fcef44df9e68af552444cce173c506538ebe01557a894dc0ba8b9afe18f195fd0b00b717b1268531a960b1c8b868c22081135d14e3079 SHA512 1a5b028c0e308eb15417c8c11584bc0e8b0218fead5155093ede4bc3961b6bee2b47bc3510f751dc70194634d6ca94d4a675f6891c8f050859fb4729020e52cb DIST gajim-2.2.0.tar.gz 4798143 BLAKE2B 3799bacfd6a94d8313bf02c6f48d0e348aeb89147c730c8c5ef04d9cf1d8ff289cabd576cea55be755410080416706776c1af224fe1cd2a1fa63f4bbd887026c SHA512 b61682a8dde3beaf03d5be16091e54b2aada681493d4f4ad4a83bade37d3762d12663a0b918abbc07136c32925ba168780caaf9dfe9080872779026755286b45 DIST gajim-2.3.2.tar.gz 4696809 BLAKE2B b8808440f54b70b10827a961abe49f70954465080486f2a3787867e6a3b081cb9828670b6d701fa8c372df1879d188c31caa573c953aa397cd0fc6a71b17dadc SHA512 378badf947ef6b320d3bdac928543919cf1fa4d62d850e3cdb613b40c6d0fa237608484e54947e7c159e34b37da91808b79a52b21c7e0a818f731e9d77976da6 +DIST gajim-2.3.3.tar.gz 4766310 BLAKE2B fbb83d29ba74c19405fdb5daf29b752c9d4425af0dec96abb9ed6770aec7a6471072de8b1fd5bf7010fd803fb36d63c211e2463966574b2b3690498555f74543 SHA512 d439f7aa287bee12eb0e049dd0e158e9e3f7373ab0da636968554fc5a514dc7d1fd2a11e42f4fa68c8556be3f10af4f754cace9dd56ae3286511f4b01067603d diff --git a/net-im/gajim/gajim-2.3.3.ebuild b/net-im/gajim/gajim-2.3.3.ebuild new file mode 100644 index 000000000000..6c1c5e10bd66 --- /dev/null +++ b/net-im/gajim/gajim-2.3.3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_REQ_USE="sqlite,xml(+)" +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 optfeature xdg + +DESCRIPTION="GTK XMPP Client" +HOMEPAGE="https://gajim.org/" +SRC_URI="https://gajim.org/downloads/$(ver_cut 1-2)/${P/_p/-}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" + +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" +IUSE="voice" + +# Same order as in upstream pyproject.toml please for the python dependencies + +# For introspection dependencies consult upstream documentation and any gi.require_version in the code + +# USE="voice" handles all video and audio. +# https://dev.gajim.org/gajim/gajim#for-video-and-audio-calls +# https://dev.gajim.org/gajim/gajim#for-voice-messages + +# xdg-desktop-portal: apparent runtime requirement +# https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2963fc1a23747bbb60a3785bf06dd566e6d8be9 + +RDEPEND=" + >=dev-python/cryptography-3.4.8[${PYTHON_USEDEP}] + dev-python/css-parser[${PYTHON_USEDEP}] + >=dev-python/emoji-2.6.0[${PYTHON_USEDEP}] + dev-python/keyring[${PYTHON_USEDEP}] + <dev-python/nbxmpp-7.0.0[${PYTHON_USEDEP}] + >=dev-python/nbxmpp-6.2.0[${PYTHON_USEDEP}] + <dev-python/omemo-dr-2.0.0[${PYTHON_USEDEP}] + >=dev-python/omemo-dr-1.0.0[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pillow-9.1.0[${PYTHON_USEDEP}] + >=dev-python/precis-i18n-1.0.0[${PYTHON_USEDEP}] + >=dev-python/pycairo-1.16.0[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.52.0:3[cairo,${PYTHON_USEDEP}] + >=dev-python/qrcode-7.3.1[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-2.0.0[${PYTHON_USEDEP}] + + >=dev-libs/glib-2.80[introspection(+)] + >=gui-libs/gtk-4.17.5:4[introspection] + gui-libs/gtksourceview:5[introspection] + >=gui-libs/libadwaita-1.7.0[introspection] + media-libs/graphene[introspection] + net-libs/libsoup:3.0[introspection] + x11-libs/gdk-pixbuf:2[introspection] + >=x11-libs/pango-1.50.0[introspection] + + voice? ( + media-libs/gstreamer:1.0[introspection] + media-libs/gst-plugins-base + media-libs/gst-plugins-ugly + media-plugins/gst-plugins-gtk + media-plugins/gst-plugins-libav + net-libs/farstream:0.2[introspection] + ) + + sys-apps/xdg-desktop-portal +" +BDEPEND=" + >=sys-devel/gettext-0.17-r1 +" + +distutils_enable_tests pytest + +python_compile_all() { + # Generates manpages, app icons, translation and metadata + ./make.py build --dist unix || die +} + +python_install_all() { + # Installs manpages, app icons, translation and metadata + ./make.py install --dist unix --prefix="${ED}/usr" || die + + # Undo compression in ./make.py install + gzip -d "${ED}"/usr/share/man/man1/*.gz || die + + distutils-r1_python_install_all +} + +pkg_postinst() { + ewarn "The chat database format changes when upgrading from 1.8.x to 1.9.x." + ewarn "The first time the user starts Gajim, an automatic migration is performed." + + # https://dev.gajim.org/gajim/gajim/-/tree/master?ref_type=heads#optional-runtime-requirements + #optfeature "Sentry error reporting to dev.gajim.org" dev-python/sentry-sdk + optfeature "keyring support" app-crypt/libsecret[introspection] + optfeature "spellchecking support" "app-text/hunspell app-text/libspelling:1" + # https://dev.gajim.org/gajim/gajim/-/issues/11578 + #optfeature "better NAT traversing" net-libs/gupnp:1.6[introspection] + optfeature "network lose detection" net-misc/networkmanager[introspection] + optfeature "sharing your location" app-misc/geoclue:2.0[introspection] + optfeature "notifcation sound support" media-libs/gsound[introspection] + + xdg_pkg_postinst +}
