From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 211D2158091 for ; Sat, 11 Jun 2022 23:29:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04A0CE07C5; Sat, 11 Jun 2022 23:29:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87164E07EF for ; Sat, 11 Jun 2022 23:28:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D0AB4341A86 for ; Sat, 11 Jun 2022 23:28:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28B7044B for ; Sat, 11 Jun 2022 23:28:56 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1654988432.a332bccf1a594d93f2eed04ce3c417e1b5fdfb22.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/irssi/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/irssi/Manifest net-irc/irssi/irssi-1.4.1.ebuild net-irc/irssi/irssi-9999.ebuild X-VCS-Directories: net-irc/irssi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a332bccf1a594d93f2eed04ce3c417e1b5fdfb22 X-VCS-Branch: master Date: Sat, 11 Jun 2022 23:28:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d10bfcb8-37d7-4905-93d6-a5b7c0cc88f3 X-Archives-Hash: 2fb7f5db556dab20cccc963c8d07647b commit: a332bccf1a594d93f2eed04ce3c417e1b5fdfb22 Author: Sam James gentoo org> AuthorDate: Sat Jun 11 23:00:32 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jun 11 23:00:32 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a332bccf net-irc/irssi: add 1.4.1 Signed-off-by: Sam James gentoo.org> net-irc/irssi/Manifest | 1 + net-irc/irssi/irssi-1.4.1.ebuild | 76 +++++++++++++++++++++++++++++++++++++++ net-irc/irssi/irssi-9999.ebuild | 78 +++++++++++++++++++++------------------- 3 files changed, 118 insertions(+), 37 deletions(-) diff --git a/net-irc/irssi/Manifest b/net-irc/irssi/Manifest index dc5612c9c0f4..a54639bcc796 100644 --- a/net-irc/irssi/Manifest +++ b/net-irc/irssi/Manifest @@ -1 +1,2 @@ DIST irssi-1.2.3.tar.xz 1145292 BLAKE2B 7b2b7cb8d1533a06ad3cd5e0b2e45bba636cf19d26c69e19fc7e9408313f80d80a26ff2bf5f21a8763d8adec722bb33f6b076a863e6a55e178a814a3e79c9db7 SHA512 826b7bfd86a54647f2d344b6c461e1118b7382fb1637cf33c395af41a9a4ca5d8a794a415f0f0737178968cf2463bb46a0e7b7fd7014c968668b16183e0644bc +DIST irssi-1.4.1.tar.xz 1210772 BLAKE2B b02dfeae1e3ac5d52c5d22f8d2284e0314d9c39628e5389eed2a90d22904754869567750909b65315472068113f1efa8e304696564e2c2517b7a17219cf92dda SHA512 e0c53c456bd92af60e8845dba6d338bc0f880639ba19118c22324a5044101a16f7a387377f2a15aa74364f75fe9ed0d5fac0f353c3ea2158190f76ed89dfdd22 diff --git a/net-irc/irssi/irssi-1.4.1.ebuild b/net-irc/irssi/irssi-1.4.1.ebuild new file mode 100644 index 000000000000..4e50d26f1c07 --- /dev/null +++ b/net-irc/irssi/irssi-1.4.1.ebuild @@ -0,0 +1,76 @@ +# 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 meson git-r3 +else + # Keep for _rc compability + MY_P="${P/_/-}" + + SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" +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=" + virtual/pkgconfig + dev-lang/perl + || ( + www-client/lynx + www-client/elinks + ) +" +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 + + rm -f "${ED}"/usr/$(get_libdir)/irssi/modules/*.{a,la} || die + + dodoc AUTHORS ChangeLog README.md TODO NEWS +} diff --git a/net-irc/irssi/irssi-9999.ebuild b/net-irc/irssi/irssi-9999.ebuild index a73888fc5871..4e50d26f1c07 100644 --- a/net-irc/irssi/irssi-9999.ebuild +++ b/net-irc/irssi/irssi-9999.ebuild @@ -1,68 +1,72 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI=8 GENTOO_DEPEND_ON_PERL="no" - -inherit autotools perl-module git-r3 - -EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +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 meson git-r3 +else + # Keep for _rc compability + MY_P="${P/_/-}" + + SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV/_/-}/${MY_P}.tar.xz" +fi + LICENSE="GPL-2" SLOT="0" -IUSE="otr +perl selinux socks5 +proxy" +IUSE="otr +perl selinux +proxy" -COMMON_DEPEND="sys-libs/ncurses:0= +RDEPEND=" >=dev-libs/glib-2.6.0 dev-libs/openssl:= + sys-libs/ncurses:= otr? ( - >=dev-libs/libgcrypt-1.2.0:0= + >=dev-libs/libgcrypt-1.2.0:= >=net-libs/libotr-4.1.0 ) perl? ( dev-lang/perl:= ) - socks5? ( >=net-proxy/dante-1.1.18 )" - -DEPEND=" - ${COMMON_DEPEND} +" +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig dev-lang/perl || ( www-client/lynx www-client/elinks - )" - -RDEPEND=" - ${COMMON_DEPEND} - selinux? ( sec-policy/selinux-irc )" + ) +" +RDEPEND+=" selinux? ( sec-policy/selinux-irc )" -src_prepare() { - sed -i -e /^autoreconf/d autogen.sh || die - NOCONFIGURE=1 ./autogen.sh || die +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 + ) - default - eautoreconf + meson_src_configure } -src_configure() { - # Disable automagic dependency on dev-libs/libutf8proc (bug #677804) - export ac_cv_lib_utf8proc_utf8proc_version=no - - local myeconfargs=( - --with-perl-lib=vendor - --enable-true-color - $(use_with otr) - $(use_with proxy) - $(use_with perl) - $(use_with socks5 socks) - ) - econf "${myeconfargs[@]}" +src_test() { + # We don't want perl-module's src_test + meson_src_test } src_install() { - default + meson_src_install use perl && perl_delete_localpod