mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 00:54:37 +08:00
strigi removed
This commit is contained in:
parent
da60512b2c
commit
d6091b1cdc
@ -1,46 +0,0 @@
|
||||
# Maintainer: Fabian Kosmale <0inkane@googlemail.com>
|
||||
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# Contributor: alejandronova
|
||||
|
||||
pkgname=strigi
|
||||
pkgver=0.7.8
|
||||
pkgrel=7
|
||||
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
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
--- 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;
|
||||
|
@ -1,13 +0,0 @@
|
||||
post_install() {
|
||||
if grep -q "fs.inotify.max_user_watches = 524288" "/etc/sysctl.conf" ; then
|
||||
echo "nepomuk optimization found"
|
||||
else
|
||||
echo "fs.inotify.max_user_watches = 524288" >> /etc/sysctl.conf
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
post_upgrade() {
|
||||
post_install $1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user