# $Id$ PNAME="soprano" PVER="2.9.4" PBUILD="r2" PCAT="dev-libs" DESCRIPTION="Soprano is an open and pluggable RDF resource framework which is build on top of QT4." HOMEPAGE="http://soprano.sourceforge.net/" DEPEND=">= dev-libs/redland-1.0.17 >= dev-libs/libpcre-8.33 >= media-libs/raptor-2 >= virtual/java >= dev-db/libiodbc-3.52 >= dev-db/virtuoso-6.1 >= x11-libs/qt4-core-4.8 >= x11-libs/qt4-dbus-4.8" SRCFILE="${PNAME}-${PVER%_*}.tar.bz2" SRCDIR="${BUILDDIR}/${PNAME}-${PVER%_*}" sminclude cmake qt4 msetfeature "!check" # no check target SRC_URI=( sourceforge://${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2TARBALL="${PNAME}" UP2DATE="updatecmd_sourceforge ${PNAME} Soprano" src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # disable doxygen docs sed -i '/find_package(Doxygen)/s/^/#DONOTFIND /' CMakeLists.txt || die # disable tests sed -i -e '/add_subdirectory(test)/s/^/#DONOTCOMPILE /' \ -e '/enable_testing/s/^/#DONOTENABLE /' \ -i CMakeLists.txt || die } src_compile() { cd ${SRCDIR} # build outside of the source dir install -d ${BUILDDIR}/build || die cd ${BUILDDIR}/build # disable deprecated clucene support, use full virtuoso support instead # see: http://trueg.wordpress.com/2011/09/22/about-strigi-soprano-virtuoso-clucene-and-libstreamanalyzer/ cmake_configure $(cmake_opt SOPRANO_DISABLE_CLUCENE_INDEX ON) || die mmake || die }