diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-astronomy/stellarium |
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-astronomy/stellarium')
-rw-r--r-- | sci-astronomy/stellarium/Manifest | 13 | ||||
-rw-r--r-- | sci-astronomy/stellarium/metadata.xml | 25 | ||||
-rw-r--r-- | sci-astronomy/stellarium/stellarium-0.14.3.ebuild | 106 | ||||
-rw-r--r-- | sci-astronomy/stellarium/stellarium-0.16.0-r1.ebuild | 111 | ||||
-rw-r--r-- | sci-astronomy/stellarium/stellarium-0.16.0.ebuild | 110 |
5 files changed, 365 insertions, 0 deletions
diff --git a/sci-astronomy/stellarium/Manifest b/sci-astronomy/stellarium/Manifest new file mode 100644 index 000000000000..32f36f821ea6 --- /dev/null +++ b/sci-astronomy/stellarium/Manifest @@ -0,0 +1,13 @@ +DIST stars_4_1v0_1.cat 17040932 SHA256 7a2084e5e45610bbffae9448d9552d8a8dd191e5b1a07b0e47d27622fab4a979 SHA512 adf2241d0a8b58eb6b8ad5f885dd8a3a66610a63ae949f17f26e81f1ac8d1094d77879e361a0de3929e0d447b0de77142e0c7de0f1f123bd145e130fbfbe0f9a WHIRLPOOL 36267ddb117ed5100bb491760ec5589f8752bf0c655f45e78f7aad500f00d6dae1fdadd1af5d7663b81b8c2df4afed7cd07c652e056391beb531639739bd866c +DIST stars_5_2v0_1.cat 42580300 SHA256 c4ebd18d05a805308cfac85fe224e3f0a75db6579cae65c935a0954da13f4164 SHA512 6fc0f7352d1165a0744cc932b6d379741e4614d5a95edd136522c789eaa8d1bcf05d7445f7dfd6896e8183aa64bf37b3610d87902b54542f62f2418b285892e0 WHIRLPOOL 946a7b57367ae21eae3c2ba59238b8502064d93511f43bc70b26f1383d75e403ba21e6ca0ee60f859521630a213f179ceab51f0380cbbacf92b255812cf69166 +DIST stars_6_2v0_1.cat 148352404 SHA256 5794c7cd035f52d25608e9a2bd40c35f1d65f0327ef80c87fde93ef4047fc555 SHA512 794279407595f44bbc1e492086063d98068bf332202a5448cd83dd7afbdcf7c6c3ff2878f3016369ebb5a98552874eb4eddb38e2c40e9a163c6231b640e02977 WHIRLPOOL 1c4c12ce12dd3cd1d7a2e0e11cd34b378ae4c5f2a61f2b6a8e4889b61e78944e4caacae6a0ee78fc00ad022c90944fa7a6e3021f0f2c57c605f377c199a77486 +DIST stars_7_2v0_1.cat 305710678 SHA256 4d812c078f03d01c9b24bacedf6e688a4382d92468bab2aba2b96a9a0358a406 SHA512 43b866eb793e8812c9d5502101a6c985d2055fb88bdbda274726bcd51e1527ecf342b22acd673318c9c8e88cac68eace18de8f27d29ffe64933fd32a5b84c5e3 WHIRLPOOL 6647e41ae573b0c2a2eb3c22ea0a34a50f077ef8c89fab35f101c08dcf1657b0a7d7d2812b73dc53c6992d25ccb3915ebdfbe7b7faafbda3bb69f81a2c82c2d9 +DIST stars_8_2v0_1.cat 559068934 SHA256 f1c0b3f25737f405ed4a2a045091d348885ffceb47258c3e32a2f4a800cac482 SHA512 06d4fa298b9dff8452f550377df99fcaa5e7107cfc7b75c9a4769b3cb6d97a822a54213c706102c1d7ef2dabc16df32a85f46b2f6d6c6f76a4e919353b739de4 WHIRLPOOL a467e7aef3851ad219103a401e20896a89efe01615e5df753c63a74876442dcf22c78d838b269dca50af58e9484f1d1abfd56f2ecdfdb57fdb3e1087e2e7136e +DIST stellarium-0.14.3.tar.gz 137661611 SHA256 de41c5b14fdf0c5f6e73bab2975f380554487b1817f2c5a2ebad3bb8e9e729a4 SHA512 83d9a1c53f118c143e81d31e7f87dbf73368bfa981311c8bc41a51307fe6108c9169b43ad1fdde1cec84b9b1e8a4ef51d4de3b91d7aa676be38302b2223a6675 WHIRLPOOL 441302d93778185c9743451bd04148bd4a8a599eaff4f5a7b90025df9eb9873e1a203f0a82f687b7d2fb53fcf811e16903000d7179c6508738935518a2bbe966 +DIST stellarium-0.16.0.tar.gz 204675673 SHA256 2835c4aa22c1b64edbd17b174a23e4ed23654cd09e12f3573709f44843913dcf SHA512 0f75441435ff1d0fa149264116e9ae6ec3b3553f7c66e78832bdb0ffd55cbef656b820680134d95f89c73e80ef283372660ea7545db7fff205da66cf4cf8e9d6 WHIRLPOOL 45b338788313a6e4effc3e1129cbbb1396de303d233e4cc5aeab5ddaebae700f444ed3152c9d7995c59dcf6ac9f375cdee068ad78a0ee40a086d7c22f39833fe +EBUILD stellarium-0.14.3.ebuild 2774 SHA256 da83cc0141d9ba3368ec0699bb52e76112dbb684371bb88ee50d0467ffe784a5 SHA512 475cd7646e592982450186d94c2720721ca5d049823bc341151710b43903b6a5ca9d7456cbe6fe6eaaa1388e87c2cb2cf01fb39fcd15472960ee0027b76f2557 WHIRLPOOL 906b2c5bafb4ad2ad0f0d190bd545cbcf3be8b72ee99fbeb3395214748803a2391ab9982f413eda93efca90a5ff780bc2318f6db62ea9845ff35f27a182a46b0 +EBUILD stellarium-0.16.0-r1.ebuild 2724 SHA256 ce5ff1551c5cc6ec733f526d2afcfa74f927acd176e3bac2b194ba69ac4b7f2b SHA512 dd2ad3788d808ab3d27cea5667423d6c9f2061a0dc8b2baafa2c68ca2f2d4ad8b2d48339b5676f889d3b760b430bb26881a3b9f6a78ceb7e319116c2bdd2a2a6 WHIRLPOOL 350b961d0b89434cadd9fb7584f9b92996d9171f61be3376e43c9d6d295f446c7d103749ffeb4d316777695b9dee0c26353c2076ff3eba878a75b7218a6e7bfb +EBUILD stellarium-0.16.0.ebuild 2733 SHA256 2fce8864b6b0e05f25410dac8a6f732e46929f1799fcd0297f5e05d2fd261bfa SHA512 dd69d6110a21f007cfa04f6c5dff81e282b5985e8507395ac95536b15f86f80bffcb4ff012d4509e22c9233f75157bf8c7690396501f1ddc6cccd437a226a4e2 WHIRLPOOL 90fde6bcde02452d405548c81d62ca06c9151b349f4c39ce5a6d0ef17fb14c3c0c12a52c04322d144cd27973d437b12c5961d35dc36ff8abcfbc2f8603d4c65b +MISC ChangeLog 6534 SHA256 e448a0b78da89be60d5489eb58db29444df2ce3774ea35d9aa89e20d9fbc3879 SHA512 e68edf376e8444f925626808b8061a96bf584f6c4009212d1ae74141f5a230b6813bea0e57b358b76606e4f9a9a2453b30bb317563a78368c5d4f25d8d3ba836 WHIRLPOOL d1fa1222a919ef7838b7a26be8a4e18a78e94c4173f0022594b7cd91b41b334eb9ed6f405221f89dd039ea7c3a2064d0c0511dbc8edf684d1a9d23f53e2265f5 +MISC ChangeLog-2015 19060 SHA256 e21a3f6c766dc0e70995598fb9efb8c65c423815fc9421c4a78f1dd06136e5d8 SHA512 eaff80eed27e4d784d7cae37b0127bfcb1f7d7a3f48709cbd9b57e72f68e20d3d8458390f3f587f3881c17da176cc29045b8cef77ae94ee744ef754363ccc964 WHIRLPOOL 94d297bd0e770272aad1cc4c3d3f5d775627c870d19892207ee78dc4292d084825e355564a6488af110586d52fa8788e809d7b656bb80ba98cb6df56a73681f9 +MISC metadata.xml 894 SHA256 139dc9b4ae8bb8fe8934f88a3952c5151ca77268d867d4d53d03cd6a0c6bd1cd SHA512 45213563f8582d0dcf921f8541732d96b8a8ac1d8ba885290c7d455408bc7d0f21444ce058fc4c0dd69cca716006bdcda51cbd95b8b933f264bec42b05609cd8 WHIRLPOOL 6ec942aa47cef37eded2e19fc507c66f53970a59b3d4bc73870559fadc5e5d19b56de5e709e76b0439c86bcf346c18f56e48f48a939e12b3b7181ad29f6c86c0 diff --git a/sci-astronomy/stellarium/metadata.xml b/sci-astronomy/stellarium/metadata.xml new file mode 100644 index 000000000000..747986196368 --- /dev/null +++ b/sci-astronomy/stellarium/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mr_bones_@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + Stellarium is a free open source planetarium for your computer. It + shows a realistic sky in 3D, just like what you see with the naked + eye, binoculars or a telescope. It is being used in planetarium + projectors. +</longdescription> + <use> + <flag name="media">Enable sound and video support</flag> + <flag name="stars">Install extra star catalogs</flag> + <flag name="sound">Enable sound support</flag> + </use> + <upstream> + <remote-id type="sourceforge">stellarium</remote-id> + </upstream> +</pkgmetadata> diff --git a/sci-astronomy/stellarium/stellarium-0.14.3.ebuild b/sci-astronomy/stellarium/stellarium-0.14.3.ebuild new file mode 100644 index 000000000000..99024e906021 --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-0.14.3.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtscript:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + virtual/opengl + sys-libs/zlib + sound? ( dev-qt/qtmultimedia:5[widgets] )" +DEPEND="${RDEPEND} + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + nls? ( dev-qt/linguist-tools:5 )" + +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() { + DOCS="AUTHORS ChangeLog README" \ + 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_{4_1,{5,6,7,8}_2}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 +} diff --git a/sci-astronomy/stellarium/stellarium-0.16.0-r1.ebuild b/sci-astronomy/stellarium/stellarium-0.16.0-r1.ebuild new file mode 100644 index 000000000000..82634b69b2e6 --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-0.16.0-r1.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils eutils flag-o-matic gnome2-utils l10n + +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 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="debug gps media nls stars" + +RESTRICT="test" # There are no tests + +RDEPEND=" + media-fonts/dejavu + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtscript:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtserialport:5 + dev-qt/qtwidgets:5 + virtual/opengl + sys-libs/zlib + media? ( dev-qt/qtmultimedia:5[widgets] ) + gps? ( dev-qt/qtpositioning:5 ) +" +DEPEND="${RDEPEND} + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + nls? ( dev-qt/linguist-tools:5 )" + +LANGS=( + af am ar as ast az be bg bn bo br bs ca cs + cy da de el en 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 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+=" l10n_${X}" +done +unset X + +src_prepare() { + cmake-utils_src_prepare + if [[ -n ${L10N} ]] ; then + local d + for d in po/* ; do + [[ -e ${d}/CMakeLists.txt ]] || continue + local l loc="" + for l in ${L10N//-/_}; do + [[ -e ${d}/${l}.po ]] && loc="${loc} ${l}" + done + sed -e 's/STRING(REGEX REPLACE ".po" "" \([a-z]*\).*$/SET(\1 '"${loc})/" \ + -i ${d}/CMakeLists.txt || die + done + fi + use debug || append-cppflags -DQT_NO_DEBUG #415769 +} + +src_configure() { + local mycmakeargs=( + -DENABLE_GPS="$(usex gps)" + -DENABLE_NLS="$(usex nls)" + -DENABLE_MEDIA="$(usex media)" + ) + 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_{4_1,{5,6,7,8}_2}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 +} diff --git a/sci-astronomy/stellarium/stellarium-0.16.0.ebuild b/sci-astronomy/stellarium/stellarium-0.16.0.ebuild new file mode 100644 index 000000000000..55c9473a146b --- /dev/null +++ b/sci-astronomy/stellarium/stellarium-0.16.0.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils eutils flag-o-matic gnome2-utils l10n + +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 media nls stars" + +RESTRICT="test" # There are no tests + +RDEPEND=" + media-fonts/dejavu + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtopengl:5 + dev-qt/qtscript:5 + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + virtual/opengl + sys-libs/zlib + media? ( dev-qt/qtmultimedia:5[widgets] ) +" +DEPEND="${RDEPEND} + dev-qt/qttest:5 + dev-qt/qtconcurrent:5 + nls? ( dev-qt/linguist-tools:5 )" + +LANGS=( + af am ar as ast az be bg bn bo br bs ca cs + cy da de el en 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 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+=" l10n_${X}" +done +unset X + +src_prepare() { + cmake-utils_src_prepare + if [[ -n ${L10N} ]] ; then + local d + for d in po/* ; do + [[ -e ${d}/CMakeLists.txt ]] || continue + local l loc="" + for l in ${L10N//-/_}; do + [[ -e ${d}/${l}.po ]] && loc="${loc} ${l}" + done + sed -e 's/STRING(REGEX REPLACE ".po" "" \([a-z]*\).*$/SET(\1 '"${loc})/" \ + -i ${d}/CMakeLists.txt || die + done + fi + sed -i -e '/ADD_PLUGIN(TelescopeControl 1)/s/1/0/' CMakeLists.txt || die + use debug || append-cppflags -DQT_NO_DEBUG #415769 +} + +src_configure() { + local mycmakeargs=( + -DENABLE_GPS=OFF + -DENABLE_NLS="$(usex nls)" + -DENABLE_MEDIA="$(usex media)" + ) + 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_{4_1,{5,6,7,8}_2}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 +} |