# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.5.9.ebuild,v 1.6 2008/09/07 19:45:20 cryos Exp $ EAPI="1" inherit eutils cmake-utils DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" HOMEPAGE="http://www.vandenoever.info/software/strigi" SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+clucene +dbus debug +exiv2 fam hyperestraier inotify +qt4 test" # log strigi RESTRICT="test" COMMONDEPEND=" dev-libs/libxml2 virtual/libiconv clucene? ( >=dev-cpp/clucene-0.9.16a ) dbus? ( sys-apps/dbus || ( ( x11-libs/qt-dbus:4 x11-libs/qt-gui:4 ) =x11-libs/qt-4.3*:4 ) ) exiv2? ( media-gfx/exiv2 ) fam? ( virtual/fam ) hyperestraier? ( app-text/hyperestraier ) qt4? ( || ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 ) =x11-libs/qt-4.3*:4 ) )" # log? ( >=dev-libs/log4cxx-0.9.7 ) # sqlite? ( dev-db/sqlite:3 )" DEPEND="${COMMONDEPEND} test? ( dev-util/cppunit )" RDEPEND="${COMMONDEPEND}" pkg_setup() { if ! use clucene && ! use hyperestraier; then # && ! use sqlite; then ewarn "It's highly recommended to enable one of the supported backends:" ewarn "clucene, hyperestraier and sqlite" ewarn "Clucene is currently the recommended backend." ewarn "Without a backend you'll only be able to use deepgrep." fi if use dbus && use qt4; then if ( has_version "