1 |
commit: 264784f98311837d8a77e262d7bafe52ac759c1c |
2 |
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 6 19:01:43 2019 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 6 19:17:48 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=264784f9 |
7 |
|
8 |
net-im/profanity: add new package |
9 |
|
10 |
Based on the ebuild contributed by Dennis Schridde <devurandom <AT> gmx.net> |
11 |
- huge thanks! |
12 |
|
13 |
Bug: https://bugs.gentoo.org/558840 |
14 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
15 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
16 |
|
17 |
net-im/profanity/Manifest | 1 + |
18 |
net-im/profanity/metadata.xml | 16 ++++++++++++++ |
19 |
net-im/profanity/profanity-0.6.0.ebuild | 39 +++++++++++++++++++++++++++++++++ |
20 |
3 files changed, 56 insertions(+) |
21 |
|
22 |
diff --git a/net-im/profanity/Manifest b/net-im/profanity/Manifest |
23 |
new file mode 100644 |
24 |
index 00000000000..94dfe57fd10 |
25 |
--- /dev/null |
26 |
+++ b/net-im/profanity/Manifest |
27 |
@@ -0,0 +1 @@ |
28 |
+DIST profanity-0.6.0.tar.gz 741812 BLAKE2B ba6cff070ee0e8a83b52677f6551c1d7397cd25993982d6b5390590a4924d902050504cb8803ee2741262b1409e4d75e9f223397f87f39d7dc86fcc56a0e5df6 SHA512 c7d8e74b764276f59fccfa029d45271032db315cdbf6e00deccbd611f202983a0930fed99021202333047acee9f3f0d7779cd9bb3628d2e5c4757e3de8c3629e |
29 |
|
30 |
diff --git a/net-im/profanity/metadata.xml b/net-im/profanity/metadata.xml |
31 |
new file mode 100644 |
32 |
index 00000000000..d2349017e1a |
33 |
--- /dev/null |
34 |
+++ b/net-im/profanity/metadata.xml |
35 |
@@ -0,0 +1,16 @@ |
36 |
+<?xml version="1.0" encoding="UTF-8"?> |
37 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
38 |
+<pkgmetadata> |
39 |
+ <maintainer type="person"> |
40 |
+ <email>andrey_utkin@g.o</email> |
41 |
+ <name>Andrey Utkin</name> |
42 |
+ </maintainer> |
43 |
+ <longdescription> |
44 |
+ Profanity is a console based XMPP client written in C using |
45 |
+ ncurses and libstrophe, inspired by Irssi. |
46 |
+ </longdescription> |
47 |
+ <use> |
48 |
+ <flag name="gpg">Enable OpenPGP encryption</flag> |
49 |
+ <flag name="otr">Enable encrypted conversations using Off-The-Records messaging</flag> |
50 |
+ </use> |
51 |
+</pkgmetadata> |
52 |
|
53 |
diff --git a/net-im/profanity/profanity-0.6.0.ebuild b/net-im/profanity/profanity-0.6.0.ebuild |
54 |
new file mode 100644 |
55 |
index 00000000000..402ca75c085 |
56 |
--- /dev/null |
57 |
+++ b/net-im/profanity/profanity-0.6.0.ebuild |
58 |
@@ -0,0 +1,39 @@ |
59 |
+# Copyright 1999-2019 Gentoo Authors |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+ |
62 |
+EAPI=7 |
63 |
+ |
64 |
+DESCRIPTION="A console based XMPP client inspired by Irssi" |
65 |
+HOMEPAGE="http://www.profanity.im/" |
66 |
+SRC_URI="http://www.profanity.im/${P}.tar.gz" |
67 |
+ |
68 |
+LICENSE="GPL-3" |
69 |
+SLOT="0" |
70 |
+KEYWORDS="~amd64" |
71 |
+ |
72 |
+IUSE="libnotify otr gpg xscreensaver" |
73 |
+ |
74 |
+DEPEND=" |
75 |
+ dev-libs/expat |
76 |
+ dev-libs/glib |
77 |
+ dev-libs/libstrophe:= |
78 |
+ dev-libs/openssl:0= |
79 |
+ net-misc/curl |
80 |
+ sys-apps/util-linux |
81 |
+ sys-libs/ncurses:=[unicode] |
82 |
+ gpg? ( app-crypt/gpgme:= ) |
83 |
+ libnotify? ( x11-libs/libnotify ) |
84 |
+ otr? ( net-libs/libotr ) |
85 |
+ xscreensaver? ( |
86 |
+ x11-libs/libXScrnSaver |
87 |
+ x11-libs/libX11 ) |
88 |
+ " |
89 |
+RDEPEND="${DEPEND}" |
90 |
+ |
91 |
+src_configure() { |
92 |
+ econf \ |
93 |
+ $(use_enable libnotify notifications) \ |
94 |
+ $(use_enable otr) \ |
95 |
+ $(use_enable gpg pgp) \ |
96 |
+ $(use_with xscreensaver) |
97 |
+} |