From 20c868d864d90beed449d9ef5dafe73e2ce53032 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Thu, 8 Feb 2007 13:16:12 +0000 Subject: [PATCH] New strigi-release --- dev-cpp/clucene/files/digest-clucene-0.9.10 | 3 - kde-misc/strigi/Manifest | 8 ++ kde-misc/strigi/files/digest-strigi-0.3.11 | 3 + kde-misc/strigi/strigi-0.3.11.ebuild | 92 +++++++++++++++++++ kde-misc/strigiapplet/Manifest | 8 ++ .../files/digest-strigiapplet-0.3.11 | 3 + .../files/digest-strigiapplet-0.3.8 | 3 + .../strigiapplet/strigiapplet-0.3.11.ebuild | 31 +++++++ 8 files changed, 148 insertions(+), 3 deletions(-) delete mode 100644 dev-cpp/clucene/files/digest-clucene-0.9.10 create mode 100644 kde-misc/strigi/Manifest create mode 100644 kde-misc/strigi/files/digest-strigi-0.3.11 create mode 100644 kde-misc/strigi/strigi-0.3.11.ebuild create mode 100644 kde-misc/strigiapplet/Manifest create mode 100644 kde-misc/strigiapplet/files/digest-strigiapplet-0.3.11 create mode 100644 kde-misc/strigiapplet/files/digest-strigiapplet-0.3.8 create mode 100644 kde-misc/strigiapplet/strigiapplet-0.3.11.ebuild diff --git a/dev-cpp/clucene/files/digest-clucene-0.9.10 b/dev-cpp/clucene/files/digest-clucene-0.9.10 deleted file mode 100644 index 652ca8a..0000000 --- a/dev-cpp/clucene/files/digest-clucene-0.9.10 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 1401b73a17ae098ab1d67a9ae36a4397 clucene-0.9.10.tar.gz 1833764 -RMD160 5b2a319494c34a65f4fb4ee35228d1a536db1f5a clucene-0.9.10.tar.gz 1833764 -SHA256 85fcc9f3ddf2135254f5a915b6b7534cd1c3e14ee0496e3177f1256c6235fc92 clucene-0.9.10.tar.gz 1833764 diff --git a/kde-misc/strigi/Manifest b/kde-misc/strigi/Manifest new file mode 100644 index 0000000..059b338 --- /dev/null +++ b/kde-misc/strigi/Manifest @@ -0,0 +1,8 @@ +DIST strigi-0.3.11.tar.bz2 577628 RMD160 c0993c2c67672e560308d4beb790099dbf0aa519 SHA1 e53d06ac706e630f01b3ccc47ca97150a1224ecf SHA256 c8914210fa940f918c3a9ea2c29ea4671bdb2522aa3cb4fa74d31a3988ca1531 +EBUILD strigi-0.3.11.ebuild 2536 RMD160 9a8b3199429fbeb6760a54b68ed0c09bc258f29e SHA1 d375773c06c70dade8b819667297aa8f4aa0920c SHA256 d370d7f618c1d6b830ee551144375b4b7d715cdafa6872314de9f27c094f5b50 +MD5 8b79b8f25407d2023eec1986d48dcb72 strigi-0.3.11.ebuild 2536 +RMD160 9a8b3199429fbeb6760a54b68ed0c09bc258f29e strigi-0.3.11.ebuild 2536 +SHA256 d370d7f618c1d6b830ee551144375b4b7d715cdafa6872314de9f27c094f5b50 strigi-0.3.11.ebuild 2536 +MD5 885c8609fcc0b80ab1012991059619c4 files/digest-strigi-0.3.11 244 +RMD160 a43dfc082114c62b077fa575faa41fafa825595a files/digest-strigi-0.3.11 244 +SHA256 380750bb48e87eca65134ef7a189e9393e348dd5378cff1e7145ecdbab23b630 files/digest-strigi-0.3.11 244 diff --git a/kde-misc/strigi/files/digest-strigi-0.3.11 b/kde-misc/strigi/files/digest-strigi-0.3.11 new file mode 100644 index 0000000..978e555 --- /dev/null +++ b/kde-misc/strigi/files/digest-strigi-0.3.11 @@ -0,0 +1,3 @@ +MD5 6f9877b4120c1f6980eefc666fdd14a8 strigi-0.3.11.tar.bz2 577628 +RMD160 c0993c2c67672e560308d4beb790099dbf0aa519 strigi-0.3.11.tar.bz2 577628 +SHA256 c8914210fa940f918c3a9ea2c29ea4671bdb2522aa3cb4fa74d31a3988ca1531 strigi-0.3.11.tar.bz2 577628 diff --git a/kde-misc/strigi/strigi-0.3.11.ebuild b/kde-misc/strigi/strigi-0.3.11.ebuild new file mode 100644 index 0000000..e354655 --- /dev/null +++ b/kde-misc/strigi/strigi-0.3.11.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit eutils multilib + +DESCRIPTION="Fast crawling Desktop-Searchengine with (optional) 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 ~ppc ~x86" +IUSE="xercesc clucene hyperestraier sqlite3 xml xattr qt4 log dbus inotify" + +DEPEND=" + >=dev-util/cmake-2.4.2 + >=sys-libs/zlib-1.2.3 + >=app-arch/bzip2-1.0.3 + dev-libs/openssl + virtual/libiconv + dev-libs/expat + xercesc? ( >=dev-libs/xerces-c ) + clucene? ( >=dev-cpp/clucene-0.9.16 ) + hyperestraier? ( app-text/hyperestraier ) + sqlite3? ( =dev-db/sqlite-3* ) + xml? ( dev-libs/libxml2 ) + xattr? ( sys-apps/attr ) + qt4? ( >=x11-libs/qt-4.2.1-r1 ) + log? ( >=dev-libs/log4cxx-0.9.7 ) + dbus? ( sys-apps/dbus )" + # For most optional dependancies the use flags will be ignored, + # useage will be determined by the pressence of the library instead. + # This is a problem with the upstream build file. + +pkg_setup() { + + if !(use clucene) && !(use hyperestraier) && !(use sqlite3) ; then + echo "" + echo "ERROR:" + eerror "You must enable one of the supported backends: " + eerror "clucene, hyperestraier and sqlite3" + eerror "If you are unsure, select cluencene" + echo "" + die + fi + + if use dbus && use qt4 && !(built_with_use ">=x11-libs/qt-4.2.0" dbus); then + echo "" + echo "ERROR:" + eerror "You are building Stingi with qt4 and dbus, but qt4 wasn't built with dbus." + eerror "Please reemerge qt4 with dbus, or disable dbus in Stingi." + echo "" + die + fi + + if use qt4 && !(use dbus); then + echo "" + echo "WARNING:" + ewarn "You are building Stingi with qt4 but without dbus." + ewarn "Strigiclient won't be able to detect a running Strigi daemon." + ewarn "To avoid this, please enable both qt4 and dbus." + echo "" + fi + + # inotify still in development and unstable + if use inotify; then + echo "" + echo "WARNING:" + ewarn "Inotify support in stingi is still unstable" + ewarn "If you get problems, please rebuild stringi without inotify" + echo "" + fi +} + +src_compile() { + cmake \ + -DENABLE_INOTIFY:BOOL=$( use inotify && echo ON || echo OFF ) \ + -DENABLE_DBUS:BOOL=$( use dbus && echo ON || echo OFF ) \ + -DENABLE_LOG4CXX:BOOL=$( use log && echo ON || echo OFF ) \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DLIB_DESTINATION:PATH=$(get_libdir) \ + . || die + + emake || die +} + +src_install() { + emake install DESTDIR=${D} || die +} + diff --git a/kde-misc/strigiapplet/Manifest b/kde-misc/strigiapplet/Manifest new file mode 100644 index 0000000..d28c53b --- /dev/null +++ b/kde-misc/strigiapplet/Manifest @@ -0,0 +1,8 @@ +DIST strigiapplet-0.3.11.tar.bz2 27835 RMD160 01c2a762557c158441dacd0d4ba389c6edaee2ab SHA1 a5e2010fe7538414420893da42c9616ca1aca390 SHA256 b19284b22a521aa6a6f92a9b1c134f9ddfc848832ee4d43e287e425b6dd338b2 +EBUILD strigiapplet-0.3.11.ebuild 568 RMD160 949f63b628ecd478ad81b3de2cd79bdc170979a8 SHA1 772f874adec452736afba054720c83a0b7521255 SHA256 42566342e5960cdfc046326c1d389e6b44d2e74f4986af64675b44abdb525530 +MD5 aa584f4c8ccbf8ff05aa53217939cdf8 strigiapplet-0.3.11.ebuild 568 +RMD160 949f63b628ecd478ad81b3de2cd79bdc170979a8 strigiapplet-0.3.11.ebuild 568 +SHA256 42566342e5960cdfc046326c1d389e6b44d2e74f4986af64675b44abdb525530 strigiapplet-0.3.11.ebuild 568 +MD5 80c05a6a622d75bf379b1db9ebf913b3 files/digest-strigiapplet-0.3.11 259 +RMD160 9b1b056c3007ce2772be495f2a303ed248947e9f files/digest-strigiapplet-0.3.11 259 +SHA256 1bf40a35827434dc75b66570f311c42f3705410a30d5a05f3d4e5dedaae9b883 files/digest-strigiapplet-0.3.11 259 diff --git a/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.11 b/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.11 new file mode 100644 index 0000000..31e9954 --- /dev/null +++ b/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.11 @@ -0,0 +1,3 @@ +MD5 482998b02bd81bee5550d4da1cf21038 strigiapplet-0.3.11.tar.bz2 27835 +RMD160 01c2a762557c158441dacd0d4ba389c6edaee2ab strigiapplet-0.3.11.tar.bz2 27835 +SHA256 b19284b22a521aa6a6f92a9b1c134f9ddfc848832ee4d43e287e425b6dd338b2 strigiapplet-0.3.11.tar.bz2 27835 diff --git a/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.8 b/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.8 new file mode 100644 index 0000000..29a4f84 --- /dev/null +++ b/kde-misc/strigiapplet/files/digest-strigiapplet-0.3.8 @@ -0,0 +1,3 @@ +MD5 1de4285e955cc72351f75e45610491ce strigiapplet-0.3.8.tar.bz2 26711 +RMD160 153632649d98b9d5e7a0f7c4e334d6f5393d36ec strigiapplet-0.3.8.tar.bz2 26711 +SHA256 86667509fd18b37e6202f253b90d76bba8dbd1b79c0941a3659ca32b8ddfd2a1 strigiapplet-0.3.8.tar.bz2 26711 diff --git a/kde-misc/strigiapplet/strigiapplet-0.3.11.ebuild b/kde-misc/strigiapplet/strigiapplet-0.3.11.ebuild new file mode 100644 index 0000000..f0ae878 --- /dev/null +++ b/kde-misc/strigiapplet/strigiapplet-0.3.11.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: + +inherit kde + +DESCRIPTION="Desktop Search engine with QT4 GUI" +HOMEPAGE="http://www.vandenoever.info/software/strigi" +SRC_URI="http://www.vandenoever.info/software/strigi/${P}.tar.bz2" + +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="~kde-misc/strigi-${PV}" + +need-kde 3.3 + +src_compile() { + cd ${S} + cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . || die + + emake || die +} + +src_install() { + cd ${S} + emake install DESTDIR=${D} || die +}