# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="2" inherit cmake-utils DESCRIPTION="Integrated Communication Environment Which Is Not Gesten" HOMEPAGE="http://icewing.sf.net" SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" # need to add xcf, dacs, mvimpact as use-flags (and packages) IUSE="debug ffmpeg +grabber ieee1394 jpeg png readline +unicap" DEPEND="ieee1394? ( sys-libs/libraw1394 media-libs/libdc1394:2 ) ffmpeg? ( media-video/ffmpeg ) jpeg? ( media-libs/jpeg ) png? ( media-libs/libpng ) unicap? ( media-libs/unicap ) readline? ( sys-libs/readline ) sys-libs/zlib x11-libs/gtk+:2[jpeg?]" RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=" -DDEBUG:BOOL=$(use debug && echo ON || echo OFF) $(cmake-utils_use_with ffmpeg FFMPEG) $(cmake-utils_use_with grabber GRABBER) $(cmake-utils_use_with ieee1394 FIRE2) $(cmake-utils_use_with jpeg JPEG) $(cmake-utils_use_with png PNG) $(cmake-utils_use_with readline READLINE) $(cmake-utils_use_with unicap UNICAP) -DWITH_GTK1=OFF -DWITH_DACS=OFF -DWITH_MVIMPACT=OFF -DWITH_XCF=OFF" einfo "configure arguments: $mycmakeargs" cmake-utils_src_configure } pkg_postinst() { elog "Plugins are now compiled into the icewing executable." elog "Issue 'icewing --help' for a list of available plugins." }