summaryrefslogtreecommitdiff
path: root/extra/strigi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
committerroot <root@rshg054.dnsready.net>2013-06-04 00:27:56 -0700
commitcc57cb201ddb179d2bb481c13dd4f286ae643b12 (patch)
tree7932470d6b8a193c032f1012a7996cc78ea52201 /extra/strigi
parent1f86bf1b08cb980cea57c1d4d3187e2251f5a63b (diff)
Tue Jun 4 00:27:56 PDT 2013
Diffstat (limited to 'extra/strigi')
-rw-r--r--extra/strigi/PKGBUILD37
-rw-r--r--extra/strigi/gcc48.patch12
2 files changed, 27 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
}
diff --git a/extra/strigi/gcc48.patch b/extra/strigi/gcc48.patch
new file mode 100644
index 000000000..ed60e4fbb
--- /dev/null
+++ b/extra/strigi/gcc48.patch
@@ -0,0 +1,12 @@
+--- a/include/strigi/bufferedstream.h
++++ b/include/strigi/bufferedstream.h
+@@ -34,7 +34,7 @@
+ * BufferedStream will do the rest.
+ */
+ template <class T>
+-class BufferedStream : public StreamBase<T> {
++class STREAMS_EXPORT BufferedStream : public StreamBase<T> {
+ private:
+ StreamBuffer<T> buffer;
+ bool finishedWritingToBuffer;
+