1 |
commit: 9402d6cc6c49cdeb2da803c69883b7a9170b0536 |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 29 15:49:07 2012 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 29 15:49:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=9402d6cc |
7 |
|
8 |
[dev-cpp/eigen] Sync with portage. |
9 |
|
10 |
(Portage version: 2.1.11.9/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-cpp/eigen/eigen-9999.ebuild | 59 ++++++++++++++++++++------------------ |
14 |
dev-cpp/eigen/metadata.xml | 5 +-- |
15 |
2 files changed, 32 insertions(+), 32 deletions(-) |
16 |
|
17 |
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild |
18 |
index 2115633..db4735f 100644 |
19 |
--- a/dev-cpp/eigen/eigen-9999.ebuild |
20 |
+++ b/dev-cpp/eigen/eigen-9999.ebuild |
21 |
@@ -6,55 +6,58 @@ EAPI=4 |
22 |
|
23 |
inherit cmake-utils mercurial |
24 |
|
25 |
-DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra" |
26 |
+DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms" |
27 |
HOMEPAGE="http://eigen.tuxfamily.org/" |
28 |
-#SRC_URI="http://bitbucket.org/eigen/eigen2/get/${PV}.tar.bz2" |
29 |
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen" |
30 |
+EHG_REPO_URI="https://bitbucket.org/${PN}/${PN}" |
31 |
|
32 |
-LICENSE="GPL-3" |
33 |
+LICENSE="LGPL-2 GPL-3" |
34 |
KEYWORDS="" |
35 |
SLOT="3" |
36 |
-IUSE="debug doc examples test" |
37 |
+IUSE="debug doc" |
38 |
|
39 |
-RDEPEND=" |
40 |
- examples? ( |
41 |
- x11-libs/qt-gui:4 |
42 |
- x11-libs/qt-opengl:4 |
43 |
- ) |
44 |
-" |
45 |
-DEPEND="${RDEPEND} |
46 |
- doc? ( app-doc/doxygen ) |
47 |
-" |
48 |
- |
49 |
-S="${WORKDIR}/eigen" |
50 |
+DEPEND="doc? ( app-doc/doxygen )" |
51 |
+RDEPEND="!dev-cpp/eigen:0" |
52 |
|
53 |
-CMAKE_BUILD_TYPE="Release" |
54 |
+src_prepare() { |
55 |
+ sed -i CMakeLists.txt \ |
56 |
+ -e "/add_subdirectory(demos/d" \ |
57 |
+ -e "/add_subdirectory(blas/d" \ |
58 |
+ -e "/add_subdirectory(lapack/d" \ |
59 |
+ || die "sed disable unused bundles failed" |
60 |
+} |
61 |
|
62 |
src_configure() { |
63 |
# benchmarks (BTL) brings up damn load of external deps including fortran |
64 |
# compiler |
65 |
- # library hangs up complete compilation proccess, test later |
66 |
+ CMAKE_BUILD_TYPE="release" |
67 |
mycmakeargs=( |
68 |
- -DEIGEN_BUILD_LIB=OFF |
69 |
-DEIGEN_BUILD_BTL=OFF |
70 |
- $(cmake-utils_use examples EIGEN_BUILD_DEMOS) |
71 |
- $(cmake-utils_use test EIGEN_BUILD_TESTS) |
72 |
- $(cmake-utils_use test EIGEN_TEST_NO_FORTRAN) |
73 |
) |
74 |
cmake-utils_src_configure |
75 |
} |
76 |
|
77 |
src_compile() { |
78 |
cmake-utils_src_compile |
79 |
- use doc && cmake-utils_src_compile doc |
80 |
+ if use doc; then |
81 |
+ cmake-utils_src_compile doc |
82 |
+ fi |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ mycmakeargs=( |
87 |
+ -DEIGEN_BUILD_TESTS=ON |
88 |
+ -DEIGEN_TEST_NO_FORTRAN=ON |
89 |
+ -DEIGEN_TEST_NO_OPENGL=ON |
90 |
+ ) |
91 |
+ cmake-utils_src_configure |
92 |
+ cmake-utils_src_compile buildtests |
93 |
+ cmake-utils_src_test |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
- use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/doc/html/") |
98 |
cmake-utils_src_install |
99 |
- |
100 |
- if use examples; then |
101 |
- cd "${CMAKE_BUILD_DIR}"/demos |
102 |
- dobin mandelbrot/mandelbrot opengl/quaternion_demo |
103 |
+ if use doc; then |
104 |
+ cd "${CMAKE_BUILD_DIR}"/doc |
105 |
+ dohtml -r html/* |
106 |
fi |
107 |
} |
108 |
|
109 |
diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml |
110 |
index 6ede838..82bab86 100644 |
111 |
--- a/dev-cpp/eigen/metadata.xml |
112 |
+++ b/dev-cpp/eigen/metadata.xml |
113 |
@@ -3,10 +3,7 @@ |
114 |
<pkgmetadata> |
115 |
<herd>sci</herd> |
116 |
<herd>kde</herd> |
117 |
- <maintainer> |
118 |
- <email>cryos@g.o</email> |
119 |
- </maintainer> |
120 |
- <longdescription> |
121 |
+ <longdescription> |
122 |
Eigen is a lightweight C++ template library for vector and matrix math, |
123 |
a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen |
124 |
focuses on the simple mathematical needs of applications: games and other |