commit: 583785cb102e184304efd1aeabebcb7f687e1acd
Author: Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Sat Mar 15 23:45:56 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 16 11:05:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=583785cb
net-im/gajim: add 2.0.3
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-im/gajim/Manifest | 1 +
net-im/gajim/gajim-2.0.3.ebuild | 106 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index d362bd30f94d..04c556418d40 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -3,3 +3,4 @@ DIST gajim-1.9.3.tar.gz 3803265 BLAKE2B
44c6985728871b82fd86aa8a5e066123cd10a0f9
DIST gajim-1.9.5.tar.gz 4723544 BLAKE2B
5975338a366eba36bc6f92af8d41f727d00ae0bdeaa93a62ed8f5e1f0c4f91ae1b3334afa9f71d21b57a3cd51d35b052a29fecba4bdd7bb577611e01c53d98d2
SHA512
00adfffa255ecbd73227967f86be02549403e81801339dbd896c9c48c3717e7f99d7c1d70d3629b2b242e60ddba6037a9877f264af6f8b6b0d7d30666a54e5f5
DIST gajim-2.0.0.tar.gz 4697888 BLAKE2B
a714eb67de3dfb92a9329ada6ec2a9e7ea09055c751bb115a9639c046948b5f16ceb01ed1dae015d4efd1ec3dff7aa954d7ffc3ef0d6c1b053007111cc68165e
SHA512
7cfcab5d60e04a892dc19441bb0c50bf73365d4dd6ae93d986aeefca4e5cb47d70693a57b87f8dd15adf49d7c8926c338676c72a03ce42b60518216d248cd28a
DIST gajim-2.0.1.tar.gz 4702535 BLAKE2B
6a05fc9ef77bdf3a4512d3efe109d8fac3f294a0f7c1df8718acf078c56701bd892bfe00b8f772d96fa28fbb76d19949990d4e15bf2a39cd24730854709d1817
SHA512
637189c0e6a8777652ae5a58b028fef9452324db9ed41390ab4df3340730b283e28b094584af9d6e591597d21a5fac7c9ab81a33b8c5db6898af765044c4704a
+DIST gajim-2.0.3.tar.gz 4711551 BLAKE2B
66508788267132901f805cc130cd685005c77e3887833e36e31a895e1e9fb699ac84cf448879796870bf58dc321989b31fee4dff490c804f27fa6eea4848398c
SHA512
4efb495edaad0e3d0e4945b2e5ff1334fb6703ebf6fc60c6f81861cda01ab85feef5cf90abd214dac6f79036700b6d6d68ed25fe13af91c1ecb6739e9e8ca1bf
diff --git a/net-im/gajim/gajim-2.0.3.ebuild b/net-im/gajim/gajim-2.0.3.ebuild
new file mode 100644
index 000000000000..d8b02efa005e
--- /dev/null
+++ b/net-im/gajim/gajim-2.0.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_{10..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"
+
+# Rekeyword for ~long, ~x86 and ~riscv, when https://bugs.gentoo.org/937582 is
fixed.
+# KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
+KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
+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="${COMMON_DEPEND}
+ >=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.0.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.42.0:3[cairo,${PYTHON_USEDEP}]
+ >=dev-python/qrcode-7.3.1[${PYTHON_USEDEP}]
+ >=dev-python/sqlalchemy-2.0.0[${PYTHON_USEDEP}]
+
+ dev-libs/glib[introspection(+)]
+ >=gui-libs/gtk-4.14.0:4[introspection]
+ gui-libs/gtksourceview:5[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"
+ 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
+}