| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/net-im/leechcraft-azoth/leechcraft-azoth-0.5.75.ebuild,v 1.1 2012/07/19 19:57:36 maksbotan Exp $
|
| 4 |
|
| 5 |
EAPI="4"
|
| 6 |
|
| 7 |
inherit leechcraft
|
| 8 |
|
| 9 |
DESCRIPTION="Azoth, the modular IM client for LeechCraft."
|
| 10 |
|
| 11 |
SLOT="0"
|
| 12 |
KEYWORDS="~amd64 ~x86"
|
| 13 |
IUSE="debug astrality +acetamide +adiumstyles +autoidler +autopaste +chathistory +crypt
|
| 14 |
+depester +embedmedia +herbicide +hili +isterique +juick +keeso +lastseen
|
| 15 |
+metacontacts media +modnok +nativeemoticons +otroid +p100q +rosenthal
|
| 16 |
+standardstyles +xoox +xtazy +zheet"
|
| 17 |
|
| 18 |
DEPEND="~net-misc/leechcraft-core-${PV}
|
| 19 |
x11-libs/qt-webkit:4
|
| 20 |
x11-libs/qt-multimedia:4
|
| 21 |
autoidler? ( x11-libs/libXScrnSaver )
|
| 22 |
astrality? ( net-libs/telepathy-qt )
|
| 23 |
otroid? ( net-libs/libotr )
|
| 24 |
media? ( x11-libs/qt-multimedia:4 )
|
| 25 |
rosenthal? ( app-text/hunspell )
|
| 26 |
xoox? ( =net-libs/qxmpp-0.3.61*[extras] media-libs/speex )
|
| 27 |
xtazy? ( x11-libs/qt-dbus:4 )
|
| 28 |
crypt? ( app-crypt/qca app-crypt/qca-gnupg )
|
| 29 |
zheet? ( net-libs/libmsn )"
|
| 30 |
RDEPEND="${DEPEND}
|
| 31 |
astrality? (
|
| 32 |
net-im/telepathy-mission-control
|
| 33 |
net-voip/telepathy-haze
|
| 34 |
)
|
| 35 |
modnok? (
|
| 36 |
|| (
|
| 37 |
media-gfx/imagemagick
|
| 38 |
media-gfx/graphicsmagick[imagemagick]
|
| 39 |
)
|
| 40 |
virtual/latex-base
|
| 41 |
)"
|
| 42 |
|
| 43 |
src_configure() {
|
| 44 |
local mycmakeargs="
|
| 45 |
$(cmake-utils_use_enable crypt CRYPT)
|
| 46 |
$(cmake-utils_use_enable acetamide AZOTH_ACETAMIDE)
|
| 47 |
$(cmake-utils_use_enable adiumstyles AZOTH_ADIUMSTYLES)
|
| 48 |
$(cmake-utils_use_enable astrality AZOTH_ASTRALITY)
|
| 49 |
$(cmake-utils_use_enable autoidler AZOTH_AUTOIDLER)
|
| 50 |
$(cmake-utils_use_enable autopaste AZOTH_AUTOPASTE)
|
| 51 |
$(cmake-utils_use_enable chathistory AZOTH_CHATHISTORY)
|
| 52 |
$(cmake-utils_use_enable depester AZOTH_DEPESTER)
|
| 53 |
$(cmake-utils_use_enable embedmedia AZOTH_EMBEDMEDIA)
|
| 54 |
$(cmake-utils_use_enable herbicide AZOTH_HERBICIDE)
|
| 55 |
$(cmake-utils_use_enable hili AZOTH_HILI)
|
| 56 |
$(cmake-utils_use_enable isterique AZOTH_ISTERIQUE)
|
| 57 |
$(cmake-utils_use_enable juick AZOTH_JUICK)
|
| 58 |
$(cmake-utils_use_enable keeso AZOTH_KEESO)
|
| 59 |
$(cmake-utils_use_enable lastseen AZOTH_LASTSEEN)
|
| 60 |
$(cmake-utils_use_enable metacontacts AZOTH_LASTSEEN)
|
| 61 |
$(cmake-utils_use_enable media MEDIACALLS)
|
| 62 |
$(cmake-utils_use_enable modnok AZOTH_MODNOK)
|
| 63 |
$(cmake-utils_use_enable nativeemoticons AZOTH_NATIVEEMOTICONS)
|
| 64 |
$(cmake-utils_use_enable otroid AZOTH_OTROID)
|
| 65 |
$(cmake-utils_use_enable p100q AZOTH_P100Q)
|
| 66 |
$(cmake-utils_use_enable rosenthal AZOTH_ROSENTHAL)
|
| 67 |
$(cmake-utils_use_enable standardstyles AZOTH_STANDARDSTYLES)
|
| 68 |
$(cmake-utils_use_enable xoox AZOTH_XOOX)
|
| 69 |
$(cmake-utils_use_enable xtazy AZOTH_XTAZY)
|
| 70 |
$(cmake-utils_use_enable zheet AZOTH_ZHEET)"
|
| 71 |
|
| 72 |
cmake-utils_src_configure
|
| 73 |
}
|
| 74 |
|
| 75 |
pkg_postinst() {
|
| 76 |
if use rosenthal; then
|
| 77 |
elog "You have enabled the Azoth Rosenthal plugin for"
|
| 78 |
elog "spellchecking. It uses Hunspell/Myspell dictionaries,"
|
| 79 |
elog "so install the ones for languages you use to enable"
|
| 80 |
elog "spellchecking."
|
| 81 |
fi
|
| 82 |
}
|