From a71961a43ef48f47d3575915f63099308a18a263 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Aug 2012 00:01:57 +0000 Subject: Wed Aug 1 00:01:57 UTC 2012 --- staging/strigi/PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 staging/strigi/PKGBUILD (limited to 'staging/strigi/PKGBUILD') diff --git a/staging/strigi/PKGBUILD b/staging/strigi/PKGBUILD new file mode 100644 index 000000000..4ae50fa57 --- /dev/null +++ b/staging/strigi/PKGBUILD @@ -0,0 +1,57 @@ +# $Id: PKGBUILD 164313 2012-07-30 07:25:13Z andrea $ +# Maintainer: Andrea Scarpino +# Contributor: Tobias Powalowski + +pkgname=strigi +pkgver=0.7.7 +pkgrel=2 +pkgdesc="Fast crawling desktop search engine with Qt4 GUI" +arch=('i686' 'x86_64') +url='http://strigi.sourceforge.net/' +license=('GPL2') +depends=('exiv2' 'libxml2' 'boost-libs') +makedepends=('qt' 'cmake' 'pkg-config' 'boost') +optdepends=('kdegraphics-strigi-analyzer: strigi analyzers for various graphics file' + 'kdesdk-strigi-analyzer: strigi analyzer for KDE SDK') +#source=("http://www.vandenoever.info/software/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +source=("ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'gcc47.patch') +md5sums=('ca0a0fd5c2b99879f6330837aeede996' + '1acb9b31a4859dc427fc4d387fd8aa2f') + +build() { + pushd ${pkgname}-${pkgver}/strigidaemon + patch -p1 -i "${srcdir}"/gcc47.patch + popd + + mkdir build + cd build + cmake ../${pkgname}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DENABLE_INOTIFY=ON \ + -DENABLE_LOG4CXX=OFF \ + -DENABLE_FAM=OFF \ + -DENABLE_CLUCENE=OFF \ + -DENABLE_CLUCENE_NG=OFF \ + -DENABLE_FFMPEG=OFF + make +} + +package() { + pushd build/libstreams + make DESTDIR="${pkgdir}" install + popd + + pushd build/libstreamanalyzer + make DESTDIR="${pkgdir}" install + popd + + pushd build/strigiclient/lib/searchclient/qtdbus + make DESTDIR="${pkgdir}" install + popd + + pushd build/strigiutils + make DESTDIR="${pkgdir}" install + popd +} -- cgit v1.2.3-54-g00ecf