/[gentoo-x86]/kde-base/marble/marble-4.8.3.ebuild
Gentoo

Contents of /kde-base/marble/marble-4.8.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Mon Sep 3 13:00:35 2012 UTC (8 months, 2 weeks ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Remove KDE SC 4.8.3

(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.8.3.ebuild,v 1.7 2012/07/15 16:37:26 kensington Exp $
4
5 EAPI=4
6
7 KDE_HANDBOOK="optional"
8 KDE_REQUIRED="optional"
9 CPPUNIT_REQUIRED="optional"
10 PYTHON_DEPEND="python? 2"
11 KDE_SCM="git"
12 inherit kde4-base python
13
14 DESCRIPTION="Generic geographical map widget"
15 KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
16 IUSE="debug designer-plugin gps +kde plasma python"
17
18 # tests fail / segfault. Last checked for 4.2.88
19 # RESTRICT=test
20
21 DEPEND="
22 x11-libs/qt-core:4
23 x11-libs/qt-gui:4[dbus]
24 x11-libs/qt-script:4
25 x11-libs/qt-webkit:4
26 gps? ( >=sci-geosciences/gpsd-2.95[qt4] )
27 python? (
28 >=dev-python/PyQt4-4.4.4-r1
29 kde? ( $(add_kdebase_dep pykde4) )
30 )
31 "
32 RDEPEND="${DEPEND}
33 "
34 # the qt dependencies are needed because with USE=-kde nothing is pulled in
35 # by default... bug 414165
36
37 REQUIRED_USE="
38 plasma? ( kde )
39 python? ( kde )
40 "
41
42 pkg_setup() {
43 python_set_active_version 2
44 kde4-base_pkg_setup
45 python_pkg_setup
46 }
47
48 src_prepare() {
49 kde4-base_src_prepare
50 python_convert_shebangs -r $(python_get_version) .
51 }
52
53 src_configure() {
54 local mycmakeargs=(
55 $(cmake-utils_use_with designer-plugin DESIGNER_PLUGIN)
56 $(cmake-utils_use python EXPERIMENTAL_PYTHON_BINDINGS)
57 $(cmake-utils_use_with python PyQt4)
58 $(cmake-utils_use_with python PythonLibrary)
59 $(cmake-utils_use_with python SIP)
60 $(cmake-utils_use_with gps libgps)
61 $(cmake-utils_use !kde QTONLY)
62 $(cmake-utils_use_with plasma)
63 -DWITH_liblocation=0
64 $(use kde && cmake-utils_use_with python PyKDE4)
65 )
66
67 kde4-base_src_configure
68 }
69
70 src_test() {
71 if use kde; then
72 elog "Marble tests can only be run in the qt-only version"
73 else
74 kde4-base_src_test
75 fi
76 }

  ViewVC Help
Powered by ViewVC 1.1.13