1 |
commit: b617f4a6afa0ebcccecb634e4233a20cb5486450 |
2 |
Author: Davide Pesavento <davidepesa <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jun 11 21:43:58 2012 +0000 |
4 |
Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 11 21:43:58 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=b617f4a6 |
7 |
|
8 |
[qt-core:5] Handle qmake and mkspecs installation in qt5-build.eclass. |
9 |
|
10 |
--- |
11 |
eclass/qt5-build.eclass | 6 ++++++ |
12 |
x11-libs/qt-core/qt-core-5.9999.ebuild | 8 -------- |
13 |
2 files changed, 6 insertions(+), 8 deletions(-) |
14 |
|
15 |
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass |
16 |
index fa3ea0e..b8fd1e1 100644 |
17 |
--- a/eclass/qt5-build.eclass |
18 |
+++ b/eclass/qt5-build.eclass |
19 |
@@ -306,6 +306,12 @@ qt5-build_src_install() { |
20 |
popd >/dev/null || die |
21 |
done |
22 |
|
23 |
+ if [[ ${PN} == "qt-core" ]]; then |
24 |
+ pushd "${QT5_BUILD_DIR}" >/dev/null || die |
25 |
+ emake INSTALL_ROOT="${D}" install_{qmake,mkspecs} |
26 |
+ popd >/dev/null || die |
27 |
+ fi |
28 |
+ |
29 |
# TODO: install_qconfigs |
30 |
# TODO: pkgconfig files are installed in the wrong place |
31 |
|
32 |
|
33 |
diff --git a/x11-libs/qt-core/qt-core-5.9999.ebuild b/x11-libs/qt-core/qt-core-5.9999.ebuild |
34 |
index 3273e47..881e035 100644 |
35 |
--- a/x11-libs/qt-core/qt-core-5.9999.ebuild |
36 |
+++ b/x11-libs/qt-core/qt-core-5.9999.ebuild |
37 |
@@ -45,11 +45,3 @@ src_configure() { |
38 |
) |
39 |
qt5-build_src_configure |
40 |
} |
41 |
- |
42 |
-src_install() { |
43 |
- qt5-build_src_install |
44 |
- |
45 |
- pushd "${QT5_BUILD_DIR}" >/dev/null || die |
46 |
- emake INSTALL_ROOT="${D}" install_{qmake,mkspecs} |
47 |
- popd >/dev/null || die |
48 |
-} |