summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-17 19:36:30 +0000
committerSam James <sam@gentoo.org>2022-07-17 19:36:30 +0000
commitea004105f67f027b77600493bb9688f6b28d25fc (patch)
treeaa16dba4e72fc6983dfb488bb4ba6ca3711ba2b5 /net-irc/irssi
parentapp-shells/rush: drop 2.1 (diff)
downloadgentoo-ea004105f67f027b77600493bb9688f6b28d25fc.tar.gz
gentoo-ea004105f67f027b77600493bb9688f6b28d25fc.tar.bz2
gentoo-ea004105f67f027b77600493bb9688f6b28d25fc.zip
net-irc/irssi: add 1.4.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/irssi')
-rw-r--r--net-irc/irssi/Manifest1
-rw-r--r--net-irc/irssi/irssi-1.4.2.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest
index a1db79dae893..e5fccfccecbe 100644
--- a/net-irc/irssi/Manifest
+++ b/net-irc/irssi/Manifest
@@ -1 +1,2 @@
DIST irssi-1.4.1.tar.xz 1210772 BLAKE2B b02dfeae1e3ac5d52c5d22f8d2284e0314d9c39628e5389eed2a90d22904754869567750909b65315472068113f1efa8e304696564e2c2517b7a17219cf92dda SHA512 e0c53c456bd92af60e8845dba6d338bc0f880639ba19118c22324a5044101a16f7a387377f2a15aa74364f75fe9ed0d5fac0f353c3ea2158190f76ed89dfdd22
+DIST irssi-1.4.2.tar.xz 1211740 BLAKE2B 916028948640d264707bf4c8405fe63ee2781b0990abc40c4d60c5fd34bebe38de7d35cf6856c69dab39121ba5d72c962b763fda408cb81326392edc8447d3a8 SHA512 428157b85226b5299f55679d9384d3ae8b1e61f50a528bf21ffdf2f4b56014e0a86bdcf9ce05cf4dedd59d53829323bb62029a570f90ebf3243a06c3ce220caf
diff --git a/net-irc/irssi/irssi-1.4.2.ebuild b/net-irc/irssi/irssi-1.4.2.ebuild
new file mode 100644
index 000000000000..a943775df18e
--- /dev/null
+++ b/net-irc/irssi/irssi-1.4.2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL="no"
+inherit perl-module meson
+
+DESCRIPTION="A modular textUI IRC client with IPv6 support"
+HOMEPAGE="https://irssi.org/"
+
+if [[ ${PV} == *9999* ]] ; then
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+ inherit git-r3
+else
+ # Keep for _rc compability
+ MY_P="${P/_/-}"
+
+ SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="otr +perl selinux +proxy"
+
+RDEPEND="
+ >=dev-libs/glib-2.6.0
+ dev-libs/openssl:=
+ sys-libs/ncurses:=
+ otr? (
+ >=dev-libs/libgcrypt-1.2.0:=
+ >=net-libs/libotr-4.1.0
+ )
+ perl? ( dev-lang/perl:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="dev-lang/perl
+ virtual/pkgconfig"
+RDEPEND+=" selinux? ( sec-policy/selinux-irc )"
+
+src_configure() {
+ local emesonargs=(
+ -Ddocdir="${EPREFIX}"/usr/share/doc/${PF}
+ -Dwith-perl-lib=vendor
+ -Dwith-otr=$(usex otr)
+ -Dwith-proxy=$(usex proxy)
+ -Dwith-perl=$(usex perl)
+
+ # Carried over from autotools (for now?), bug #677804
+ -Ddisable-utf8proc=yes
+ -Dwith-fuzzer=no
+ -Dinstall-glib=no
+ )
+
+ meson_src_configure
+}
+
+src_test() {
+ # We don't want perl-module's src_test
+ meson_src_test
+}
+
+src_install() {
+ meson_src_install
+
+ use perl && perl_delete_localpod
+
+ dodoc AUTHORS ChangeLog README.md TODO NEWS
+}