summaryrefslogtreecommitdiff
path: root/app-misc/strigi/strigi-0.6.9999.ebuild
diff options
context:
space:
mode:
authorTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-26 15:21:22 +0100
committerTomas Chvatal (scarabeus) <tomas.chvatal@gmail.com>2008-10-26 15:21:22 +0100
commit03981f82e3be667fb192dd091763b7ad64bae0cc (patch)
treee7488e10cb9bfcd257d1ef4ec4f3284c49a19de5 /app-misc/strigi/strigi-0.6.9999.ebuild
parentcb1232f32dea8c9fd16243f38f364015772678a1 (diff)
downloadkde-03981f82e3be667fb192dd091763b7ad64bae0cc.tar.gz
kde-03981f82e3be667fb192dd091763b7ad64bae0cc.tar.bz2
kde-03981f82e3be667fb192dd091763b7ad64bae0cc.zip
Revert overlay to state before destroying stuff pass 1. Note all users whom wants kde-live and kde-snapshots please checkout kde-crazy overlay.
Diffstat (limited to 'app-misc/strigi/strigi-0.6.9999.ebuild')
-rw-r--r--app-misc/strigi/strigi-0.6.9999.ebuild95
1 files changed, 0 insertions, 95 deletions
diff --git a/app-misc/strigi/strigi-0.6.9999.ebuild b/app-misc/strigi/strigi-0.6.9999.ebuild
deleted file mode 100644
index bf1b94fd3af..00000000000
--- a/app-misc/strigi/strigi-0.6.9999.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="2"
-
-inherit cmake-utils eutils subversion
-
-DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
-HOMEPAGE="http://www.vandenoever.info/software/strigi"
-ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/kdesupport/${PN}"
-ESVN_PROJECT="${PN}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+clucene +dbus debug exif fam hyperestraier inotify log +qt4 test"
-# IUSE="sqlite": fails to compile
-
-COMMONDEPEND="
- dev-libs/libxml2
- virtual/libiconv
- clucene? ( >=dev-cpp/clucene-0.9.19 )
- dbus? ( sys-apps/dbus
- || ( ( x11-libs/qt-dbus:4
- x11-libs/qt-gui:4 )
- =x11-libs/qt-4.3*:4[dbus] )
- )
- exif? ( media-gfx/exiv2 )
- fam? ( virtual/fam )
- hyperestraier? ( app-text/hyperestraier )
- log? ( >=dev-libs/log4cxx-0.9.7 )
- qt4? (
- || ( ( x11-libs/qt-core:4
- x11-libs/qt-gui:4
- x11-libs/qt-dbus:4 )
- =x11-libs/qt-4.3*:4[dbus] )
- )
- !clucene? (
- !hyperestraier? (
- >=dev-cpp/clucene-0.9.19
- )
- )
-"
-# sqlite? ( dev-db/sqlite:3 )"
-DEPEND="${COMMONDEPEND}
- test? ( dev-util/cppunit )"
-RDEPEND="${COMMONDEPEND}"
-
-src_compile() {
- # Strigi needs either expat or libxml2.
- # However libxml2 seems to be required in both cases, linking to 2 xml parsers
- # is just silly, so we forcefully disable linking to expat.
- # Enabled: POLLING (only reliable way to check for files changed.)
-
- mycmakeargs="${mycmakeargs}
- -DENABLE_EXPAT=OFF -DENABLE_POLLING=ON
- -DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF
- -DENABLE_REGENERATEXSD=OFF
- $(cmake-utils_use_enable clucene CLUCENE)
- $(cmake-utils_use_enable dbus DBUS)
- $(cmake-utils_use_enable exif EXIV2)
- $(cmake-utils_use_enable fam FAM)
- $(cmake-utils_use_enable hyperestraier HYPERESTRAIER)
- $(cmake-utils_use_enable inotify INOTIFY)
- $(cmake-utils_use_enable log LOG4CXX)
- $(cmake-utils_use_enable qt4 DBUS)
- $(cmake-utils_use_enable qt4 QT4)"
-# $(cmake-utils_use_enable sqlite SQLITE)"
-
- if ! use clucene && ! use hyperestraier; then # && ! use sqlite; then
- mycmakeargs="${mycmakeargs} -DENABLE_CLUCENE=ON"
- fi
-
- cmake-utils_src_compile
-}
-
-src_test() {
- mycmakeargs="${mycmakeargs} -DENABLE_CPPUNIT=ON"
- cmake-utils_src_compile
-
- pushd "${WORKDIR}/${PN}_build"
- ctest --extra-verbose || die "Tests failed."
- popd
-}
-
-pkg_postinst() {
- if ! use clucene && ! use hyperestraier; then # && ! use sqlite; then
- elog "Because you didn't enable any of the supported backends:"
- elog "clucene, hyperestraier and sqlite"
- elog "clucene support was silently installed."
- elog "If you prefer another backend, be sure to reinstall strigi"
- elog "and to enable that backend use flag"
- fi
-}