diff options
-rw-r--r-- | net-irc/irssi/Manifest | 1 | ||||
-rw-r--r-- | net-irc/irssi/irssi-1.4.3.ebuild | 68 | ||||
-rw-r--r-- | net-irc/irssi/irssi-9999.ebuild | 6 |
3 files changed, 71 insertions, 4 deletions
diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest index e5fccfccecbe..418c2a1d2baf 100644 --- a/net-irc/irssi/Manifest +++ b/net-irc/irssi/Manifest @@ -1,2 +1,3 @@ DIST irssi-1.4.1.tar.xz 1210772 BLAKE2B b02dfeae1e3ac5d52c5d22f8d2284e0314d9c39628e5389eed2a90d22904754869567750909b65315472068113f1efa8e304696564e2c2517b7a17219cf92dda SHA512 e0c53c456bd92af60e8845dba6d338bc0f880639ba19118c22324a5044101a16f7a387377f2a15aa74364f75fe9ed0d5fac0f353c3ea2158190f76ed89dfdd22 DIST irssi-1.4.2.tar.xz 1211740 BLAKE2B 916028948640d264707bf4c8405fe63ee2781b0990abc40c4d60c5fd34bebe38de7d35cf6856c69dab39121ba5d72c962b763fda408cb81326392edc8447d3a8 SHA512 428157b85226b5299f55679d9384d3ae8b1e61f50a528bf21ffdf2f4b56014e0a86bdcf9ce05cf4dedd59d53829323bb62029a570f90ebf3243a06c3ce220caf +DIST irssi-1.4.3.tar.xz 1212556 BLAKE2B 48091e26bf547e510814d2ce709e2000771b75112fe5706ee328c6436659b7f0157f24058d508fae791175e1ff92de67224412fec18376fefc64a847d4e3bf6d SHA512 d9122180990965e701deb37f212a1ef60fd697ba24c827c2bb15dcd7c4f7f4caf02f6dd99cb5a0cf0b2682325b93ecfd0f00adb296ad832b5a95953ea08567f5 diff --git a/net-irc/irssi/irssi-1.4.3.ebuild b/net-irc/irssi/irssi-1.4.3.ebuild new file mode 100644 index 000000000000..ea7e65988b49 --- /dev/null +++ b/net-irc/irssi/irssi-1.4.3.ebuild @@ -0,0 +1,68 @@ +# 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 +} diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild index 5f30465fce93..ea7e65988b49 100644 --- a/net-irc/irssi/irssi-9999.ebuild +++ b/net-irc/irssi/irssi-9999.ebuild @@ -35,10 +35,8 @@ RDEPEND=" perl? ( dev-lang/perl:= ) " DEPEND="${RDEPEND}" -BDEPEND=" - dev-lang/perl - virtual/pkgconfig -" +BDEPEND="dev-lang/perl + virtual/pkgconfig" RDEPEND+=" selinux? ( sec-policy/selinux-irc )" src_configure() { |