1 |
commit: 176365bd5d96e177b730afbe2bd01e19c5a8e34b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 17 11:55:29 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 17 12:38:59 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176365bd |
7 |
|
8 |
sci-astronomy/celestia: Switch gnome2-utils -> xdg, EAPI-7 bump |
9 |
|
10 |
Add missing cmake-utils_src_prepare |
11 |
|
12 |
Package-Manager: Portage-2.3.60, Repoman-2.3.12 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
sci-astronomy/celestia/celestia-9999.ebuild | 33 +++++++++++------------------ |
16 |
1 file changed, 12 insertions(+), 21 deletions(-) |
17 |
|
18 |
diff --git a/sci-astronomy/celestia/celestia-9999.ebuild b/sci-astronomy/celestia/celestia-9999.ebuild |
19 |
index b3f1f95bcbf..182456385fd 100644 |
20 |
--- a/sci-astronomy/celestia/celestia-9999.ebuild |
21 |
+++ b/sci-astronomy/celestia/celestia-9999.ebuild |
22 |
@@ -1,9 +1,9 @@ |
23 |
# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
+EAPI=7 |
28 |
|
29 |
-inherit cmake-utils desktop flag-o-matic gnome2-utils xdg-utils |
30 |
+inherit desktop flag-o-matic xdg cmake-utils |
31 |
|
32 |
DESCRIPTION="OpenGL 3D space simulator" |
33 |
HOMEPAGE="https://celestia.space" |
34 |
@@ -22,14 +22,19 @@ IUSE="glut gtk nls +qt5 theora" |
35 |
|
36 |
REQUIRED_USE="|| ( glut gtk qt5 )" |
37 |
|
38 |
-RDEPEND=" |
39 |
+BDEPEND=" |
40 |
+ dev-cpp/eigen |
41 |
+ virtual/pkgconfig |
42 |
+ nls? ( sys-devel/gettext ) |
43 |
+" |
44 |
+DEPEND=" |
45 |
>=dev-lang/lua-5.1:* |
46 |
dev-libs/libfmt |
47 |
media-libs/glew:0 |
48 |
+ media-libs/libpng:0= |
49 |
virtual/glu |
50 |
- virtual/opengl |
51 |
virtual/jpeg:0 |
52 |
- media-libs/libpng:0= |
53 |
+ virtual/opengl |
54 |
glut? ( media-libs/freeglut ) |
55 |
gtk? ( |
56 |
x11-libs/gtk+:2 |
57 |
@@ -47,11 +52,7 @@ RDEPEND=" |
58 |
media-libs/libtheora |
59 |
) |
60 |
" |
61 |
- |
62 |
-DEPEND="${RDEPEND} |
63 |
- dev-cpp/eigen |
64 |
- virtual/pkgconfig |
65 |
- nls? ( sys-devel/gettext )" |
66 |
+RDEPEND="${DEPEND}" |
67 |
|
68 |
PATCHES=( |
69 |
# make better desktop files |
70 |
@@ -61,7 +62,7 @@ PATCHES=( |
71 |
) |
72 |
|
73 |
src_prepare() { |
74 |
- default |
75 |
+ cmake-utils_src_prepare |
76 |
|
77 |
filter-flags "-funroll-loops -frerun-loop-opt" |
78 |
|
79 |
@@ -107,13 +108,3 @@ src_install() { |
80 |
done |
81 |
dodoc AUTHORS README TRANSLATORS *.txt |
82 |
} |
83 |
- |
84 |
-pkg_postinst() { |
85 |
- gnome2_icon_cache_update |
86 |
- xdg_desktop_database_update |
87 |
-} |
88 |
- |
89 |
-pkg_postrm() { |
90 |
- gnome2_icon_cache_update |
91 |
- xdg_desktop_database_update |
92 |
-} |