45 lines
837 B
Bash
45 lines
837 B
Bash
# 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
|
|
}
|