summaryrefslogtreecommitdiff
path: root/extra/strigi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/strigi/PKGBUILD')
-rw-r--r--extra/strigi/PKGBUILD37
1 files changed, 15 insertions, 22 deletions
diff --git a/extra/strigi/PKGBUILD b/extra/strigi/PKGBUILD
index a31369dd9..fe22ae96f 100644
--- a/extra/strigi/PKGBUILD
+++ b/extra/strigi/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 178998 2013-03-01 10:25:57Z andrea $
+# $Id: PKGBUILD 187012 2013-06-03 08:51:25Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=strigi
pkgver=0.7.8
-pkgrel=2
+pkgrel=3
pkgdesc="Fast crawling desktop search engine with Qt GUI"
arch=('i686' 'x86_64')
url='http://strigi.sourceforge.net/'
license=('GPL2')
-depends=('exiv2' 'libxml2' 'boost-libs' 'qt4')
+depends=('dbus' 'exiv2' 'libxml2' 'boost-libs')
makedepends=('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")
-md5sums=('d69443234f4286d71997db9de543331a')
+source=("http://www.vandenoever.info/software/${pkgname}/${pkgname}-${pkgver}.tar.bz2"
+ 'gcc48.patch')
+md5sums=('d69443234f4286d71997db9de543331a'
+ 'd48d65014650644ba61821813101c2f4')
-build() {
- . /etc/profile.d/qt4.sh
+prepare() {
+ cd ${pkgname}-${pkgver}/libstreams
+ patch -p1 -i "${srcdir}"/gcc48.patch
+}
+build() {
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
@@ -31,24 +36,12 @@ build() {
-DENABLE_FAM=OFF \
-DENABLE_CLUCENE=OFF \
-DENABLE_CLUCENE_NG=OFF \
- -DENABLE_FFMPEG=OFF
+ -DENABLE_FFMPEG=OFF \
+ -DENABLE_QT4=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
+ cd build
make DESTDIR="${pkgdir}" install
- popd
}