diff options
-rw-r--r-- | net-im/gajim/Manifest | 1 | ||||
-rw-r--r-- | net-im/gajim/gajim-1.4.0.ebuild | 96 |
2 files changed, 97 insertions, 0 deletions
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest index 5fc3fb278111..b448734ca459 100644 --- a/net-im/gajim/Manifest +++ b/net-im/gajim/Manifest @@ -1,2 +1,3 @@ DIST gajim-1.3.3-2.tar.gz 9578053 BLAKE2B de41eb488480c1e9267a7e64c33dcc225ba68348fad51fe2f114199972a0fc998ae2c6efba1ea48ecb17b819509c1b45745e98e41f99f2e4afd4a4c1daff4865 SHA512 e7a2564710ffdf0b971d005f8b84c60d72c471727be2bd1b75e564f70a25101a4eb44603fc9f98163bc12a5049dc876f50cdaf8eb5b7d596203c986e55de7442 DIST gajim-1.3.3.tar.gz 9886175 BLAKE2B 27c4163a5762e8fa72524f91d846439b5bd54aff8ec0c4f8ffe4061295540d986b71fc333a2d65110e87821efc5a96ce0dc8a519236c5d71df9a722c65851296 SHA512 b1b6ed1eeb9ce01c26240a0a0c1ff3991ac305787e2ed49ecf7ed9cc75789da2d0ec1c3a1fda6dc67fe440fa7aa143af9be1a837acfc94255d7027f63f55ced2 +DIST gajim-1.4.0.tar.gz 8932710 BLAKE2B 66924bf2e0f39c74e0ce45bfb24c6bd41c547f170c149611dc08e45db1f665f1159be6586dde1a64f1037de029dc2d83c1146545c36645dd67b63509ce156043 SHA512 9fb2b967325d04d7cfa8cb97d0dcebdd5cfd8b8a0a4f8928e7d8c547d90567b7fb0d84d48cdd151b5e38ce72f65de2679c8cc1543ff3ed25d792e6de070042a0 diff --git a/net-im/gajim/gajim-1.4.0.ebuild b/net-im/gajim/gajim-1.4.0.ebuild new file mode 100644 index 000000000000..dbb2ac846a85 --- /dev/null +++ b/net-im/gajim/gajim-1.4.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{9,10} ) +PYTHON_REQ_USE="sqlite,xml" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg-utils + +DESCRIPTION="Jabber client written in PyGTK" +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 ~riscv ~x86" +IUSE="+crypt geolocation jingle omemo remote rst +spell upnp +webp" +S="${WORKDIR}/${P%_p2}" + +COMMON_DEPEND=" + dev-libs/gobject-introspection[cairo(+)] + >=x11-libs/gtk+-3.22:3[introspection]" +DEPEND="${COMMON_DEPEND} + app-arch/unzip + virtual/pkgconfig + >=sys-devel/gettext-0.17-r1" +RDEPEND="${COMMON_DEPEND} + $(python_gen_cond_dep ' + dev-python/idna[${PYTHON_USEDEP}] + dev-python/precis-i18n[${PYTHON_USEDEP}] + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pycurl[${PYTHON_USEDEP}] + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] + dev-python/pyopenssl[${PYTHON_USEDEP}] + >=dev-python/python-nbxmpp-3.0.0[${PYTHON_USEDEP}] + <dev-python/python-nbxmpp-4.0.0[${PYTHON_USEDEP}] + x11-libs/libXScrnSaver + app-crypt/libsecret[crypt,introspection] + dev-python/keyring[${PYTHON_USEDEP}] + >=dev-python/secretstorage-3.1.1[${PYTHON_USEDEP}] + dev-python/css-parser[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + net-libs/libsoup[introspection] + media-libs/gsound[introspection] + crypt? ( + dev-python/pycryptodome[${PYTHON_USEDEP}] + >=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}] ) + geolocation? ( app-misc/geoclue[introspection] ) + jingle? ( + net-libs/farstream:0.2[introspection] + media-libs/gstreamer:1.0[introspection] + media-libs/gst-plugins-base:1.0[introspection] + media-libs/gst-plugins-ugly:1.0 + media-plugins/gst-plugins-gtk + ) + omemo? ( + dev-python/python-axolotl[${PYTHON_USEDEP}] + dev-python/qrcode[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + ) + remote? ( + >=dev-python/dbus-python-1.2.0[${PYTHON_USEDEP}] + sys-apps/dbus[X] + ) + rst? ( dev-python/docutils[${PYTHON_USEDEP}] ) + spell? ( + app-text/gspell[introspection] + app-text/hunspell + ) + upnp? ( net-libs/gupnp-igd[introspection] ) + webp? ( dev-python/pillow[${PYTHON_USEDEP}] ) + ')" + +src_install() { + distutils-r1_src_install + + # avoid precompressed man pages + rm -r "${D}/usr/share/man" + doman data/*.1 +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +# Tests are unfortunately regularly broken +RESTRICT="test" |