blob: 78f1c9762f66a7982296b05505f8eb1e84a3d8e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kstars/kstars-4.1.2.ebuild,v 1.2 2008/11/03 10:42:35 vapier Exp $
EAPI="2"
KMNAME=kdeedu
inherit kde4-meta flag-o-matic toolchain-funcs
DESCRIPTION="KDE Desktop Planetarium"
KEYWORDS="~amd64 ~x86"
IUSE="debug fits htmlhandbook nova sbig usb"
DEPEND=">=kde-base/libkdeedu-${PV}:${SLOT}
fits? ( sci-libs/cfitsio )
nova? ( >=sci-libs/libnova-0.12.1 )
sbig? ( sci-libs/indilib
usb? ( dev-libs/libusb ) )"
RDEPEND="${DEPEND}"
PATCHES=("${FILESDIR}/${PN}-4.1.0-destdir.patch")
src_unpack() {
[[ $(tc-arch) == "ppc64" ]] && append-flags -mminimal-toc #241900
kde4-meta_src_unpack
}
src_configure() {
mycmakeargs="${mycmakeargs}
$(cmake-utils_use_with fits CFitsio)
$(cmake-utils_use_with nova Nova)
$(cmake-utils_use_with sbig SBIG)
$(cmake-utils_use_with usb USB)"
sed -i -e "s:add_subdirectory(cmake):#dontwantit:g" CMakeLists.txt \
|| die "disabling cmake includes failed"
sed -i -e "s:add_subdirectory( cmake ):#dontwantit:g" CMakeLists.txt \
|| die "disabling cmake includes failed"
kde4-meta_src_configure
# FIXME Unhandled arguments - added sbig but not sure about use descriptions or flag names...
# WITH_SBIG - Switch which controls the detection of the proprietary and binary only SBIG CCD universal library. No ebuild for this package
# are available at the moment.
# ssh_tunnel -> INDI Server binds locally. Remote clients may only connect
# via SSH Tunneling.
}
|