summaryrefslogtreecommitdiff
path: root/net-im/gajim
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/gajim')
-rw-r--r--net-im/gajim/Manifest4
-rw-r--r--net-im/gajim/gajim-2.0.0.ebuild106
-rw-r--r--net-im/gajim/metadata.xml4
3 files changed, 113 insertions, 1 deletions
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index c14a43ad3b05..6867e6c66a2e 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -1,7 +1,9 @@
DIST gajim-1.8.4.tar.gz 3710470 BLAKE2B e23eafe707bc482a050fcef44df9e68af552444cce173c506538ebe01557a894dc0ba8b9afe18f195fd0b00b717b1268531a960b1c8b868c22081135d14e3079 SHA512 1a5b028c0e308eb15417c8c11584bc0e8b0218fead5155093ede4bc3961b6bee2b47bc3510f751dc70194634d6ca94d4a675f6891c8f050859fb4729020e52cb
DIST gajim-1.9.3.tar.gz 3803265 BLAKE2B 44c6985728871b82fd86aa8a5e066123cd10a0f990dffcbdc6099333caec95af4f78eecdf49af062aa5bad293d819ea7e0811e2cd1906eb81630b9fd94f0c3f7 SHA512 d7815ad77afb3ea1e7b1cdf6baa4ed1acaaed857da4a0ca1db57200dc3fc7103e4110ee8b7e2918838f86c9250226a6c8b98be6cd0915ea29eaf5e1a2830688a
DIST gajim-1.9.5.tar.gz 4723544 BLAKE2B 5975338a366eba36bc6f92af8d41f727d00ae0bdeaa93a62ed8f5e1f0c4f91ae1b3334afa9f71d21b57a3cd51d35b052a29fecba4bdd7bb577611e01c53d98d2 SHA512 00adfffa255ecbd73227967f86be02549403e81801339dbd896c9c48c3717e7f99d7c1d70d3629b2b242e60ddba6037a9877f264af6f8b6b0d7d30666a54e5f5
+DIST gajim-2.0.0.tar.gz 4697888 BLAKE2B a714eb67de3dfb92a9329ada6ec2a9e7ea09055c751bb115a9639c046948b5f16ceb01ed1dae015d4efd1ec3dff7aa954d7ffc3ef0d6c1b053007111cc68165e SHA512 7cfcab5d60e04a892dc19441bb0c50bf73365d4dd6ae93d986aeefca4e5cb47d70693a57b87f8dd15adf49d7c8926c338676c72a03ce42b60518216d248cd28a
EBUILD gajim-1.8.4-r1.ebuild 2957 BLAKE2B 81fb0ee481dc27f789d07222f9fbeb04c045ed8bb97cf2d1786f60a59c7891826a57bd961717cb4e2c46019e40b03f552f92f6412cb65ba810d101565a5608d6 SHA512 c4163b55d81b179c454775a94a48916996d216a467107be9fcfd68ab976a4cd87ecb9e80b1713947020b6c63d6f143a65c83cec6936747654347c889ea34aa4c
EBUILD gajim-1.9.3-r1.ebuild 3216 BLAKE2B 5782fdb6cbdd24b4d8149466417933d8c44484a69dd2db2ab0e9f8b35bd53e25bf852bdd8bb6a36e77e34413c076e63b29d7dd27e146d41ebbb37f261b5c6987 SHA512 f5cc91900e76598620889b1feb8a5701f2ec378744c7997d08ed684604d33af7d1f75b7d9c950d5293eb0ddf000d0bb6a64647ad63f79cd6b6e8a4d36465323d
EBUILD gajim-1.9.5-r3.ebuild 3170 BLAKE2B 28a9073d7b76f6230614fa0492ac1704af9e584fc435f893e617d47eb10f749e38b1d0a027808c6d8149854ecef46954a8fd1485d09b314057667655df24864b SHA512 3c2d52526ba44a009ea485755d5d892ecd0c905c7632d469a6d13fac3e40ef76d7a603558964bc131a61e119890d2dbcb10b03883739e487fb100b91e2a260f2
-MISC metadata.xml 736 BLAKE2B b3960095067222a10df0e93483615df6c24c9fde8dd4f5c6cfcdca407974bafa8b8be10f0f105ed21c152bfd84905f722aabba1bd4f051e0825c9fea246a9ed0 SHA512 85adfebe1e5bddaec351d33ccd45a111aa76604e1953027cc2db7d0829ca7fb546c46dd085e4069786247838d8989c2669ae412ee05ff241fa3c992d5f04638d
+EBUILD gajim-2.0.0.ebuild 3574 BLAKE2B 8e4da8ac8307fd6fa3277affeb7b1891e5ee2fcdf401663e7ceed6b26ec7305960da58f039c98798c3e5ee8eca160045b49074a37907db4a048adaacdb54399e SHA512 4db519e707461215d21ad6983ca47fe384719dea98a1214139dcebbf59b9736d2a55976b4d7df46bace2f1c6c79a24632150449cfa6bad2910a656c8707d5aed
+MISC metadata.xml 911 BLAKE2B f25f3f37bd56c2f91948d11dbb6aab552f2c341518295b0d6cc47e6bd2638fec528dfd338b91de0f656e1650cceebe08169b46af32e69405cae19b528eb8a795 SHA512 68187b4a12a1ed0ff1da6235bc98489a5fd0d41c7488473de0c4be1cf55fdae13391f2a6c8eae477399bf59e880ee89af62eeb8fc5db03e0012f165a22ca66a9
diff --git a/net-im/gajim/gajim-2.0.0.ebuild b/net-im/gajim/gajim-2.0.0.ebuild
new file mode 100644
index 000000000000..09c58a3a7230
--- /dev/null
+++ b/net-im/gajim/gajim-2.0.0.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"
+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
+}
diff --git a/net-im/gajim/metadata.xml b/net-im/gajim/metadata.xml
index c72a20afc7b2..d92fbc20c5df 100644
--- a/net-im/gajim/metadata.xml
+++ b/net-im/gajim/metadata.xml
@@ -2,6 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<!-- maintainer-needed -->
+ <upstream>
+ <doc>https://dev.gajim.org/gajim/gajim/-/wikis/home</doc>
+ </upstream>
<use>
<flag name="crypt">End to end encryption and GPG encryption</flag>
<flag name="geolocation">Sharing your location</flag>
@@ -10,6 +13,7 @@
<flag name="rst">Generating XHTML output from RST code</flag>
<flag name="spell">Spellchecking of composed messages</flag>
<flag name="upnp">Ability to request your router to forward port for file transfer</flag>
+ <flag name="voice">Support for video calls, audio calls and voice messages</flag>
<flag name="webp">Support WebP avatars</flag>
</use>
</pkgmetadata>