Magellan Linux

Annotation of /branches/magellan-next/extras/strigi/strigi-0.7.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6845 - (hide annotations) (download)
Wed Sep 22 19:16:15 2010 UTC (13 years, 9 months ago) by niro
File size: 1476 byte(s)
-enabled exiv2 support
1 niro 6840 # $Id: strigi-0.7.2-r1.smage2 4823 2010-02-10 22:05:42Z niro $
2    
3     PNAME="strigi"
4     PVER="0.7.2"
5     PBUILD="r2"
6    
7     PCATEGORIE="app-misc"
8     STATE="unstable"
9    
10     DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI."
11     HOMEPAGE="http://strigi.sourceforge.net/"
12    
13     DEPEND=">= dev-cpp/clucene-0.9.21
14     >= dev-libs/libxml2-2.7
15 niro 6845 >= media-gfx/exiv2-0.20
16 niro 6840 >= sys-apps/dbus-1.3
17     >= virtual/java
18     >= x11-libs/qt4-core-4.7
19     >= x11-libs/qt4-dbus-4.7
20     >= x11-libs/qt4-gui-4.7"
21    
22     SDEPEND=">= virtual/java-jdk"
23    
24     SRCFILE="${PNAME}-${PVER}.tar.bz2"
25     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
26    
27 niro 6841 sminclude qt4 cmake
28 niro 6840
29     # check also http://www.vandenoever.info/software/strigi/
30     SRC_URI=(
31     http://www.vandenoever.info/software/${PNAME}/${SRCFILE}
32     mirror://${PNAME}/${SRCFILE}
33     )
34    
35     UP2DATE="updatecmd http://www.vandenoever.info/software/${PNAME}/ | grep ${PNAME}- | firsttarball"
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     # warn about /proc in chroot environments
42     [[ ! -d /proc/sys ]] && die "Please make sure /proc is mounted in chroot-environments."
43    
44 niro 6842 # build outside of the source dir
45     install -d ${BUILDDIR}/build || die
46     cd ${BUILDDIR}/build
47    
48 niro 6840 # only using libxml2 not expat
49     cmake_configure \
50     -DFORCE_DEPS=ON \
51     $(cmake_disable EXPAT) \
52     $(cmake_disable NEWXESAM) \
53     $(cmake_enable POLLING) \
54     $(cmake_enable CLUCENE) \
55     $(cmake_enable DBUS) \
56     $(cmake_enable INOTIFY) \
57     $(cmake_enable QT4) \
58 niro 6845 $(cmake_enable EXIV2) \
59 niro 6840 $(cmake_disable HYPERESTRAIER) \
60     $(cmake_disable CPPUNIT) \
61     || die
62    
63     mmake || die
64     }