diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-18 11:13:56 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-18 11:13:56 +0100 |
commit | d5648192658884805d4e46a0c2879304645eb581 (patch) | |
tree | 27f017dea31251199c3663cad543b7c9a6b59c6f /sci-astronomy/celestia | |
parent | sci-astronomy/erfa: Remove old (diff) | |
download | gentoo-d5648192658884805d4e46a0c2879304645eb581.tar.gz gentoo-d5648192658884805d4e46a0c2879304645eb581.tar.bz2 gentoo-d5648192658884805d4e46a0c2879304645eb581.zip |
sci-astronomy/celestia: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-astronomy/celestia')
-rw-r--r-- | sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild b/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild deleted file mode 100644 index a5fe892dd0d3..000000000000 --- a/sci-astronomy/celestia/celestia-1.7.0_pre20200316.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit desktop flag-o-matic xdg cmake - -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/CelestiaProject/Celestia.git" - inherit git-r3 -else - if [[ ${PV} == *_p* ]] ; then - COMMIT_ID="df508a0c597a3d96c1c039fa4a973e294021cfba" - SRC_URI="https://github.com/${PN^}Project/${PN^}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz" - S="${WORKDIR}/${PN^}-${COMMIT_ID}" - KEYWORDS="~amd64 ~x86" - else - SRC_URI="https://github.com/${PN^}Project/${PN^}/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" - fi -fi - -DESCRIPTION="OpenGL 3D space simulator" -HOMEPAGE="https://celestia.space" - -LICENSE="GPL-2+" -SLOT="0" -IUSE="glut lua nls +qt5 theora" -REQUIRED_USE="|| ( glut qt5 )" - -BDEPEND=" - dev-cpp/eigen - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -DEPEND=" - dev-libs/libfmt:= - media-libs/glew:0= - media-libs/libpng:0= - sys-libs/zlib:= - virtual/glu - virtual/jpeg:0 - virtual/opengl - glut? ( media-libs/freeglut ) - lua? ( dev-lang/lua:0= ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - ) - theora? ( - media-libs/libogg - media-libs/libtheora - ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - # make better desktop files - "${FILESDIR}"/${PN}-1.5.0-desktop.patch - # add a ~/.celestia for extra directories - "${FILESDIR}"/${PN}-1.6.99-cfg.patch -) - -src_prepare() { - cmake_src_prepare - - ### This version of Celestia has a bug in the font rendering and - ### requires -fsigned-char. We should be able to force this flag - ### on all architectures. See bug #316573. - append-flags "-fsigned-char" -} - -src_configure() { - local mycmakeargs=( - -DENABLE_CELX="$(usex lua)" - -DENABLE_NLS="$(usex nls)" - -DENABLE_GLUT="$(usex glut)" - -DENABLE_GTK=OFF - -DENABLE_QT="$(usex qt5)" - -DENABLE_WIN=OFF - -DENABLE_THEORA="$(usex theora)" - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - local size - for size in 16 22 32 48 ; do - newicon -s ${size} "${S}"/src/celestia/kde/data/hi${size}-app-${PN}.png ${PN}.png - done - newicon -s 128 "${S}"/src/celestia/gtk/data/${PN}-logo.png ${PN}.png - doicon -s scalable "${S}"/src/celestia/gtk/data/${PN}.svg - - use glut && domenu ${PN}.desktop - if use qt5 ; then - sed \ - -e "/^Name/s@\$@ (qt5 interface)@" \ - -e "/^Exec/s@${PN}@${PN}-qt@" \ - ${PN}.desktop > "${T}"/${PN}-qt5.desktop || die - domenu "${T}"/${PN}-qt5.desktop - fi - dodoc AUTHORS README TRANSLATORS *.txt -} |