diff options
Diffstat (limited to 'staging')
-rw-r--r-- | staging/calligra/PKGBUILD | 4 | ||||
-rw-r--r-- | staging/strigi/PKGBUILD | 57 | ||||
-rw-r--r-- | staging/strigi/gcc47.patch | 22 |
3 files changed, 81 insertions, 2 deletions
diff --git a/staging/calligra/PKGBUILD b/staging/calligra/PKGBUILD index eeb19e7e9..7896dd997 100644 --- a/staging/calligra/PKGBUILD +++ b/staging/calligra/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 164251 2012-07-28 10:50:36Z andrea $ +# $Id: PKGBUILD 164315 2012-07-30 08:10:34Z andrea $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Maintainer: Andrea Scarpino <andrea@archlinux.org> @@ -23,7 +23,7 @@ pkgname=('calligra-filters' 'calligra-braindump' 'calligra-flow') pkgver=2.4.3 -pkgrel=2 +pkgrel=3 arch=('i686' 'x86_64') url='http://www.calligra-suite.org/' license=('FDL1.2' 'GPL2' 'LGPL') 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 <andrea@archlinux.org> +# Contributor: Tobias Powalowski <tpowa@archlinux.org> + +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 +} diff --git a/staging/strigi/gcc47.patch b/staging/strigi/gcc47.patch new file mode 100644 index 000000000..d99582563 --- /dev/null +++ b/staging/strigi/gcc47.patch @@ -0,0 +1,22 @@ +From: Rex Dieter <rdieter@fedoraproject.org> +Date: Mon, 09 Jan 2012 17:13:25 +0000 +Subject: gcc47 fix, unistd.h header required unconditionally for 'sleep' +X-Git-Url: http://quickgit.kde.org/?p=strigidaemon.git&a=commitdiff&h=a8e97f672325557b3fbc84b987299350ec5ac10b +--- +gcc47 fix, unistd.h header required unconditionally for 'sleep' +--- + + +--- a/bin/daemon/eventlistener/eventlistenerqueue.cpp ++++ b/bin/daemon/eventlistener/eventlistenerqueue.cpp +@@ -27,9 +27,7 @@ + #include <iostream> + #include <stdio.h> + +-#if defined(__SUNPRO_CC) + #include <unistd.h> +-#endif + + using namespace std; + + |