Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/
Date: Sat, 31 Aug 2019 05:16:55
Message-Id: 1567228463.338bc9861cf9a4c2f2aa86b60bd0a2dbba05a8e0.zlogene@gentoo
1 commit: 338bc9861cf9a4c2f2aa86b60bd0a2dbba05a8e0
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 31 05:12:38 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 31 05:14:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=338bc986
7
8 net-irc/irssi: Version bump (v1.2.2)
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-irc/irssi/Manifest | 1 +
14 net-irc/irssi/irssi-1.2.2.ebuild | 65 ++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 66 insertions(+)
16
17 diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
18 index 66e2ff62e1e..3f47c7fda6f 100644
19 --- a/net-irc/irssi/Manifest
20 +++ b/net-irc/irssi/Manifest
21 @@ -1 +1,2 @@
22 DIST irssi-1.2.1.tar.xz 1140380 BLAKE2B 11ab48ce6d7efa0a4c33f823dd414660107d94b9f00c863feb8377f4586e6c62043932bdcf35f1f4e9e9ab545ccc3bb0bfd207727e55856243c8494ae6172cf9 SHA512 67c4501b5a0055c1b24fa6753305658de809cd66e952e6f9233701a112989fd8721a065b1c681725b82346b40b53a29bd2b6b8b8315ac0ad196235a9e5156d5a
23 +DIST irssi-1.2.2.tar.xz 1140844 BLAKE2B c1758828285c3f3210d6920455382e52279587280ecdc4ba7d73562c164ebd6618b1bb32d387439be2696f948044f66eb73b78ed2b0635286f8c3d93530167f2 SHA512 5444ac102ff9ad3a6399a47c967d138e181330dd226eac68886d35fee4ad455932b9306a367bee3478095158e41ba67fb46deb8f0a33512046b9b83bae37c610
24
25 diff --git a/net-irc/irssi/irssi-1.2.2.ebuild b/net-irc/irssi/irssi-1.2.2.ebuild
26 new file mode 100644
27 index 00000000000..07e3cb75fc6
28 --- /dev/null
29 +++ b/net-irc/irssi/irssi-1.2.2.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +GENTOO_DEPEND_ON_PERL="no"
37 +
38 +inherit perl-module
39 +
40 +# Keep for _rc compability
41 +MY_P="${P/_/-}"
42 +
43 +DESCRIPTION="A modular textUI IRC client with IPv6 support"
44 +HOMEPAGE="https://irssi.org/"
45 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz"
46 +
47 +LICENSE="GPL-2"
48 +SLOT="0"
49 +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 +IUSE="otr +perl selinux socks5 +proxy libressl"
51 +
52 +COMMON_DEPEND="
53 + sys-libs/ncurses:0=
54 + >=dev-libs/glib-2.6.0
55 + !net-irc/irssi-otr
56 + !libressl? ( dev-libs/openssl:= )
57 + libressl? ( >=dev-libs/libressl-2.7.4:= )
58 + otr? ( >=dev-libs/libgcrypt-1.2.0:0=
59 + >=net-libs/libotr-4.1.0 )
60 + perl? ( dev-lang/perl:= )
61 + socks5? ( >=net-proxy/dante-1.1.18 )"
62 +
63 +DEPEND="
64 + ${COMMON_DEPEND}
65 + virtual/pkgconfig"
66 +
67 +RDEPEND="
68 + ${COMMON_DEPEND}
69 + selinux? ( sec-policy/selinux-irc )
70 + perl? ( !net-im/silc-client )"
71 +
72 +RESTRICT="test"
73 +
74 +S="${WORKDIR}/${MY_P}"
75 +
76 +src_configure() {
77 + # Disable automagic dependency on dev-libs/libutf8proc (bug #677804)
78 + export ac_cv_lib_utf8proc_utf8proc_version=no
79 +
80 + local myeconfargs=(
81 + --with-perl-lib=vendor
82 + --enable-true-color
83 + $(use_with otr)
84 + $(use_with proxy)
85 + $(use_with perl)
86 + $(use_with socks5 socks)
87 + )
88 + econf "${myeconfargs[@]}"
89 +}
90 +
91 +src_install() {
92 + default
93 + use perl && perl_delete_localpod
94 + rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la}
95 +}