summaryrefslogtreecommitdiffstats
path: root/strigi/Pkgfile
blob: dfdcf4294df81e5212a405dc8405aa6aeb22ae81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Description: Outil de recherche pour bureau kde
# URL: http://strigi.sourceforge.net
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: curl, cmake, clucene, qt, xerces-c, exiv2, gamin, ffmpeg, boost
# Run on: curl,clucene,qt,xerces-c,exiv2,gamin,boost

name=strigi
version=0.7.7
release=2
source=(http://cdn.debian.net/debian/pool/main/s/$name/${name}_$version.orig.tar.bz2
	strigi-0.7.7-ffmpeg-0.11.patch
	strigi-0.7.7-glibc-2.15.patch
	strigi-0.7.7-missinglink.patch)

build() {
	cd $name-$version
	patch -p1 < ../strigi-0.7.7-ffmpeg-0.11.patch
	patch -p1 < ../strigi-0.7.7-glibc-2.15.patch
	patch -p1 < ../strigi-0.7.7-missinglink.patch
	mkdir build
	cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DENABLE_FAM=ON \
		-DENABLE_INOTIFY=ON \
		-DENABLE_LOG4CXX=OFF \
		-DENABLE_FFMPEG=ON
	make
	make DESTDIR=$PKG install
}