1 |
commit: c0677bd04dc06ff907b752ab2facae42d06a339a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 15 08:12:58 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 15 08:19:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0677bd0 |
7 |
|
8 |
net-im/ekg2: Take 0.4_pre20190315 (f427d083) snapshot |
9 |
|
10 |
Closes: https://bugs.gentoo.org/675054 |
11 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
12 |
|
13 |
net-im/ekg2/Manifest | 1 + |
14 |
net-im/ekg2/ekg2-0.4_pre20190315.ebuild | 110 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 111 insertions(+) |
16 |
|
17 |
diff --git a/net-im/ekg2/Manifest b/net-im/ekg2/Manifest |
18 |
index e9fb749613a..dffbf70f378 100644 |
19 |
--- a/net-im/ekg2/Manifest |
20 |
+++ b/net-im/ekg2/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ekg2-0.3.1.tar.gz 1704772 BLAKE2B 2957d872f4d3697e36d495b54e5c39ec59c4865883b9523077ce607fc954268a0f2af07f14e4e217982abb2c1cbfdad423775631d6c22adfd2dbdc8f15895176 SHA512 dc107005f434f9e3011ff2be720b750b09c72fee1f9e1b47dfbf8af8eac1e27b24e028505a0d4928aedd1375a3245e93757410c742ff112ff5dac1e1a4f5a21c |
23 |
+DIST ekg2-f427d083ee899d42532c046100490a915b0e8a82.tar.gz 1177484 BLAKE2B 7bf6918a7f75738ac34eeae64ac53d3c90acd72795711c856206b79ca96c94b2ce397132ee31dfa8a9060d91d7b4b9aa23834596fca190dadf476660c6e5cd71 SHA512 ba28b66233290bd6c9b6a9602a5409c0fb2d847993bda638172da2f68430b5b5cf9bc0ff0d327983939fa0fd078bf6030069c60cd8bdd8449c349964b23e1f44 |
24 |
|
25 |
diff --git a/net-im/ekg2/ekg2-0.4_pre20190315.ebuild b/net-im/ekg2/ekg2-0.4_pre20190315.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..e6954bc0de6 |
28 |
--- /dev/null |
29 |
+++ b/net-im/ekg2/ekg2-0.4_pre20190315.ebuild |
30 |
@@ -0,0 +1,110 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+inherit autotools python-single-r1 |
38 |
+ |
39 |
+EGIT_COMMIT="f427d083ee899d42532c046100490a915b0e8a82" |
40 |
+DESCRIPTION="Text-based, multi-protocol instant messenger" |
41 |
+HOMEPAGE="https://github.com/ekg2/ekg2/" |
42 |
+SRC_URI="https://github.com/ekg2/ekg2/archive/${EGIT_COMMIT}.tar.gz |
43 |
+ -> ${PN}-${EGIT_COMMIT}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~ppc ~x86" |
48 |
+IUSE="gadu gpm gpg gtk minimal ncurses nls nntp openssl |
49 |
+ perl python readline rss spell sqlite ssl xmpp unicode zlib" |
50 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
51 |
+ |
52 |
+RDEPEND="dev-libs/glib:2 |
53 |
+ gadu? ( <net-libs/libgadu-1.12:0= ) |
54 |
+ gpg? ( app-crypt/gpgme:1= ) |
55 |
+ gtk? ( x11-libs/gtk+:2 ) |
56 |
+ nls? ( virtual/libintl:0= ) |
57 |
+ openssl? ( dev-libs/openssl:0= ) |
58 |
+ perl? ( dev-lang/perl:0= ) |
59 |
+ python? ( ${PYTHON_DEPS} ) |
60 |
+ readline? ( sys-libs/readline:0= ) |
61 |
+ rss? ( dev-libs/expat:0= ) |
62 |
+ ssl? ( net-libs/gnutls:0= ) |
63 |
+ xmpp? ( dev-libs/expat:0= ) |
64 |
+ zlib? ( sys-libs/zlib:0= ) |
65 |
+ |
66 |
+ ncurses? ( sys-libs/ncurses:0=[unicode=] |
67 |
+ gpm? ( sys-libs/gpm:0= ) |
68 |
+ spell? ( app-text/aspell:0= ) ) |
69 |
+ sqlite? ( dev-db/sqlite:3= )" |
70 |
+ |
71 |
+DEPEND="${RDEPEND} |
72 |
+ sys-devel/gettext" |
73 |
+ |
74 |
+S=${WORKDIR}/${PN}-${EGIT_COMMIT} |
75 |
+ |
76 |
+DOCS=( |
77 |
+ AUTHORS README.md docs/README docs/TODO |
78 |
+ docs/events.txt docs/mouse.txt docs/sim.txt docs/voip.txt |
79 |
+ docs/themes.txt docs/themes-en.txt |
80 |
+ docs/ui-ncurses.txt docs/ui-ncurses-en.txt |
81 |
+) |
82 |
+ |
83 |
+pkg_pretend() { |
84 |
+ if ! use gtk && ! use ncurses && ! use readline; then |
85 |
+ ewarn 'ekg2 is being compiled without any frontend. You should consider' |
86 |
+ ewarn 'enabling at least one of following USEflags:' |
87 |
+ ewarn ' gtk, ncurses, readline.' |
88 |
+ fi |
89 |
+} |
90 |
+ |
91 |
+src_prepare() { |
92 |
+ default |
93 |
+ eautoreconf |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local myconf=( |
98 |
+ # direct plugin references |
99 |
+ $(use_enable gadu gg) |
100 |
+ $(use_enable gpg) |
101 |
+ $(use_enable gtk) |
102 |
+ $(use_enable ncurses) |
103 |
+ $(use_enable nntp) |
104 |
+ $(use_enable openssl sim) |
105 |
+ $(use_enable perl) |
106 |
+ $(use_enable python) |
107 |
+ $(use_enable readline) |
108 |
+ $(use_enable rss) |
109 |
+ $(use_enable sqlite logsqlite) |
110 |
+ $(use_enable xmpp jabber) |
111 |
+ |
112 |
+ $(use_enable !minimal autoresponder) |
113 |
+ $(use_enable !minimal jogger) |
114 |
+ $(use_enable !minimal mail) |
115 |
+ $(use_enable !minimal polchat) |
116 |
+ $(use_enable !minimal rivchat) |
117 |
+ $(use_enable !minimal sms) |
118 |
+ |
119 |
+ # sqlite switch |
120 |
+ --with-sqlite3 |
121 |
+ |
122 |
+ # optional deps |
123 |
+ $(use_with gpm) |
124 |
+ # do not pass --with-inotify as it will fail if check fails |
125 |
+ $(use_with spell aspell) |
126 |
+ $(use_with ssl gnutls) |
127 |
+ $(use_with zlib) |
128 |
+ |
129 |
+ # other magic |
130 |
+ $(use_enable nls) |
131 |
+ --with-perl-module-build-flags='INSTALLDIRS=vendor' |
132 |
+ --enable-fast-configure |
133 |
+ ) |
134 |
+ econf "${myconf[@]}" |
135 |
+} |
136 |
+ |
137 |
+src_install() { |
138 |
+ default |
139 |
+ find "${D}" -name '*.la' -delete || die |
140 |
+} |