public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/epic5/
Date: Sat,  7 Apr 2018 08:38:43 +0000 (UTC)	[thread overview]
Message-ID: <1523090314.4e61d05c9aecb3eee317fc1b12b3397f44d0ca91.graaff@gentoo> (raw)

commit:     4e61d05c9aecb3eee317fc1b12b3397f44d0ca91
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  7 08:38:08 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Apr  7 08:38:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e61d05c

net-irc/epic5: fix ruby support, bug 650342

Switch to ruby-single.eclass. This fixes bug 650342 but also simplifies
ruby dependency handling. Remove the REQUIRED_USE since this will always
be a blocker for most people and simply build against the currently
selected ruby version provided by ruby-single. This is in effect what
the ebuild was doing before anyway.

Include correct slot for ncurses.

Use EAPI=6.

Closes: https://bugs.gentoo.org/650342
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-irc/epic5/epic5-1.1.10-r2.ebuild | 77 ++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

diff --git a/net-irc/epic5/epic5-1.1.10-r2.ebuild b/net-irc/epic5/epic5-1.1.10-r2.ebuild
new file mode 100644
index 00000000000..323296c7006
--- /dev/null
+++ b/net-irc/epic5/epic5-1.1.10-r2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23"
+
+inherit autotools eutils multilib ruby-single toolchain-funcs
+
+DESCRIPTION="Epic5 IRC Client"
+SRC_URI="ftp://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${P}.tar.bz2"
+HOMEPAGE="http://epicsol.org/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="archive ipv6 perl tcl ruby socks5 valgrind"
+
+RDEPEND="
+	>=dev-libs/openssl-0.9.8e-r3:0
+	>=sys-libs/ncurses-5.6-r2:0
+	virtual/libiconv
+	archive? ( app-arch/libarchive )
+	perl? ( >=dev-lang/perl-5.8.8-r2 )
+	tcl? ( dev-lang/tcl:0 )
+	socks5? ( net-proxy/dante )
+	ruby? ( ${RUBY_DEPS} )"
+DEPEND="${RDEPEND}
+	valgrind? ( dev-util/valgrind )"
+
+S=${WORKDIR}/${P}
+
+src_prepare() {
+	epatch \
+		"${FILESDIR}"/${PN}-1.1.2-libarchive-automagic.patch \
+		"${FILESDIR}"/${P}-ruby-automagic-as-needed.patch \
+		"${FILESDIR}"/${P}-tcl-automagic-as-needed.patch \
+		"${FILESDIR}"/${PN}-1.1.2-perl-automagic-as-needed.patch \
+		"${FILESDIR}"/${P}-without-localdir.patch \
+		"${FILESDIR}"/${P}-socks5-libsocks.patch
+
+	eapply_user
+
+	eautoconf
+}
+
+src_configure() {
+	# Because of our REQUIRED_USE constraints above, we know that
+	# ruby_get_use_implementations will only ever return one ruby
+	# implementation.
+	econf \
+		--libexecdir="${EPREFIX}"/usr/lib/misc \
+		$(use_with archive libarchive) \
+		$(use_with ipv6) \
+		$(use_with perl) \
+		$(use_with ruby) \
+		$(use_with socks5) \
+		$(use_with tcl tcl "${EPREFIX}"/usr/$(get_libdir)/tclConfig.sh) \
+		$(use_with valgrind valgrind)
+}
+
+src_compile() {
+	# parallel build failure
+	emake -j1
+}
+
+src_install () {
+	default
+
+	dodoc BUG_FORM COPYRIGHT EPIC4-USERS-README README KNOWNBUGS VOTES
+
+	cd "${S}"/doc || die
+	docinto doc
+	dodoc \
+		*.txt colors EPIC* IRCII_VERSIONS missing \
+		nicknames outputhelp README.SSL SILLINESS TS4
+}


             reply	other threads:[~2018-04-07  8:38 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-07  8:38 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-14 17:11 [gentoo-commits] repo/gentoo:master commit in: net-irc/epic5/ Sam James
2023-05-14 17:11 Sam James
2022-07-09  6:33 Hans de Graaff
2022-07-09  6:33 Hans de Graaff
2022-06-26  7:45 Hans de Graaff
2021-06-30 18:40 Sam James
2021-06-07  8:33 Joonas Niilola
2020-04-28  4:41 Hans de Graaff
2019-07-17  8:00 Hans de Graaff
2019-05-15 15:24 Mikle Kolyada
2019-05-15 15:24 Mikle Kolyada
2019-01-26 12:43 Pacho Ramos
2018-07-15 19:05 Hans de Graaff
2018-07-15 19:05 Hans de Graaff
2018-05-06 16:18 Hans de Graaff
2018-01-21 19:37 Hans de Graaff
2015-12-28  8:05 Hans de Graaff
2015-11-11  9:12 Agostino Sarubbo
2015-11-09 10:31 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523090314.4e61d05c9aecb3eee317fc1b12b3397f44d0ca91.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox