commit:     dc7fe6e42bb8d1fc8f57fbc1eec8fec03ae7839b
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 04:18:14 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 04:52:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc7fe6e4

sci-astronomy/stellarium: version bump

Package-Manager: portage-2.2.26

 sci-astronomy/stellarium/Manifest                 |   1 +
 sci-astronomy/stellarium/stellarium-0.14.2.ebuild | 105 ++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/sci-astronomy/stellarium/Manifest 
b/sci-astronomy/stellarium/Manifest
index f788130..1f57232 100644
--- a/sci-astronomy/stellarium/Manifest
+++ b/sci-astronomy/stellarium/Manifest
@@ -11,3 +11,4 @@ DIST stars_8_2v0_1.cat 559068934 SHA256 
f1c0b3f25737f405ed4a2a045091d348885ffceb
 DIST stellarium-0.12.4.tar.gz 79343617 SHA256 
0fae1b6e2231ccfaba8fd00abf816a88bd89b5dc61387ac84edf479b363c6684 SHA512 
324a8c930281e26e91d45356cf3aab89cf708c7e64636b7e89de95af3f6d2569830caf05fb44ebef88f65dda55cb6dd18dcf4ee54d46da3910c456dc2daac478
 WHIRLPOOL 
8bce980d157904c4032368da335263a9afd2136386b0fd19d27e10f1c8b33712780130ed6845f26b3bac43f00d2de4aee80c47a0648a6cf6b4741bf69301f110
 DIST stellarium-0.13.3.tar.gz 135870690 SHA256 
3202b7657906caf0e1079ee5c3f82b21acc01deaa4fcf654307d13d5baf886d6 SHA512 
9d8b8d4e045dd3e8052a7f6af4dd21205c2e66c2e4db254fbb6e897f3df1f049a6e2080f6598210da162917e1f6a3535972c8826e5e696f4ab954a5b26d0d083
 WHIRLPOOL 
735365c9c13257487f785d9407c1725ec7bd345bace43f809105d270ea6a83764dd2c55c1c5010bbe72263ef99dc16913f9e8df706d82f40d3b02187cab1c028
 DIST stellarium-0.14.0.tar.gz 139333669 SHA256 
5225087732b97d27c019f0cb1a9f183d511e26eeb3538e16c3790df2dd541f15 SHA512 
d5271b4caeddc3fade7dcd98f150ba7bcb644d54c8dc7787dd3fcb33550032dbf7c8517ac6b8d950e3f35f0a2bbc046afd624fbc6e6d4b988e46d58236b77943
 WHIRLPOOL 
b97b38ec481edc5c7817a4b9138ab2f10cbd630ef3b9bab980c50191a3f8cfe03efb9eeface14819bee9982dfc72dfe32db63255a07ce5226e3707f89832423e
+DIST stellarium-0.14.2.tar.gz 139069181 SHA256 
aa04a5ae44ed177bc187d20e27a87cc11fc2f465036d673f02ec07b333a0b1f7 SHA512 
401dc8f88779119f0fef9d2e24cb5440c16a1f1d4a79ff80c51cfef848f6b1d881f5144acd599f8b709d099b120420c18bba9f50f3518c44bf815021f7efc2ed
 WHIRLPOOL 
8cb4dc54f91bffda6e4bab76efa855bc43e2440d9e6408a1028bc118d27971c17d9ec2106748ec7df5f6b47da4db6938b359490659092bb5169e15f5eed14d21

diff --git a/sci-astronomy/stellarium/stellarium-0.14.2.ebuild 
b/sci-astronomy/stellarium/stellarium-0.14.2.ebuild
new file mode 100644
index 0000000..d1c5035
--- /dev/null
+++ b/sci-astronomy/stellarium/stellarium-0.14.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils flag-o-matic gnome2-utils
+
+DESCRIPTION="3D photo-realistic skies in real time"
+HOMEPAGE="http://www.stellarium.org/";
+SRC_URI="
+       mirror://sourceforge/stellarium/${P}.tar.gz
+       stars? (
+               mirror://sourceforge/stellarium/stars_4_1v0_1.cat
+               mirror://sourceforge/stellarium/stars_5_2v0_1.cat
+               mirror://sourceforge/stellarium/stars_6_2v0_1.cat
+               mirror://sourceforge/stellarium/stars_7_2v0_1.cat
+               mirror://sourceforge/stellarium/stars_8_2v0_1.cat
+       )"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug nls sound stars"
+
+RESTRICT="test"
+
+RDEPEND="
+       media-fonts/dejavu
+       dev-qt/qtcore:5
+       dev-qt/qtquick1:5
+       dev-qt/qtgui:5
+       dev-qt/qtopengl:5
+       dev-qt/qtscript:5
+       virtual/opengl
+       sound? ( dev-qt/qtmultimedia:5[widgets] )"
+DEPEND="${RDEPEND}
+       dev-qt/qttest:5
+       dev-qt/qtconcurrent:5
+       nls? ( dev-qt/linguist-tools:5 )"
+DOCS=( AUTHORS ChangeLog README )
+
+LANGS=(
+       af ak am ar as ast az be bg bn bo br bs ca cs
+       cy da de el en en_CA en_GB en_US eo es et eu fa fi fil fr
+       ga gd gl gu he hi hr hu hy ia id is it ja ka kk kn ko ky
+       la lb lo lt lv mk ml mn mr ms mt nan nb nl nn oc pa pl pt pt_BR ro
+       ru se si sk sl sq sr sv sw ta te tg th tl tr tt uk uz vi
+       zh_CN zh_HK zh_TW zu
+       )
+
+for X in "${LANGS[@]}" ; do
+       IUSE+=" linguas_${X}"
+done
+
+src_prepare() {
+       if [[ -n ${LINGUAS} ]] ; then
+               sed -i \
+                       -e '/aa ab ae/d' \
+                       -e "/GETTEXT_CREATE_TRANSLATIONS/a \ ${LINGUAS}" \
+                       po/stellarium{,-skycultures}/CMakeLists.txt || die 
#403647
+       fi
+       # Turn off TelescopeControl since dev-qt/qtserialport isn't
+       # marked stable and is missing keywords besides.
+       sed -i \
+               -e '/SimpleDrawLine/  s:0:1:g' \
+               -e '/TelescopeControl/s:1:0:g' \
+               CMakeLists.txt || die
+       sed -i -e '/stellarium Core/s/SerialPort//' src/CMakeLists.txt || die
+       use debug || append-cppflags -DQT_NO_DEBUG #415769
+}
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_enable nls)
+               $(cmake-utils_use_enable sound)
+       )
+       CMAKE_IN_SOURCE_BUILD=1 cmake-utils_src_configure
+}
+
+src_install() {
+       cmake-utils_src_install
+
+       # use the more up-to-date system fonts
+       rm "${ED}"/usr/share/stellarium/data/DejaVuSans{Mono,}.ttf || die
+       dosym ../../fonts/dejavu/DejaVuSans.ttf 
/usr/share/stellarium/data/DejaVuSans.ttf
+       dosym ../../fonts/dejavu/DejaVuSansMono.ttf 
/usr/share/stellarium/data/DejaVuSansMono.ttf
+
+       if use stars ; then
+               insinto /usr/share/${PN}/stars/default
+               doins "${DISTDIR}"/stars_[45678]_[12]v0_1*.cat
+       fi
+       newicon doc/images/stellarium-logo.png ${PN}.png
+}
+
+pkg_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to