diff --git a/net-im/gajim-plugins/gajim-plugins-9999.ebuild b/net-im/gajim-plugins/gajim-plugins-9999.ebuild new file mode 100644 index 0000000000..b08659d98a --- /dev/null +++ b/net-im/gajim-plugins/gajim-plugins-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit python-single-r1 + +DESCRIPTION="Plugins developed fro Gajim XMPP client" +HOMEPAGE="https://dev.gajim.org/gajim/gajim-plugins/-/wikis/home" + +inherit git-r3 +EGIT_REPO_URI="https://dev.gajim.org/gajim/gajim-plugins.git" + +MY_PLUGINS="acronyms_expander anti_spam clients_icons length_notifier message_box_size now_listen omemo openpgp pgp plugins_translations quick_replies triggers" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="$(printf '+%s ' ${MY_PLUGINS[@]})" +S="${WORKDIR}/${P%_p2}" + +DEPEND="" +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 +} diff --git a/net-im/gajim-plugins/metadata.xml b/net-im/gajim-plugins/metadata.xml new file mode 100644 index 0000000000..c59b913e7c --- /dev/null +++ b/net-im/gajim-plugins/metadata.xml @@ -0,0 +1,18 @@ + + + + + Plugin: Replaces acronyms (or other strings) with given expansions/substitutes + Plugin: Block some incoming messages + Plugin: Shows the client icons in the roster and in groupchats + Plugin: Notifies you when message length reaches a limit + Plugin: Allows you to adjust the height of the new message input field + Plugin: Copy tune info to conversation input box + Plugin: OMEMO Multi-End Message and Object Encryption for 1:1 chats, groupchats, and file transfers + Plugin: Encrypt your messages with OpenPGP (XEP-0373) + Plugin: Encrypt your messages with PGP (XEP-0027) + Plugin: Translation files for Gajim Plugins + Plugin: Quick replies + Plugin: Configure Gajim's behaviour when receiving messages/events + +