Files
guru/net-im/gajim-plugins/gajim-plugins-9999.ebuild
Lucio Sauer 99a0d936ab net-im/*: fix variable order
Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-14 16:37:55 -04:00

49 lines
1.1 KiB
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
inherit git-r3 python-single-r1
DESCRIPTION="Plugins developed fro Gajim XMPP client"
HOMEPAGE="https://dev.gajim.org/gajim/gajim-plugins/"
EGIT_REPO_URI="https://dev.gajim.org/gajim/gajim-plugins.git"
S="${WORKDIR}/${P%_p2}"
LICENSE="GPL-3"
SLOT="0"
MY_PLUGINS="acronyms_expander anti_spam clients_icons length_notifier
message_box_size now_listen omemo openpgp pgp plugins_translations
quick_replies triggers"
IUSE="$(printf '+%s ' ${MY_PLUGINS[@]})"
RDEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
net-im/gajim[${PYTHON_SINGLE_USEDEP}]
omemo? (
net-im/gajim[omemo]
dev-python/python-axolotl[${PYTHON_USEDEP}]
dev-python/qrcode[${PYTHON_USEDEP}]
dev-python/cryptography[${PYTHON_USEDEP}] )
pgp? (
>=dev-python/python-gnupg-0.4.0[${PYTHON_USEDEP}]
)
plugins_translations? (
app-misc/geoclue[introspection]
)
')"
src_install() {
python_moduleinto "gajim/data/plugins"
for plugin in $MY_PLUGINS; do
if use ${plugin#"+"}; then
python_domodule "${plugin#"+"}"
fi
done
}