-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
S=${WORKDIR}/${PN}--${PV}-source-only
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
$(cmake-utils_use_build tools ASSIMP_TOOLS) \
$(cmake-utils_use_build static STATIC_LIB) \
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
}
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
$(cmake-utils_use_build tools ASSIMP_TOOLS) \
$(cmake-utils_use_build static STATIC_LIB) \
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
test? ( dev-cpp/gtest )
"
-src_prepare() {
- epatch "${FILESDIR}/test-cmakelists.patch"
-}
+PATCHES=( "${FILESDIR}/test-cmakelists.patch" )
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
$(cmake-utils_use_build tools ASSIMP_TOOLS) \
$(cmake-utils_use_build static STATIC_LIB) \
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
test? ( dev-cpp/gtest )
"
-src_prepare() {
- epatch "${FILESDIR}/test-cmakelists.patch"
- epatch "${FILESDIR}/findassimp.patch"
-}
+PATCHES=(
+ "${FILESDIR}/test-cmakelists.patch"
+ "${FILESDIR}/findassimp.patch"
+)
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
$(cmake-utils_use_build samples ASSIMP_SAMPLES) \
$(cmake-utils_use_build tools ASSIMP_TOOLS) \
$(cmake-utils_use_build static STATIC_LIB) \
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
test? ( dev-cpp/gtest )
"
-src_prepare() {
- eapply "${FILESDIR}/findassimp-${PV}.patch"
- eapply_user
-}
+PATCHES=( "${FILESDIR}/findassimp-${PV}.patch" )
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DASSIMP_BUILD_SAMPLES=$(usex samples) \
-DASSIMP_BUILD_ASSIMP_TOOLS=$(usex tools) \
-DASSIMP_BUILD_STATIC_LIB=$(usex static) \
test? ( dev-cpp/gtest )
"
-src_prepare() {
- eapply "${FILESDIR}/findassimp-${PV}.patch"
- eapply_user
-}
+PATCHES=( "${FILESDIR}/findassimp-${PV}.patch" )
src_configure() {
- mycmakeargs=(
+ local mycmakeargs=(
-DASSIMP_BUILD_SAMPLES=$(usex samples) \
-DASSIMP_BUILD_ASSIMP_TOOLS=$(usex tools) \
-DASSIMP_BUILD_STATIC_LIB=$(usex static) \