1 # Copyright 2008 Arne Janbu <arnej@ampheus.de>
2 # Distributed under the terms of the GNU General Public License v2
6 export_exlib_phases src_configure src_install
8 SUMMARY="Quassel is a Qt-4 based IRC-client using a client-server architecture"
9 HOMEPAGE="http://quassel-irc.org/"
14 LANGS="cs da de fr hu nb ru sl tr"
23 linguas: ${LANGS} [[ number-selected = at-least-one ]]"
31 kde? ( >=kde/kdelibs-4.1:4 )
32 phonon? ( media-libs/phonon )
33 webkit? ( x11-libs/qt:4[webkit] )
35 dbus? ( x11-libs/qt:4[dbus] )
42 CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
50 CMAKE_SRC_CONFIGURE_OPTION_WANTS=(
55 quassel_src_configure() {
56 for lang in ${LANGS}; do
57 if optionq linguas:${lang} ; then
58 QUASSELLANGS+="${lang}"
61 CMAKE_SRC_CONFIGURE_PARAMS+=( -DLINGUAS="${QUASSELLANGS}" )
65 quassel_src_install() {
68 if optionq core ; then
69 hereinitd "${FILES}"/quasselcore
70 hereconfd "${FILES}"/quasselcore.conf