net-im/xmppconsole - 9999 (stuff)

Search

Install

Install this version:

emerge -a =net-im/xmppconsole-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-im/xmppconsole-9999

Or alternatively:

emerge --autounmask-write -a =net-im/xmppconsole-9999

Package Information

Description:
A tool for XMPP hackers
Homepage:
https://github.com/xmppo/xmppconsole
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools git-r3

DESCRIPTION="A tool for XMPP hackers"
HOMEPAGE="https://github.com/xmppo/xmppconsole"
EGIT_REPO_URI="https://github.com/xmppo/${PN}.git"

LICENSE="GPL-3+"
SLOT="0"
IUSE="+gtk +ncurses"
REQUIRED_USE="|| ( gtk ncurses )"

RDEPEND="
	>=dev-libs/libstrophe-0.10.0
	gtk? (
		x11-libs/gtk+:3
		|| (
			x11-libs/gtksourceview:4
			x11-libs/gtksourceview:3.0
		)
	)
	ncurses? (
		sys-libs/ncurses:=[unicode(+)]
		sys-libs/readline:=
	)
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default

	# Readline's rl_command_func_t is int(*)(int, int); callbacks declared
	# with () pass under old GCC / pre-C23 but not with GCC 15's default.
	sed -i -E \
		-e 's/^(static int ui_ncurses_(pageup|pagedown|up|down)_cb)\(\)/\1(int count, int key)/' \
		src/ui_ncurses.c || die

	eautoreconf
}

src_configure() {
	econf \
		$(use_enable gtk) \
		$(use_enable ncurses)
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-im/xmppconsole | euse -E <flag> -p net-im/xmppconsole | euse -D <flag> -p net-im/xmppconsole

Global/Standard Flags

gtk
Default: Enabled (+)
ncurses
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/libstrophe-0.10.0
	gtk? (
		x11-libs/gtk+:3
		|| (
			x11-libs/gtksourceview:4
			x11-libs/gtksourceview:3.0
		)
	)
	ncurses? (
		sys-libs/ncurses:=[unicode(+)]
		sys-libs/readline:=
	)

RDEPEND

	>=dev-libs/libstrophe-0.10.0
	gtk? (
		x11-libs/gtk+:3
		|| (
			x11-libs/gtksourceview:4
			x11-libs/gtksourceview:3.0
		)
	)
	ncurses? (
		sys-libs/ncurses:=[unicode(+)]
		sys-libs/readline:=
	)

BDEPEND

virtual/pkgconfig