Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/stellarium: metadata.xml ChangeLog stellarium-0.12.0.ebuild
Date: Fri, 01 Feb 2013 17:07:24
Message-Id: 20130201170720.495052171D@flycatcher.gentoo.org
1 jlec 13/02/01 17:07:20
2
3 Modified: metadata.xml ChangeLog
4 Added: stellarium-0.12.0.ebuild
5 Log:
6 sci-astronomy/stellarium: Version Bump
7
8 (Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
9
10 Revision Changes Path
11 1.7 sci-astronomy/stellarium/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/metadata.xml?rev=1.7&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/metadata.xml?rev=1.7&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/metadata.xml?r1=1.6&r2=1.7
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/metadata.xml,v
20 retrieving revision 1.6
21 retrieving revision 1.7
22 diff -u -r1.6 -r1.7
23 --- metadata.xml 5 Aug 2012 19:56:26 -0000 1.6
24 +++ metadata.xml 1 Feb 2013 17:07:20 -0000 1.7
25 @@ -1,17 +1,17 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci-astronomy</herd>
30 -<maintainer>
31 - <email>mr_bones_@g.o</email>
32 -</maintainer>
33 -<longdescription lang='en'>
34 + <herd>sci-astronomy</herd>
35 + <maintainer>
36 + <email>mr_bones_@g.o</email>
37 + </maintainer>
38 + <longdescription lang="en">
39 Stellarium is a free open source planetarium for your computer. It
40 shows a realistic sky in 3D, just like what you see with the naked
41 eye, binoculars or a telescope. It is being used in planetarium
42 projectors.
43 </longdescription>
44 -<use>
45 - <flag name="stars">Install extra star catalogs</flag>
46 -</use>
47 + <use>
48 + <flag name="stars">Install extra star catalogs</flag>
49 + </use>
50 </pkgmetadata>
51
52
53
54 1.109 sci-astronomy/stellarium/ChangeLog
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/ChangeLog?rev=1.109&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/ChangeLog?rev=1.109&content-type=text/plain
58 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/ChangeLog?r1=1.108&r2=1.109
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v
63 retrieving revision 1.108
64 retrieving revision 1.109
65 diff -u -r1.108 -r1.109
66 --- ChangeLog 22 Jan 2013 18:11:08 -0000 1.108
67 +++ ChangeLog 1 Feb 2013 17:07:20 -0000 1.109
68 @@ -1,6 +1,12 @@
69 # ChangeLog for sci-astronomy/stellarium
70 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.108 2013/01/22 18:11:08 mr_bones_ Exp $
72 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/ChangeLog,v 1.109 2013/02/01 17:07:20 jlec Exp $
73 +
74 +*stellarium-0.12.0 (01 Feb 2013)
75 +
76 + 01 Feb 2013; Justin Lecher <jlec@g.o> +stellarium-0.12.0.ebuild,
77 + metadata.xml:
78 + Version Bump
79
80 22 Jan 2013; Michael Sterrett <mr_bones_@g.o>
81 -files/stellarium-0.11.3-desktop.patch, -stellarium-0.11.3.ebuild:
82
83
84
85 1.1 sci-astronomy/stellarium/stellarium-0.12.0.ebuild
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/stellarium-0.12.0.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/stellarium/stellarium-0.12.0.ebuild?rev=1.1&content-type=text/plain
89
90 Index: stellarium-0.12.0.ebuild
91 ===================================================================
92 # Copyright 1999-2013 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.12.0.ebuild,v 1.1 2013/02/01 17:07:20 jlec Exp $
95
96 EAPI=5
97
98 inherit cmake-utils eutils flag-o-matic
99
100 DESCRIPTION="Stellarium renders 3D photo-realistic skies in real time"
101 HOMEPAGE="http://www.stellarium.org/"
102 SRC_URI="
103 mirror://sourceforge/stellarium/${P}.tar.gz
104 stars? (
105 mirror://sourceforge/stellarium/stars_4_1v0_0.cat
106 mirror://sourceforge/stellarium/stars_5_2v0_0.cat
107 mirror://sourceforge/stellarium/stars_6_2v0_0.cat
108 mirror://sourceforge/stellarium/stars_7_2v0_0.cat
109 mirror://sourceforge/stellarium/stars_8_2v0_0.cat
110 )"
111
112 LICENSE="GPL-2"
113 SLOT="0"
114 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
115 IUSE="debug nls stars"
116
117 RESTRICT="test"
118
119 RDEPEND="
120 media-fonts/dejavu
121 media-libs/freetype:2
122 x11-libs/qt-core:4
123 x11-libs/qt-gui:4
124 x11-libs/qt-opengl:4
125 x11-libs/qt-script:4
126 x11-libs/qt-svg:4
127 x11-libs/qt-test:4
128 virtual/glu
129 virtual/opengl
130 nls? ( virtual/libintl )"
131 DEPEND="${RDEPEND}
132 x11-libs/libXt
133 nls? ( sys-devel/gettext )"
134 DOCS=( AUTHORS ChangeLog README )
135
136 LANGS=(
137 af ak am ar as ast az be bg bn bo br bs ca cs
138 cy da de el en en_CA en_GB en_US eo es et eu fa fi fil fr fy
139 ga gd gl gu he hi hr hu hy ia id is it ja ka kk kn ko ky
140 la lb lo lt lv mk ml mn mr ms mt nan nb nl nn oc pa pl pt pt_BR ro
141 ru sco se si sk sl sq sr sv sw ta te tg th tl tr tt uk uz vi zh
142 zh_CN zh_HK zh_TW zu
143 )
144
145 for X in "${LANGS[@]}" ; do
146 IUSE="${IUSE} linguas_${X}"
147 done
148
149 S=${WORKDIR}/${PN}-${PV/a/}
150
151 src_prepare() {
152 sed \
153 -e '/aa ab ae/d' \
154 -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${LINGUAS}" \
155 -i po/stellarium{,-skycultures}/CMakeLists.txt || die #403647
156 sed \
157 -e '/USE_PLUGIN_SIMPLEDRAWLINE/s: 0 : 1 :g' \
158 -e '/USE_PLUGIN_RENDERERSTATISTICS/s: 0 : 1 :g' \
159 -i CMakeLists.txt || die
160 use debug || append-cppflags -DQT_NO_DEBUG #415769
161 }
162
163 src_configure() {
164 local mycmakeargs=( $(cmake-utils_use_enable nls NLS) )
165 CMAKE_IN_SOURCE_BUILD=1 cmake-utils_src_configure
166 }
167
168 src_install() {
169 cmake-utils_src_install
170
171 # use the more up-to-date system fonts
172 rm "${ED}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die
173 dosym ../../fonts/dejavu/DejaVuSans.ttf /usr/share/stellarium/data/DejaVuSans.ttf
174 dosym ../../fonts/dejavu/DejaVuSansMono.ttf /usr/share/stellarium/data/DejaVuSansMono.ttf
175
176 if use stars ; then
177 insinto /usr/share/${PN}/stars/default
178 doins "${DISTDIR}"/stars_[45678]_[12]v0_0*.cat
179 fi
180 newicon doc/images/stellarium-logo.png ${PN}.png
181 }