1 |
commit: 6bf8650109714719ac73651cde233bb143e4b450 |
2 |
Author: Alexey Sokolov <sokolov <AT> google <DOT> com> |
3 |
AuthorDate: Fri Apr 10 01:27:36 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 24 21:30:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf86501 |
7 |
|
8 |
sci-astronomy/stellarium: version bump - 0.20.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Alexey Sokolov <sokolov <AT> google.com> |
12 |
Closes: https://bugs.gentoo.org/723078 |
13 |
Closes: https://github.com/gentoo/gentoo/pull/15282 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
sci-astronomy/stellarium/Manifest | 1 + |
17 |
sci-astronomy/stellarium/stellarium-0.20.1.ebuild | 83 +++++++++++++++++++++++ |
18 |
2 files changed, 84 insertions(+) |
19 |
|
20 |
diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest |
21 |
index edd57de0119..156bf5bab29 100644 |
22 |
--- a/sci-astronomy/stellarium/Manifest |
23 |
+++ b/sci-astronomy/stellarium/Manifest |
24 |
@@ -4,3 +4,4 @@ DIST stars_6_2v0_1.cat 148352404 BLAKE2B c605b284b3d768cb1619ada3f58d406fa7737f0 |
25 |
DIST stars_7_2v0_1.cat 305710678 BLAKE2B 1cc9b4a6bc35a9339e495f7e0da4f7e90a0e92b05b5de8599be1bbdd2a8053cbcec44b0e58bc9248364666db9cdf23449edf236e3f21fdc0e8f1a4a706afc919 SHA512 43b866eb793e8812c9d5502101a6c985d2055fb88bdbda274726bcd51e1527ecf342b22acd673318c9c8e88cac68eace18de8f27d29ffe64933fd32a5b84c5e3 |
26 |
DIST stars_8_2v0_1.cat 559068934 BLAKE2B c040a369cdf6885759998e1315b554d21a5e2b9b149a67967a8af45606aebf57bec407fab5ce1904978af0dc529aa6bddd267331ca45f58617bbf56d5ca99dee SHA512 06d4fa298b9dff8452f550377df99fcaa5e7107cfc7b75c9a4769b3cb6d97a822a54213c706102c1d7ef2dabc16df32a85f46b2f6d6c6f76a4e919353b739de4 |
27 |
DIST stellarium-0.19.3.tar.gz 326218851 BLAKE2B 286d2559a2152f030640ed88778f57f1213d0d8b9e990d0aa1ad5138396fe9641083ec76554e1296dc79d914955e289d23046af42299df6217bbfbaca76b2f18 SHA512 c2948603a3b84fd2b7002cbd9993a2432ca0908d9236aca03c03ff0cf0706728a407218096e94da2b2a623b5434c109906d94ee5069a2d57a8e35af7c8455ff7 |
28 |
+DIST stellarium-0.20.1.tar.gz 343991703 BLAKE2B 59580dd2bca885893bfc68faaf966a727e3d7c0774f59726e23cec132cbfca4ae518983db2e52d4d3d3f1ec96c7ce876168bb23959178ebf212ee6bb357299b3 SHA512 685a306391dc681cc21834a226e35c769e11909f625ff7461d7e896ba412ad595871e93c69981b342099f46829f9f3ef3e276be867dc5ea5523fa60a99cc21d1 |
29 |
|
30 |
diff --git a/sci-astronomy/stellarium/stellarium-0.20.1.ebuild b/sci-astronomy/stellarium/stellarium-0.20.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..6be1804cb2f |
33 |
--- /dev/null |
34 |
+++ b/sci-astronomy/stellarium/stellarium-0.20.1.ebuild |
35 |
@@ -0,0 +1,83 @@ |
36 |
+# Copyright 1999-2020 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit cmake desktop flag-o-matic xdg virtualx |
42 |
+ |
43 |
+DESCRIPTION="3D photo-realistic skies in real time" |
44 |
+HOMEPAGE="https://www.stellarium.org/" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/Stellarium/stellarium/releases/download/v${PV}/${P}.tar.gz |
47 |
+ stars? ( |
48 |
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_4_1v0_2.cat |
49 |
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_5_2v0_1.cat |
50 |
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_6_2v0_1.cat |
51 |
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_7_2v0_1.cat |
52 |
+ https://github.com/Stellarium/stellarium-data/releases/download/stars-2.0/stars_8_2v0_1.cat |
53 |
+ )" |
54 |
+ |
55 |
+LICENSE="GPL-2+" |
56 |
+SLOT="0" |
57 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
58 |
+IUSE="debug gps media nls stars test" |
59 |
+ |
60 |
+BDEPEND=" |
61 |
+ nls? ( dev-qt/linguist-tools:5 ) |
62 |
+" |
63 |
+RDEPEND=" |
64 |
+ dev-qt/qtcore:5 |
65 |
+ dev-qt/qtgui:5 |
66 |
+ dev-qt/qtnetwork:5 |
67 |
+ dev-qt/qtopengl:5 |
68 |
+ dev-qt/qtprintsupport:5 |
69 |
+ dev-qt/qtscript:5 |
70 |
+ dev-qt/qtserialport:5 |
71 |
+ dev-qt/qtwidgets:5 |
72 |
+ media-fonts/dejavu |
73 |
+ sys-libs/zlib |
74 |
+ virtual/opengl |
75 |
+ gps? ( dev-qt/qtpositioning:5 ) |
76 |
+ media? ( dev-qt/qtmultimedia:5[widgets] ) |
77 |
+" |
78 |
+DEPEND="${RDEPEND} |
79 |
+ dev-qt/qtconcurrent:5 |
80 |
+ test? ( dev-qt/qttest:5 ) |
81 |
+" |
82 |
+ |
83 |
+RESTRICT="!test? ( test )" |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ cmake_src_prepare |
87 |
+ use debug || append-cppflags -DQT_NO_DEBUG #415769 |
88 |
+} |
89 |
+ |
90 |
+src_configure() { |
91 |
+ local mycmakeargs=( |
92 |
+ -DENABLE_GPS="$(usex gps)" |
93 |
+ -DENABLE_MEDIA="$(usex media)" |
94 |
+ -DENABLE_NLS="$(usex nls)" |
95 |
+ -DENABLE_TESTING="$(usex test)" |
96 |
+ ) |
97 |
+ cmake_src_configure |
98 |
+} |
99 |
+ |
100 |
+src_test() { |
101 |
+ virtx cmake_src_test |
102 |
+} |
103 |
+ |
104 |
+src_install() { |
105 |
+ cmake_src_install |
106 |
+ |
107 |
+ # use the more up-to-date system fonts |
108 |
+ rm "${ED}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die |
109 |
+ dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/stellarium/data/DejaVuSans.ttf |
110 |
+ dosym ../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf |
111 |
+ |
112 |
+ if use stars ; then |
113 |
+ insinto /usr/share/${PN}/stars/default |
114 |
+ doins "${DISTDIR}"/stars_4_1v0_2.cat |
115 |
+ doins "${DISTDIR}"/stars_{5,6,7,8}_2v0_1.cat |
116 |
+ fi |
117 |
+ newicon doc/images/stellarium-logo.png ${PN}.png |
118 |
+} |