commit: 0dce54e31032cdf3ecd0b7eee3403401e8772fe1
Author: Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Thu Dec 22 19:49:12 2022 +0000
Commit: Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Thu Dec 22 19:49:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0dce54e3
net-im/gajim-plugins: new package, add 9999
Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>
net-im/gajim-plugins/gajim-plugins-9999.ebuild | 47 ++++++++++++++++++++++++++
net-im/gajim-plugins/metadata.xml | 18 ++++++++++
2 files changed, 65 insertions(+)
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 000000000..b08659d98
--- /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 000000000..c59b913e7
--- /dev/null
+++ b/net-im/gajim-plugins/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="acronyms_expander">Plugin: Replaces acronyms (or other
strings) with given expansions/substitutes</flag>
+ <flag name="anti_spam">Plugin: Block some incoming messages</flag>
+ <flag name="clients_icons">Plugin: Shows the client icons in the roster
and in groupchats</flag>
+ <flag name="length_notifier">Plugin: Notifies you when message length
reaches a limit</flag>
+ <flag name="message_box_size">Plugin: Allows you to adjust the height of
the new message input field</flag>
+ <flag name="now_listen">Plugin: Copy tune info to conversation input
box</flag>
+ <flag name="omemo">Plugin: OMEMO Multi-End Message and Object Encryption
for 1:1 chats, groupchats, and file transfers</flag>
+ <flag name="openpgp">Plugin: Encrypt your messages with OpenPGP
(XEP-0373)</flag>
+ <flag name="pgp">Plugin: Encrypt your messages with PGP (XEP-0027)</flag>
+ <flag name="plugins_translations">Plugin: Translation files for Gajim
Plugins</flag>
+ <flag name="quick_replies">Plugin: Quick replies</flag>
+ <flag name="triggers">Plugin: Configure Gajim's behaviour when
receiving messages/events</flag>
+ </use>
+</pkgmetadata>