1 |
commit: 8a0525e05e3ea27a3e2d5a84f321a67645911199 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 4 18:17:26 2017 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 4 18:17:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=8a0525e0 |
7 |
|
8 |
media-gfx/u3d: Bump EAPI |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
media-gfx/u3d/u3d-1.4.4.ebuild | 28 ++++++++++++++++++---------- |
14 |
1 file changed, 18 insertions(+), 10 deletions(-) |
15 |
|
16 |
diff --git a/media-gfx/u3d/u3d-1.4.4.ebuild b/media-gfx/u3d/u3d-1.4.4.ebuild |
17 |
index a16cb3a..fa83a53 100644 |
18 |
--- a/media-gfx/u3d/u3d-1.4.4.ebuild |
19 |
+++ b/media-gfx/u3d/u3d-1.4.4.ebuild |
20 |
@@ -1,9 +1,9 @@ |
21 |
-# Copyright 1999-2013 Gentoo Foundation |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
-EAPI=5 |
26 |
+EAPI=6 |
27 |
|
28 |
-inherit base cmake-utils multilib |
29 |
+inherit cmake-utils |
30 |
|
31 |
DESCRIPTION="Port of Intel's U3D library to gnu build tools" |
32 |
HOMEPAGE="http://u3d.sourceforge.net/" |
33 |
@@ -15,22 +15,30 @@ KEYWORDS="~amd64" |
34 |
IUSE="" |
35 |
|
36 |
DEPEND=" |
37 |
- sys-libs/zlib |
38 |
- virtual/jpeg |
39 |
- media-libs/libpng |
40 |
- " |
41 |
+ media-libs/libpng:0= |
42 |
+ sys-libs/zlib |
43 |
+ virtual/jpeg:0= |
44 |
+" |
45 |
RDEPEND="${DEPEND}" |
46 |
|
47 |
-MYCMAKEARGS="-DU3D_SHARED=ON -DBUILD_SHARED_LIBS=ON" |
48 |
- |
49 |
src_prepare() { |
50 |
sed \ |
51 |
+ -e "s:LIB_DESTINATION lib:LIB_DESTINATION $(get_libdir):g" \ |
52 |
-e "s:LIB_DESTINATION u3d:LIB_DESTINATION $(get_libdir):g" \ |
53 |
+ -e "s:PLUGIN_DESTINATION lib:PLUGIN_DESTINATION $(get_libdir):g" \ |
54 |
-e "s:PLUGIN_DESTINATION u3d:PLUGIN_DESTINATION $(get_libdir):g" \ |
55 |
-e "s:BIN_DESTINATION u3d:BIN_DESTINATION bin:g" \ |
56 |
-e "s:INCLUDE_DESTINATION u3d/include:INCLUDE_DESTINATION include:g" \ |
57 |
-e "s:SAMPLE_DESTINATION u3d/samples:SAMPLE_DESTINATION share/${PN}/samples:g" \ |
58 |
-e "s:DOC_DESTINATION u3d/docs:DOC_DESTINATION share/docs/${P}:g" \ |
59 |
-i CMakeLists.txt |
60 |
- base_src_prepare |
61 |
+ cmake-utils_src_prepare |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ local mycmakeargs=( |
66 |
+ -DU3D_SHARED=ON |
67 |
+ -DBUILD_SHARED_LIBS=ON |
68 |
+ ) |
69 |
+ cmake-utils_src_configure |
70 |
} |