net-libs/loudmouth - 1.5.4-r1 (gentoo)

Search

Install

Install this version:

emerge -a =net-libs/loudmouth-1.5.4-r1

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

autounmask =net-libs/loudmouth-1.5.4-r1

Or alternatively:

emerge --autounmask-write -a =net-libs/loudmouth-1.5.4-r1

Package Information

Description:
Lightweight & easy-to-use Jabber library written in C
Homepage:
https://mcabber.com
License:
LGPL-2.1

Ebuild Details

Version EAPI Keywords Slot
1.5.4-r1 8 ~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Lightweight & easy-to-use Jabber library written in C"
HOMEPAGE="https://mcabber.com"
SRC_URI="https://mcabber.com/files/${PN}/${P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="asyncns debug +gnutls idn +ssl"

RDEPEND="
	>=dev-libs/glib-2.38
	asyncns? ( >=net-libs/libasyncns-0.3 )
	idn? ( net-dns/libidn:= )
	ssl? (
		gnutls? ( >=net-libs/gnutls-3.0.20:= )
		!gnutls? ( dev-libs/openssl:= )
	)
"
DEPEND="${RDEPEND}"
BDEPEND="
	dev-util/glib-utils
	virtual/pkgconfig
"

PATCHES=( "${FILESDIR}"/${PN}-1.5.4-freeaddrinfo-musl.patch )

src_configure() {
	local SSL=no
	use ssl && SSL=$(usex gnutls gnutls openssl)

	local myeconfargs=(
		--with-compile-warnings=yes # avoid default =error
		--with-ssl=${SSL}
		$(use_enable debug)
		$(use_with asyncns)
		$(use_with idn)
	)

	econf "${myeconfargs[@]}"
}

src_install() {
	default

	find "${ED}" -type f -name '*.la' -delete || die
}

USE Flags

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

Global/Standard Flags

gnutls
Default: Enabled (+)
idn
ssl
Default: Enabled (+)

Dependencies

DEPEND

	>=dev-libs/glib-2.38
	asyncns? ( >=net-libs/libasyncns-0.3 )
	idn? ( net-dns/libidn:= )
	ssl? (
		gnutls? ( >=net-libs/gnutls-3.0.20:= )
		!gnutls? ( dev-libs/openssl:= )
	)

RDEPEND

	>=dev-libs/glib-2.38
	asyncns? ( >=net-libs/libasyncns-0.3 )
	idn? ( net-dns/libidn:= )
	ssl? (
		gnutls? ( >=net-libs/gnutls-3.0.20:= )
		!gnutls? ( dev-libs/openssl:= )
	)

BDEPEND

	dev-util/glib-utils
	virtual/pkgconfig