1 |
commit: da929adf2c53972661b4a99f52bdca5838e86ee9 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 12 07:37:19 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 12 07:37:19 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da929adf |
7 |
|
8 |
sci-astronomy/stellarium: Drop 0.16.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
sci-astronomy/stellarium/stellarium-0.16.0.ebuild | 110 ---------------------- |
13 |
1 file changed, 110 deletions(-) |
14 |
|
15 |
diff --git a/sci-astronomy/stellarium/stellarium-0.16.0.ebuild b/sci-astronomy/stellarium/stellarium-0.16.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2d99d5b9d1c..00000000000 |
18 |
--- a/sci-astronomy/stellarium/stellarium-0.16.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,110 +0,0 @@ |
21 |
-# Copyright 1999-2018 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=6 |
25 |
-inherit cmake-utils eutils flag-o-matic gnome2-utils |
26 |
- |
27 |
-DESCRIPTION="3D photo-realistic skies in real time" |
28 |
-HOMEPAGE="http://www.stellarium.org/" |
29 |
-SRC_URI=" |
30 |
- mirror://sourceforge/stellarium/${P}.tar.gz |
31 |
- stars? ( |
32 |
- mirror://sourceforge/stellarium/stars_4_1v0_1.cat |
33 |
- mirror://sourceforge/stellarium/stars_5_2v0_1.cat |
34 |
- mirror://sourceforge/stellarium/stars_6_2v0_1.cat |
35 |
- mirror://sourceforge/stellarium/stars_7_2v0_1.cat |
36 |
- mirror://sourceforge/stellarium/stars_8_2v0_1.cat |
37 |
- )" |
38 |
- |
39 |
-LICENSE="GPL-2+" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
42 |
-IUSE="debug media nls stars" |
43 |
- |
44 |
-RESTRICT="test" # There are no tests |
45 |
- |
46 |
-RDEPEND=" |
47 |
- media-fonts/dejavu |
48 |
- dev-qt/qtcore:5 |
49 |
- dev-qt/qtgui:5 |
50 |
- dev-qt/qtopengl:5 |
51 |
- dev-qt/qtscript:5 |
52 |
- dev-qt/qtnetwork:5 |
53 |
- dev-qt/qtprintsupport:5 |
54 |
- dev-qt/qtwidgets:5 |
55 |
- virtual/opengl |
56 |
- sys-libs/zlib |
57 |
- media? ( dev-qt/qtmultimedia:5[widgets] ) |
58 |
-" |
59 |
-DEPEND="${RDEPEND} |
60 |
- dev-qt/qttest:5 |
61 |
- dev-qt/qtconcurrent:5 |
62 |
- nls? ( dev-qt/linguist-tools:5 )" |
63 |
- |
64 |
-LANGS=( |
65 |
- af am ar as ast az be bg bn bo br bs ca cs |
66 |
- cy da de el en en-GB en-US eo es et eu fa fi fil fr |
67 |
- ga gd gl gu he hi hr hu hy ia id is it ja ka kk kn ko ky |
68 |
- la lb lo lt lv mk ml mn mr ms nb nl nn oc pa pl pt pt-BR ro |
69 |
- ru se si sk sl sq sr sv sw ta te tg th tl tr tt uk uz vi |
70 |
- zh-CN zh-HK zh-TW zu |
71 |
- ) |
72 |
- |
73 |
-for X in "${LANGS[@]}" ; do |
74 |
- IUSE+=" l10n_${X}" |
75 |
-done |
76 |
-unset X |
77 |
- |
78 |
-src_prepare() { |
79 |
- cmake-utils_src_prepare |
80 |
- if [[ -n ${L10N} ]] ; then |
81 |
- local d |
82 |
- for d in po/* ; do |
83 |
- [[ -e ${d}/CMakeLists.txt ]] || continue |
84 |
- local l loc="" |
85 |
- for l in ${L10N//-/_}; do |
86 |
- [[ -e ${d}/${l}.po ]] && loc="${loc} ${l}" |
87 |
- done |
88 |
- sed -e 's/STRING(REGEX REPLACE ".po" "" \([a-z]*\).*$/SET(\1 '"${loc})/" \ |
89 |
- -i ${d}/CMakeLists.txt || die |
90 |
- done |
91 |
- fi |
92 |
- sed -i -e '/ADD_PLUGIN(TelescopeControl 1)/s/1/0/' CMakeLists.txt || die |
93 |
- use debug || append-cppflags -DQT_NO_DEBUG #415769 |
94 |
-} |
95 |
- |
96 |
-src_configure() { |
97 |
- local mycmakeargs=( |
98 |
- -DENABLE_GPS=OFF |
99 |
- -DENABLE_NLS="$(usex nls)" |
100 |
- -DENABLE_MEDIA="$(usex media)" |
101 |
- ) |
102 |
- cmake-utils_src_configure |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- cmake-utils_src_install |
107 |
- |
108 |
- # use the more up-to-date system fonts |
109 |
- rm "${ED%/}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die |
110 |
- dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/stellarium/data/DejaVuSans.ttf |
111 |
- dosym ../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf |
112 |
- |
113 |
- if use stars ; then |
114 |
- insinto /usr/share/${PN}/stars/default |
115 |
- doins "${DISTDIR}"/stars_{4_1,{5,6,7,8}_2}v0_1.cat |
116 |
- fi |
117 |
- newicon doc/images/stellarium-logo.png ${PN}.png |
118 |
-} |
119 |
- |
120 |
-pkg_preinst() { |
121 |
- gnome2_icon_savelist |
122 |
-} |
123 |
- |
124 |
-pkg_postinst() { |
125 |
- gnome2_icon_cache_update |
126 |
-} |
127 |
- |
128 |
-pkg_postrm() { |
129 |
- gnome2_icon_cache_update |
130 |
-} |