# # Chakra Packages for Chakra, part of chakra-project.org # # Maintainer: Fabian Kosmale <0inkane@googlemail.com> # Contributor: Giuseppe CalĂ  # Contributor: alejandronova pkgname=strigi pkgver=0.7.8 pkgrel=1 pkgdesc="Fast crawling desktop search engine with Qt4 GUI" arch=('x86_64') url="http://www.vandenoever.info/software/strigi/" license=('GPL2') depends=('bzip2' 'exiv2' 'libxml2' 'boost-libs' 'ffmpeg') makedepends=('qt' 'cmake' 'pkgconfig' 'boost') provides=('strigi-git') replaces=('strigi-git') conflicts=('strigi-git') source=("http://www.vandenoever.info/software/${pkgname}/${pkgname}-${pkgver}.tar.bz2" "gcc48.patch") md5sums=('d69443234f4286d71997db9de543331a' 'd48d65014650644ba61821813101c2f4') build() { rm -rf build mkdir build pushd ${pkgname}-${pkgver}/libstreams patch -p1 -i "${srcdir}"/gcc48.patch popd cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_INOTIFY=ON \ -DCMAKE_INSTALL_LIBDIR=lib \ -DENABLE_LOG4CXX=OFF \ -DENABLE_FAM=OFF \ -DENABLE_CLUCENE=OFF \ -DENABLE_CLUCENE_NG=OFF \ -DENABLE_FFMPEG=ON \ -DFORCE_DEPS=ON make } package() { cd build/ make DESTDIR="${pkgdir}" install }