summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-02-12 09:41:10 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-02-12 09:41:10 +0300
commite8fe03253a2f8cf279f9447a1ee0a3d2b6d183b0 (patch)
tree3b39ce11fceb45922da4764497beea1da9da1566 /net-irc
parentprofiles/arch/arm64/p.u.mask: Add net-irc/irssi[otr] (diff)
downloadgentoo-e8fe03253a2f8cf279f9447a1ee0a3d2b6d183b0.tar.gz
gentoo-e8fe03253a2f8cf279f9447a1ee0a3d2b6d183b0.tar.bz2
gentoo-e8fe03253a2f8cf279f9447a1ee0a3d2b6d183b0.zip
net-irc/irssi: Version bump (v1.2.0)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irssi/Manifest1
-rw-r--r--net-irc/irssi/irssi-1.2.0.ebuild66
-rw-r--r--net-irc/irssi/metadata.xml1
3 files changed, 68 insertions, 0 deletions
diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
index daf802d9743..115b8db6e44 100644
--- a/net-irc/irssi/Manifest
+++ b/net-irc/irssi/Manifest
@@ -1 +1,2 @@
DIST irssi-1.1.2.tar.xz 1084328 BLAKE2B 6f4e49097d97a511d0fd679806bfa3d261c26f9160ed66d34e7d314b3f330accf90c5e019c31dafd5418c25d538fcb44fc35fcdf6210370f640ff95743556a9a SHA512 706f811c810b976888101a29bab6ff6b9aa6116678994b3710d6b266bfbc0ae2be1d4fd889aedfbf0a13a2e3da3f1affcce0018346ecc582865eaccd8cc79f84
+DIST irssi-1.2.0.tar.xz 1138984 BLAKE2B 940b8fb0c6633ea82ccd242241a39b67fa1a356aa58758ca9e0388971ccaabbdfe954140d27abd06d1ca36d0aac14decbb1fd0929d969305abfaa9c9dbeafd24 SHA512 343530ca63355dd6683e84f31602c9162e1e3158e52ce81e37519d1e42abbdcb621fb710fcb605fcafd7e7ea3f2c30ed62607d4ea91d8c8dc29bf893e54aee40
diff --git a/net-irc/irssi/irssi-1.2.0.ebuild b/net-irc/irssi/irssi-1.2.0.ebuild
new file mode 100644
index 00000000000..7708d1253e7
--- /dev/null
+++ b/net-irc/irssi/irssi-1.2.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GENTOO_DEPEND_ON_PERL="no"
+
+inherit ltprune perl-module
+
+# Keep for _rc compability
+MY_P="${P/_/-}"
+
+DESCRIPTION="A modular textUI IRC client with IPv6 support"
+HOMEPAGE="https://irssi.org/"
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+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"
+IUSE="otr +perl selinux socks5 +proxy libressl"
+
+COMMON_DEPEND="
+ sys-libs/ncurses:0=
+ >=dev-libs/glib-2.6.0
+ !libressl? ( dev-libs/openssl:= )
+ libressl? ( dev-libs/libressl:= )
+ otr? ( >=dev-libs/libgcrypt-1.2.0:0=
+ >=net-libs/libotr-4.1.0 )
+ perl? ( dev-lang/perl:= )
+ socks5? ( >=net-proxy/dante-1.1.18 )"
+
+DEPEND="
+ ${COMMON_DEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="
+ ${COMMON_DEPEND}
+ selinux? ( sec-policy/selinux-irc )
+ perl? ( !net-im/silc-client )"
+
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ default
+ if has_version '>=dev-libs/libressl-2.7.3'; then
+ eapply "${FILESDIR}"/libressl.patch
+ fi
+}
+
+src_configure() {
+ econf \
+ --with-perl-lib=vendor \
+ --enable-true-color \
+ $(use_with otr) \
+ $(use_with proxy) \
+ $(use_with perl) \
+ $(use_with socks5 socks)
+}
+
+src_install() {
+ default
+ use perl && perl_delete_localpod
+ prune_libtool_files --modules
+}
diff --git a/net-irc/irssi/metadata.xml b/net-irc/irssi/metadata.xml
index 18651265241..4944f113330 100644
--- a/net-irc/irssi/metadata.xml
+++ b/net-irc/irssi/metadata.xml
@@ -14,6 +14,7 @@
<name>Mikle Kolyada</name>
</maintainer>
<use>
+ <flag name="otr">Adds support for a loadable IRC otr module</flag>
<flag name="proxy">Adds support for a loadable IRC proxy module</flag>
</use>
<upstream>