commit:     47e8a6d4919346f9892122caf2609be59df41d91
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 22:57:00 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 22:57:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e8a6d4

net-im/profanity: add 0.13.1

Closes: https://bugs.gentoo.org/842630
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-im/profanity/Manifest                |  1 +
 net-im/profanity/profanity-0.13.1.ebuild | 71 ++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/net-im/profanity/Manifest b/net-im/profanity/Manifest
index 1bcaf0df2d1c..d67da79e7537 100644
--- a/net-im/profanity/Manifest
+++ b/net-im/profanity/Manifest
@@ -1,2 +1,3 @@
 DIST profanity-0.12.1.tar.gz 895566 BLAKE2B 
8e9a0e21ad598c5fdde293e38b9b6fb363ae06f424e7fd11d12a01ec6d5ce39a83849e56e284c15a842f01d66f3a4011f9518aef3a521459f690a7d052fe591f
 SHA512 
ca3ea92fd439336cd0bf0be42afdda464e25be85b910aef837738b8d1787ac174ac93ccee4fb2fb385228ed7be8e9bac5e96a1f89a68df162785b17d7671463f
+DIST profanity-0.13.1.tar.xz 621836 BLAKE2B 
e038fa01272150cb7974b03f88f64335bf1690115dbbb1c6fe04c79acb69db18c556edf41316af1d363f9715cd2e7aeb3f3bd867836704b620d9a87976b64fa9
 SHA512 
6d7d3c96c65e26c15cac1157bd296c1dbd3e2471aec959d6c319c68b70ec21cef0c40d7b4eed40c30c377a766db9f13a774ccb4880c227ee368e4dd607d9c267
 DIST profanity-0.9.5.tar.gz 830966 BLAKE2B 
fc1b755b1a92dbde62aacb31cb5d9190cea951e98501a5b48495dbd31266f343cf436de1fa0f69caec34324cd1f781d0bd4f5f7ebdd984324c5d1d6edb91452a
 SHA512 
79305ee488d3a9b87bb422d6525bfaae62c4969d466b968c86941ed5bf0c0080e349758f2e1ead144693513b5d19a635372e73aa1fe9e362836b9245e1d2b898

diff --git a/net-im/profanity/profanity-0.13.1.ebuild 
b/net-im/profanity/profanity-0.13.1.ebuild
new file mode 100644
index 000000000000..9618e1bd64fe
--- /dev/null
+++ b/net-im/profanity/profanity-0.13.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A console based XMPP client inspired by Irssi"
+HOMEPAGE="https://profanity-im.github.io";
+SRC_URI="https://github.com/profanity-im/profanity/releases/download/${PV}/${P}.tar.xz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="libnotify omemo otr gpg test xscreensaver"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-db/sqlite:3
+       || ( app-accessibility/at-spi2-atk dev-libs/atk )
+       dev-libs/glib:2
+       dev-libs/libassuan
+       dev-libs/libgpg-error
+       >=dev-libs/libstrophe-0.12.2
+       media-libs/harfbuzz:=
+       net-misc/curl
+       sys-libs/ncurses:=[unicode(+)]
+       sys-libs/readline:=
+       x11-libs/cairo
+       x11-libs/gdk-pixbuf:2
+       x11-libs/gtk+:3
+       x11-libs/pango
+       x11-misc/shared-mime-info
+       virtual/libcrypt:=
+       gpg? ( app-crypt/gpgme:= )
+       libnotify? ( x11-libs/libnotify )
+       omemo? (
+               dev-libs/libgcrypt:=
+               net-libs/libsignal-protocol-c
+       )
+       otr? ( net-libs/libotr )
+       xscreensaver? (
+               x11-libs/libXScrnSaver
+               x11-libs/libX11
+       )
+"
+DEPEND="
+       ${RDEPEND}
+       test? ( dev-util/cmocka )
+"
+
+src_configure() {
+       local myeconfargs=(
+               --enable-gdk-pixbuf
+               $(use_enable libnotify notifications)
+               $(use_enable omemo)
+               $(use_enable otr)
+               $(use_enable gpg pgp)
+               $(use_with xscreensaver)
+       )
+
+       econf "${myeconfargs[@]}"
+}
+
+src_compile() {
+       emake CFLAGS="${CFLAGS}"
+}
+
+src_install() {
+       default
+
+       find "${ED}" -type f -name '*.la' -delete || die
+}

Reply via email to