summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-06-04 19:17:26 +0100
committerJustin Lecher <jlec@gentoo.org>2017-06-04 19:17:26 +0100
commit8a0525e05e3ea27a3e2d5a84f321a67645911199 (patch)
tree9d2d90a3ec6b6394ef5c69eaafb497bbf6376b87
parentdev-util/diffconvert: fix metadata.xml (diff)
downloadbetagarden-8a0525e05e3ea27a3e2d5a84f321a67645911199.tar.gz
betagarden-8a0525e05e3ea27a3e2d5a84f321a67645911199.tar.bz2
betagarden-8a0525e05e3ea27a3e2d5a84f321a67645911199.zip
media-gfx/u3d: Bump EAPI
Package-Manager: Portage-2.3.6, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--media-gfx/u3d/u3d-1.4.4.ebuild28
1 files changed, 18 insertions, 10 deletions
diff --git a/media-gfx/u3d/u3d-1.4.4.ebuild b/media-gfx/u3d/u3d-1.4.4.ebuild
index a16cb3a..fa83a53 100644
--- a/media-gfx/u3d/u3d-1.4.4.ebuild
+++ b/media-gfx/u3d/u3d-1.4.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit base cmake-utils multilib
+inherit cmake-utils
DESCRIPTION="Port of Intel's U3D library to gnu build tools"
HOMEPAGE="http://u3d.sourceforge.net/"
@@ -15,22 +15,30 @@ KEYWORDS="~amd64"
IUSE=""
DEPEND="
- sys-libs/zlib
- virtual/jpeg
- media-libs/libpng
- "
+ media-libs/libpng:0=
+ sys-libs/zlib
+ virtual/jpeg:0=
+"
RDEPEND="${DEPEND}"
-MYCMAKEARGS="-DU3D_SHARED=ON -DBUILD_SHARED_LIBS=ON"
-
src_prepare() {
sed \
+ -e "s:LIB_DESTINATION lib:LIB_DESTINATION $(get_libdir):g" \
-e "s:LIB_DESTINATION u3d:LIB_DESTINATION $(get_libdir):g" \
+ -e "s:PLUGIN_DESTINATION lib:PLUGIN_DESTINATION $(get_libdir):g" \
-e "s:PLUGIN_DESTINATION u3d:PLUGIN_DESTINATION $(get_libdir):g" \
-e "s:BIN_DESTINATION u3d:BIN_DESTINATION bin:g" \
-e "s:INCLUDE_DESTINATION u3d/include:INCLUDE_DESTINATION include:g" \
-e "s:SAMPLE_DESTINATION u3d/samples:SAMPLE_DESTINATION share/${PN}/samples:g" \
-e "s:DOC_DESTINATION u3d/docs:DOC_DESTINATION share/docs/${P}:g" \
-i CMakeLists.txt
- base_src_prepare
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DU3D_SHARED=ON
+ -DBUILD_SHARED_LIBS=ON
+ )
+ cmake-utils_src_configure
}