forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Jonas Stein <[email protected]>
- Loading branch information
1 parent
f06ad34
commit e03fc78
Showing
2 changed files
with
106 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST gajim-1.7.3.tar.gz 3753831 BLAKE2B c7b8b1dc47b1faf9f1c0803e7931cb00bfbf31075fe481d557ec0f308c79e7580d0054d224781a67eaeea24dba40e40de5faf55d633d71f759022a1ac113f6e4 SHA512 66135e88784350bab79b61debc1b65144a82f8eee2c1841d21e4f511b3792361e57b60304d2478654e563687e8302426d76063e748236f4e1c959511c7c28665 | ||
DIST gajim-1.8.0.tar.gz 3835799 BLAKE2B 030293fc8114877c6d060cd0feae0fecdcecbb26aac8817e1db7db59aee3ee79973efc94584434641ccd39adcf809e0c7a86a017ab46c9695666d898fb7b7905 SHA512 724290de6d438aacd929a9759d7a712068c303caf9002a1a70ddc0e9aa16387054d3e4efacf84eced28f49ef79749c764d5fe67fcb23c3baef3a2b7714df218e | ||
DIST gajim-1.8.1.tar.gz 3844796 BLAKE2B b7bbd751a051cd2a46e814a9b3ebc08f10a6570dc071752838a2463019cdf6ea4198f2a349f3935c33d988cd6908cf31dba572bac31f9363675433328e6d679b SHA512 b417d76a4225f16730441dee7befacd6db5be782c9271b789d5f9c10232e342f2d46930eef79a58839c13b2887926591d953a87a7544e32c7bf80d2c65390e31 | ||
DIST gajim-1.8.4.tar.gz 3710470 BLAKE2B e23eafe707bc482a050fcef44df9e68af552444cce173c506538ebe01557a894dc0ba8b9afe18f195fd0b00b717b1268531a960b1c8b868c22081135d14e3079 SHA512 1a5b028c0e308eb15417c8c11584bc0e8b0218fead5155093ede4bc3961b6bee2b47bc3510f751dc70194634d6ca94d4a675f6891c8f050859fb4729020e52cb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
PYTHON_COMPAT=( python3_{10..11} ) | ||
PYTHON_REQ_USE="sqlite,xml(+)" | ||
DISTUTILS_USE_PEP517=standalone | ||
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 ~loong ~riscv ~x86" | ||
# Gajim depends now on omemo-dr. Add KEYWORDS again, | ||
# when https://bugs.gentoo.org/912285 is fixed. | ||
|
||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" | ||
IUSE="+crypt geolocation jingle remote rst +spell upnp +webp" | ||
|
||
COMMON_DEPEND=" | ||
dev-libs/gobject-introspection[cairo(+)] | ||
>=x11-libs/gtk+-3.22:3[introspection] | ||
x11-libs/gtksourceview:4[introspection]" | ||
DEPEND="${COMMON_DEPEND} | ||
app-arch/unzip | ||
virtual/pkgconfig | ||
>=x11-libs/pango-1.5.0 | ||
>=sys-devel/gettext-0.17-r1" | ||
RDEPEND="${COMMON_DEPEND} | ||
$(python_gen_cond_dep ' | ||
dev-python/idna[${PYTHON_USEDEP}] | ||
>=dev-python/nbxmpp-4.2.2[${PYTHON_USEDEP}] | ||
<dev-python/nbxmpp-5.0.0[${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}] | ||
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:3.0[introspection] | ||
media-libs/gsound[introspection] | ||
dev-python/pillow[${PYTHON_USEDEP}] | ||
dev-python/jaraco-classes[${PYTHON_USEDEP}] | ||
dev-python/python-axolotl[${PYTHON_USEDEP}] | ||
dev-python/qrcode[${PYTHON_USEDEP}] | ||
dev-python/cryptography[${PYTHON_USEDEP}] | ||
dev-python/omemo-dr[${PYTHON_USEDEP}] | ||
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 | ||
) | ||
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:0[introspection] ) | ||
')" | ||
|
||
python_compile() { | ||
distutils-r1_python_compile | ||
./pep517build/build_metadata.py -o dist/metadata | ||
} | ||
|
||
python_install() { | ||
distutils-r1_python_install | ||
./pep517build/install_metadata.py dist/metadata --prefix="${D}/usr" | ||
|
||
gzip -d "${ED}"/usr/share/man/man1/*.gz || die | ||
} | ||
|
||
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" |