1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="Collection of libraries for graphics transformation algorithms"
12 HOMEPAGE="http://opengtl.org/"
13 SRC_URI="http://download.opengtl.org/${MY_P}.tar.bz2 https://dev.gentoo.org/~creffett/distfiles/${PN}-0.9.18-llvm-3.3.patch"
17 KEYWORDS="amd64 ~arm x86"
28 app-text/ghostscript-gpl
29 test? ( dev-util/lcov )
37 "${FILESDIR}/${PN}-0.9.18-memcpy.patch"
38 "${FILESDIR}/${PN}-0.9.18-underlinking.patch"
42 if has_version ">=sys-devel/llvm-3.3"; then
43 epatch "${DISTDIR}/${PN}-0.9.18-llvm-3.3.patch"
45 cmake-utils_src_prepare
50 -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE
51 $(cmake-utils_use debug OPENGTL_ENABLE_DEBUG_OUTPUT)
52 $(cmake-utils_use test OPENGTL_BUILD_TESTS)
53 $(cmake-utils_use test OPENGTL_CODE_COVERAGE)
55 cmake-utils_src_configure
59 cmake-utils_src_install
60 newdoc OpenShiva/doc/reference/region.pdf OpenShiva.pdf