diff options
author | Sam James <sam@gentoo.org> | 2022-06-12 11:35:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-06-12 11:36:25 +0100 |
commit | 8757cffe7f1a323561a4a87731a84e5ea44e9c84 (patch) | |
tree | 4d5ae9a501e920b919fce6e24beb7b96acbfccca /net-irc/irssi-xmpp | |
parent | sci-chemistry/openbabel: fix build with GCC 12 (diff) | |
download | gentoo-8757cffe7f1a323561a4a87731a84e5ea44e9c84.tar.gz gentoo-8757cffe7f1a323561a4a87731a84e5ea44e9c84.tar.bz2 gentoo-8757cffe7f1a323561a4a87731a84e5ea44e9c84.zip |
net-irc/irssi-xmpp: fix build with irssi-1.4
Closes: https://bugs.gentoo.org/851525
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/irssi-xmpp')
-rw-r--r-- | net-irc/irssi-xmpp/Manifest | 1 | ||||
-rw-r--r-- | net-irc/irssi-xmpp/irssi-xmpp-0.54-r1.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-irc/irssi-xmpp/Manifest b/net-irc/irssi-xmpp/Manifest index 8591f0735720..f5edb6775b23 100644 --- a/net-irc/irssi-xmpp/Manifest +++ b/net-irc/irssi-xmpp/Manifest @@ -1,2 +1,3 @@ +DIST irssi-xmpp-0.54-irssi.patch.xz 4060 BLAKE2B 305120bed1e05fc144ca4bbade4894f3f7b20d3f0fe8946182db9525c0b8ed6ce37228233a36b5a24f080cac7d0496097609fd8319294e0e140d9046bfc216ce SHA512 8865084b167138cc02feec39a014c6ea3c047f32430d531b0fb84f9172cf43024c44ffafb274a5c049e4b1060bf30a7f219ba22ce2ea4e2858fe000cd2538f5a DIST irssi-xmpp-0.54-musl-build.patch 24443 BLAKE2B b0ed65a688d0db84f89bc65c429b4754cd4dcfb9de2c1cd5aa64f4e02badc82d26ab42b2a29a3658910dcdbf61b2d49eca4c1b4355b5566c5a3bd120e06340bb SHA512 1417c328867b59de41f71fa720cb00581352604acec9787db183820f1ffb77209623bc236aa5b6e4f661c3780ee5c3d407aecbc286176a4d850f6e40bebecd45 DIST irssi-xmpp-0.54.tar.gz 65618 BLAKE2B 5dd1f3a858cdb397351b93800fdd2050aa8e5764ac2e03008d629dee7d825b02bce4bfc627ab2d3249392efe43ceb1530a7ccefc3241c8ca101cc2963d28f872 SHA512 31ddd9e0147eec23d08b8bcbe242e831d612cb2d00f3b56776e9d0b87db9bd76d4bb147422cdf18c0567f0e0463ab828ab7a0ef80a2b35cfdc0a8be962b39f14 diff --git a/net-irc/irssi-xmpp/irssi-xmpp-0.54-r1.ebuild b/net-irc/irssi-xmpp/irssi-xmpp-0.54-r1.ebuild new file mode 100644 index 000000000000..d025f597df6d --- /dev/null +++ b/net-irc/irssi-xmpp/irssi-xmpp-0.54-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="An irssi plugin providing Jabber/XMPP support" +HOMEPAGE="https://cybione.org/~irssi-xmpp/" +SRC_URI="https://github.com/cdidier/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-musl-build.patch" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-irssi.patch.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="virtual/pkgconfig" +DEPEND=" + net-irc/irssi + net-libs/loudmouth +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${DISTDIR}"/${P}-musl-build.patch + "${WORKDIR}"/${P}-irssi.patch +) + +src_prepare() { + default + + sed -e "s/{MAKE} doc-install/{MAKE}/" \ + -i Makefile || die #322355 +} + +src_compile() { + emake PREFIX=/usr CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${ED}" PREFIX=/usr IRSSI_LIB=/usr/$(get_libdir)/irssi install + dodoc README.md NEWS TODO docs/* +} |