From 2621e0b10600a11a6d81bba781284baaab4daccc Mon Sep 17 00:00:00 2001 From: Anton Schubert Date: Thu, 15 Aug 2019 00:37:02 +0200 Subject: [PATCH] net-im/profanity: added ebuild Package-Manager: Portage-2.3.66, Repoman-2.3.11 --- net-im/profanity/Manifest | 3 ++ net-im/profanity/metadata.xml | 17 +++++++++ net-im/profanity/profanity-0.7.0.ebuild | 50 +++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 net-im/profanity/Manifest create mode 100644 net-im/profanity/metadata.xml create mode 100644 net-im/profanity/profanity-0.7.0.ebuild diff --git a/net-im/profanity/Manifest b/net-im/profanity/Manifest new file mode 100644 index 0000000..437210e --- /dev/null +++ b/net-im/profanity/Manifest @@ -0,0 +1,3 @@ +DIST profanity-0.7.0.tar.gz 443662 BLAKE2B 9676390ffefc37afae511061924e92b1db3f130c6a05f1822df93831570ea335d0833ab25932ddb63fb18635034b3ae232141fb5ae8d3831a6de6b5531868c12 SHA512 4605b47dd3d16b8e4b6db9a683c6838fb08c128dd53c92cb05279467bb5b926a38fdd47b9fff6765a044f72a07a95433a3883a02b5da695da315a7a5c02dabc0 +EBUILD profanity-0.7.0.ebuild 1005 BLAKE2B dfb801515ad20bcf94f75f779c651da6d0c7b68dc3dc76697200486f8127791b872cb0d50e664f6a6207b9fb85cd5a2d8d5706642c407d736c78765339f5b9b1 SHA512 5a8a1854d9e09db48053a07a99da3841ac1607dce068ade3bbdc267f85aff09f3d3b765904c36604466fbf5a8c1005d5241f2c0b2b5b265cfdc4bd37b1220d18 +MISC metadata.xml 663 BLAKE2B f9dc1cbee6ef8a2b230ab5e6a1be79b28cb4b8e62a6c3afd7c91ad6f1a9588c84156e47fd2e8669acc5a294bd61036e4f01f72a7774480998e2daa370e292307 SHA512 4327be29a4558a4fcec8222ef0b2dc81440978974f6332787428ff07e7fd2ef51cc97f3150e8840b447fb99cde1e959374794da62c8436734d3f1f972af5a607 diff --git a/net-im/profanity/metadata.xml b/net-im/profanity/metadata.xml new file mode 100644 index 0000000..3d5909d --- /dev/null +++ b/net-im/profanity/metadata.xml @@ -0,0 +1,17 @@ + + + + + ischluff@mailbox.org + Anton Schubert + + + Profanity is a console based XMPP client written in C using + ncurses and libstrophe, inspired by Irssi. + + + Enable OpenPGP encryption + Enable encrypted conversations using Off-The-Records messaging + Enable encrypted conversations using OMEMO Multi-End Message and Object Encryption + + diff --git a/net-im/profanity/profanity-0.7.0.ebuild b/net-im/profanity/profanity-0.7.0.ebuild new file mode 100644 index 0000000..24a6b1c --- /dev/null +++ b/net-im/profanity/profanity-0.7.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A console based XMPP client inspired by Irssi" +HOMEPAGE="http://www.profanity.im/" +SRC_URI="https://github.com/profanity-im/profanity/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="libnotify otr gpg xscreensaver omemo" + +DEPEND=" + dev-libs/expat + dev-libs/glib + dev-libs/libstrophe:= + dev-libs/openssl:0= + net-misc/curl + sys-apps/util-linux + sys-libs/ncurses:=[unicode] + dev-libs/libstrophe + gpg? ( app-crypt/gpgme:= ) + libnotify? ( x11-libs/libnotify ) + otr? ( net-libs/libotr ) + omemo? ( net-libs/libsignal-protocol-c ) + xscreensaver? ( + x11-libs/libXScrnSaver + x11-libs/libX11 ) + " +RDEPEND="${DEPEND}" + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable libnotify notifications) \ + $(use_enable otr) \ + $(use_enable omemo) \ + $(use_enable gpg pgp) \ + $(use_with xscreensaver) +}