Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 181934
Collapse All | Expand All

(-)/usr/portage/sci-astronomy/stellarium/stellarium-0.8.2.ebuild (-16 / +11 lines)
Lines 2-42 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.8.2.ebuild,v 1.6 2007/02/03 22:47:25 tgall Exp $
3
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/stellarium/stellarium-0.8.2.ebuild,v 1.6 2007/02/03 22:47:25 tgall Exp $
4
4
5
inherit eutils flag-o-matic
6
7
DESCRIPTION="Stellarium renders 3D photo-realistic skies in real time."
5
DESCRIPTION="Stellarium renders 3D photo-realistic skies in real time."
8
HOMEPAGE="http://www.stellarium.org/"
6
HOMEPAGE="http://www.stellarium.org/"
9
SRC_URI="mirror://sourceforge/stellarium/${P}.tar.gz"
7
SRC_URI="mirror://sourceforge/stellarium/${P}.tar.gz"
10
8
11
LICENSE="GPL-2"
9
LICENSE="GPL-2"
12
SLOT="0"
10
SLOT="0"
13
KEYWORDS="amd64 ppc ppc64 x86"
11
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
14
IUSE="nls"
12
IUSE="mixer nls"
15
13
16
RDEPEND="virtual/opengl
14
RDEPEND="virtual/opengl
17
	virtual/glu
15
	virtual/glu
18
	media-libs/libsdl
16
	media-libs/libsdl
19
	media-libs/libpng
20
	media-libs/sdl-mixer
17
	media-libs/sdl-mixer
18
	sys-libs/zlib
19
	media-libs/libpng
21
	media-libs/freetype
20
	media-libs/freetype
21
	dev-libs/boost
22
	media-libs/jpeg
23
	net-misc/curl
24
	=x11-libs/qt-4.2*
25
	mixer? ( media-libs/sdl-mixer )
22
	nls? ( virtual/libintl )"
26
	nls? ( virtual/libintl )"
23
DEPEND="${RDEPEND}
27
DEPEND="${RDEPEND}
28
	>=dev-util/cmake-2.4.6
24
	nls? ( sys-devel/gettext )
29
	nls? ( sys-devel/gettext )
25
	|| ( x11-libs/libXt virtual/x11 )"
30
	|| ( x11-libs/libXt virtual/x11 )"
26
31
27
src_unpack() {
28
	unpack ${A}
29
	cd "${S}"
30
	epatch "${FILESDIR}/${P}-amd64.patch"
31
}
32
33
32
34
src_compile() {
33
src_compile() {
35
	append-flags -fno-strict-aliasing
34
	cmake -DCMAKE_INSTALL_PREFIX="${ROOT/%\//}/usr" || die "cmake failed"
36
	econf \
37
		--disable-dependency-tracking \
38
		$(use_enable nls) \
39
		|| die
40
	emake || die "emake failed"
35
	emake || die "emake failed"
41
}
36
}
42
37

Return to bug 181934