gentoo-overlay/net-im/profanity/profanity-9999.ebuild

61 lines
1.3 KiB
Bash
Raw Normal View History

2017-02-27 10:58:44 +00:00
# Copyright 1999-2017 Gentoo Foundation
2016-03-05 10:08:24 +00:00
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
EGIT_REPO_URI="git://github.com/boothj5/profanity.git"
inherit autotools git-2
DESCRIPTION="Ncurses based jabber client inspired by irssi"
HOMEPAGE="http://www.profanity.im/"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS=""
2017-02-27 10:58:44 +00:00
IUSE="gpg -gtk libnotify otr plugins +themes xscreensaver"
2016-03-05 10:08:24 +00:00
RDEPEND=">=dev-libs/glib-2.26:2
|| (
2017-02-27 10:58:44 +00:00
>=dev-libs/libstrophe-0.9.0
>=dev-libs/libmesode-0.9.0
2016-03-05 10:08:24 +00:00
)
net-misc/curl
sys-libs/ncurses
sys-libs/readline
2017-02-27 10:58:44 +00:00
gtk? ( >=x11-libs/gtk+-2.24.10:2 )
gpg? ( app-crypt/gpgme )
2016-03-05 10:08:24 +00:00
otr? ( net-libs/libotr )
2017-02-27 10:58:44 +00:00
plugins? ( dev-lang/python )
2016-03-05 10:08:24 +00:00
xscreensaver? ( x11-libs/libXScrnSaver )
libnotify? ( x11-libs/libnotify )"
2017-02-27 10:58:44 +00:00
DEPEND="${RDEPEND}
sys-devel/autoconf-archive"
2016-03-05 10:08:24 +00:00
S="${WORKDIR}/${P/-/_}"
src_prepare() {
eautoreconf
}
src_configure() {
econf \
2017-02-27 10:58:44 +00:00
$(use_enable gpg pgp) \
$(use_enable gtk icons) \
2016-03-05 10:08:24 +00:00
$(use_enable libnotify notifications) \
$(use_enable otr) \
2017-02-27 10:58:44 +00:00
$(use_enable plugins) \
$(use_enable plugins python-plugins) \
$(use_enable plugins c-plugins) \
2016-03-05 10:08:24 +00:00
$(use_with themes) \
$(use_with xscreensaver)
}
pkg_postinst() {
elog
elog "User guide is available online:"
elog " http://www.profanity.im/userguide.html"
elog
}