mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
net-im/gajim-plugins: new package, add 9999
Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
47
net-im/gajim-plugins/gajim-plugins-9999.ebuild
Normal file
47
net-im/gajim-plugins/gajim-plugins-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
18
net-im/gajim-plugins/metadata.xml
Normal file
18
net-im/gajim-plugins/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user