Annotation of /trunk/todo/soprano/soprano-2.9.4-r3.smage2
Parent Directory | Revision Log
Revision 27939 -
(hide annotations)
(download)
Wed Apr 6 11:18:29 2016 UTC (8 years, 5 months ago) by niro
File size: 1403 byte(s)
Wed Apr 6 11:18:29 2016 UTC (8 years, 5 months ago) by niro
File size: 1403 byte(s)
-moved to 'todo'
1 | niro | 26708 | # $Id$ |
2 | |||
3 | PNAME="soprano" | ||
4 | PVER="2.9.4" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCAT="dev-libs" | ||
8 | |||
9 | DESCRIPTION="Soprano is an open and pluggable RDF resource framework which is build on top of QT4." | ||
10 | HOMEPAGE="http://soprano.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= dev-libs/redland-1.0.17 | ||
13 | >= dev-libs/libpcre-8.33 | ||
14 | >= media-libs/raptor-2 | ||
15 | >= virtual/java | ||
16 | >= dev-db/libiodbc-3.52 | ||
17 | >= dev-db/virtuoso-6.1 | ||
18 | >= x11-libs/qt4-core-4.8 | ||
19 | >= x11-libs/qt4-dbus-4.8" | ||
20 | |||
21 | SRCFILE="${PNAME}-${PVER%_*}.tar.bz2" | ||
22 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER%_*}" | ||
23 | |||
24 | sminclude cmake qt4 | ||
25 | msetfeature "!check" # no check target | ||
26 | |||
27 | SRC_URI=( | ||
28 | sourceforge://${PNAME}/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2TARBALL="${PNAME}" | ||
33 | UP2DATE="updatecmd_sourceforge ${PNAME} Soprano" | ||
34 | |||
35 | src_prepare() | ||
36 | { | ||
37 | munpack ${SRCFILE} || die | ||
38 | cd ${SRCDIR} | ||
39 | |||
40 | # disable doxygen docs | ||
41 | sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die | ||
42 | |||
43 | # disable tests | ||
44 | sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \ | ||
45 | -e '/enable_testing/s/^/#DONOTENABLE /' \ | ||
46 | -i CMakeLists.txt || die | ||
47 | } | ||
48 | |||
49 | src_compile() | ||
50 | { | ||
51 | cd ${SRCDIR} | ||
52 | |||
53 | # build outside of the source dir | ||
54 | install -d ${BUILDDIR}/build || die | ||
55 | cd ${BUILDDIR}/build | ||
56 | |||
57 | # disable deprecated clucene support, use full virtuoso support instead | ||
58 | # see: http://trueg.wordpress.com/2011/09/22/about-strigi-soprano-virtuoso-clucene-and-libstreamanalyzer/ | ||
59 | cmake_configure $(cmake_opt SOPRANO_DISABLE_CLUCENE_INDEX ON) || die | ||
60 | mmake || die | ||
61 | } |