# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: blah EAPI="2" cvs="" case "${PV}" in 9999*) cvs=cvs ECVS_SERVER="${PN}.cvs.sourceforge.net:/cvsroot/${PN}" ECVS_MODULE="${PN}" ECVS_USER="anonymous" ECVS_PASS="" ;; *_pre*) SRC_URI="mirror://sourceforge/openh323gk/${PN}-${PV#*_pre}.tar.gz?download -> ${P}.tar.gz" ;; *) SRC_URI="http://www.h323plus.org/source/download/${P}.tar.gz" ;; esac inherit flag-o-matic eutils autotools multilib ${cvs} DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol, new fork" HOMEPAGE="http://www.h323plus.org/" LICENSE="MPL-1.1" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="debug ssl ffmpeg local +full embedded" DEPEND="ffmpeg? ( media-video/ffmpeg[encode] ) ssl? ( dev-libs/openssl ) !local? ( media-sound/gsm >=media-libs/speex-1.2_beta dev-libs/ilbc-rfc3951 ) !net-libs/openh323 " if [[ "${PV}" > 1.21.0 ]]; then DEPEND+="|| ( net-libs/ptlib-2.8[snmp] ) x264? ( media-video/ffmpeg media-libs/x264 ) celt? ( >=media-libs/celt-0.5.0 ) sbc? ( media-libs/libsamplerate )" # capi? ( net-dialup/capi4k-utils ) # ixj? ( sys-kernel/linux-headers ) # fax? ( media-libs/spandsp ) # theora? ( media-libs/libtheora ) IUSE+=" x264 celt sbc" # theora fax ixj capi vpb else DEPEND+="