net-im/profanity: added ebuild

Package-Manager: Portage-2.3.66, Repoman-2.3.11
This commit is contained in:
Anton Schubert 2019-08-15 00:37:02 +02:00
parent c240afb8cd
commit 2621e0b106
3 changed files with 70 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>ischluff@mailbox.org</email>
<name>Anton Schubert</name>
</maintainer>
<longdescription>
Profanity is a console based XMPP client written in C using
ncurses and libstrophe, inspired by Irssi.
</longdescription>
<use>
<flag name="gpg">Enable OpenPGP encryption</flag>
<flag name="otr">Enable encrypted conversations using Off-The-Records messaging</flag>
<flag name="omemo">Enable encrypted conversations using OMEMO Multi-End Message and Object Encryption</flag>
</use>
</pkgmetadata>

View file

@ -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)
}