Install this version:
emerge -a =dev-libs/libstrophe-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/libstrophe-9999
Or alternatively:
emerge --autounmask-write -a =dev-libs/libstrophe-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0/0.1 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic git-r3
DESCRIPTION="A simple, lightweight C library for writing XMPP clients"
HOMEPAGE="https://strophe.im/libstrophe/"
EGIT_REPO_URI="https://github.com/strophe/${PN}.git"
LICENSE="|| ( MIT GPL-3 )"
# Subslot: ${SONAME}.1 to differentiate from previous versions without SONAME
SLOT="0/0.1"
KEYWORDS=""
IUSE="doc expat gnutls"
RDEPEND="
expat? ( dev-libs/expat )
!expat? ( dev-libs/libxml2:2= )
gnutls? ( net-libs/gnutls:0= )
!gnutls? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
doc? ( app-text/doxygen )
"
DOCS=( ChangeLog )
src_prepare() {
default
# Release tarballs ship a generated configure; the git checkout
# doesn't, so regen the autotools plumbing.
eautoreconf
}
src_configure() {
# bug #944913
append-cflags -std=gnu17
local myeconf=(
--enable-tls
$(use_with !expat libxml2)
$(use_with gnutls)
)
econf "${myeconf[@]}"
}
src_compile() {
default
if use doc; then
doxygen || die
HTML_DOCS=( docs/html/* )
fi
}
src_install() {
default
use doc && dodoc -r examples
find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die
}
Manage flags for this package:
euse -i <flag> -p dev-libs/libstrophe |
euse -E <flag> -p dev-libs/libstrophe |
euse -D <flag> -p dev-libs/libstrophe
expat? ( dev-libs/expat ) !expat? ( dev-libs/libxml2:2= ) gnutls? ( net-libs/gnutls:0= ) !gnutls? ( dev-libs/openssl:0= )
expat? ( dev-libs/expat ) !expat? ( dev-libs/libxml2:2= ) gnutls? ( net-libs/gnutls:0= ) !gnutls? ( dev-libs/openssl:0= )
virtual/pkgconfig doc? ( app-text/doxygen )