diff options
Diffstat (limited to 'media-libs/assimp/assimp-4.0.0.ebuild')
-rw-r--r-- | media-libs/assimp/assimp-4.0.0.ebuild | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/media-libs/assimp/assimp-4.0.0.ebuild b/media-libs/assimp/assimp-4.0.0.ebuild deleted file mode 100644 index 2518909a9b24..000000000000 --- a/media-libs/assimp/assimp-4.0.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit cmake-utils versionator multilib - -DESCRIPTION="Importer library to import assets from 3D files" -HOMEPAGE="https://github.com/assimp/assimp" -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="samples static test tools" -SLOT="0" - -RDEPEND=" - dev-libs/boost - samples? ( x11-libs/libX11 virtual/opengl media-libs/freeglut ) - sys-libs/zlib -" -DEPEND="${RDEPEND} - test? ( dev-cpp/gtest ) -" - -PATCHES=( "${FILESDIR}/findassimp-3.3.1.patch" ) - -src_configure() { - local mycmakeargs=( - -DASSIMP_BUILD_SAMPLES=$(usex samples) \ - -DASSIMP_BUILD_ASSIMP_TOOLS=$(usex tools) \ - -DASSIMP_BUILD_STATIC_LIB=$(usex static) \ - -DASSIMP_BUILD_TESTS=$(usex test) - -DCMAKE_DEBUG_POSTFIX="" - -DASSIMP_LIB_INSTALL_DIR="${EPREFIX}/usr/$(get_libdir)/" - ) - - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - insinto /usr/share/cmake/Modules - doins cmake-modules/Findassimp.cmake -} - -src_test() { - "${BUILD_DIR}/test/unit" || die -} |