Add net-im/mcabber

Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
Shin'ya Minazuki
2026-04-06 17:46:08 -03:00
parent 536d98d673
commit 92cb43f275
3 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
# Copyright 2026 Shin'ya Minazuki
EAPI=8
DESCRIPTION="A small console-based client for Jabber/XMPP"
HOMEPAGE="https://mcabber.com"
SRC_URI="https://mcabber.com/files/${P}.tar.bz2"
LICENSE="GPL-2+-with-openssl-linking-exception"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aspell debug enchant gpgme otr sigwinch +ssl"
BDEPEND="
virtual/pkgconfig
"
DEPEND="
dev-libs/glib
net-libs/libidn
net-libs/loudmouth
sys-libs/ncurses
aspell? ( app-text/aspell )
enchant? ( app-text/enchant )
gpgme? ( app-crypt/gpgme )
otr? ( net-libs/libotr )
ssl? ( dev-libs/openssl )
"
RDEPEND="${DEPEND}"
src_configure() {
econf \
$(use_enable aspell) \
$(use_enable debug) \
$(use_enable enchant) \
$(use_enable gpgme) \
$(use_enable otr) \
$(use_enable sigwinch) \
$(use_enable ssl)
}
src_install() {
emake DESTDIR="${D}" install
}