Gentoo Archives: gentoo-commits

From: "Julian Ospald (hasufell)" <hasufell@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-geosciences/osgearth: osgearth-2.5.ebuild ChangeLog osgearth-2.4.ebuild
Date: Fri, 22 Nov 2013 13:37:01
Message-Id: 20131122133655.409CA2004B@flycatcher.gentoo.org
1 hasufell 13/11/22 13:36:55
2
3 Modified: ChangeLog
4 Added: osgearth-2.5.ebuild
5 Removed: osgearth-2.4.ebuild
6 Log:
7 version bump, remove old
8
9 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
10
11 Revision Changes Path
12 1.4 sci-geosciences/osgearth/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/osgearth/ChangeLog?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/osgearth/ChangeLog?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/osgearth/ChangeLog?r1=1.3&r2=1.4
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/ChangeLog,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- ChangeLog 3 Nov 2013 12:02:48 -0000 1.3
25 +++ ChangeLog 22 Nov 2013 13:36:54 -0000 1.4
26 @@ -1,6 +1,13 @@
27 # ChangeLog for sci-geosciences/osgearth
28 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/ChangeLog,v 1.3 2013/11/03 12:02:48 hasufell Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/ChangeLog,v 1.4 2013/11/22 13:36:54 hasufell Exp $
31 +
32 +*osgearth-2.5 (22 Nov 2013)
33 +
34 + 22 Nov 2013; Julian Ospald <hasufell@g.o>
35 + +files/osgearth-2.5-cmake-options.patch, +osgearth-2.5.ebuild,
36 + -files/osgearth-2.4-FindMiniZip.cmake.patch, -osgearth-2.4.ebuild:
37 + version bump, remove old
38
39 03 Nov 2013; Julian Ospald <hasufell@g.o> osgearth-2.4.ebuild:
40 fix dev-lang/v8 dep wrt #484786
41
42
43
44 1.1 sci-geosciences/osgearth/osgearth-2.5.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/osgearth/osgearth-2.5.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-geosciences/osgearth/osgearth-2.5.ebuild?rev=1.1&content-type=text/plain
48
49 Index: osgearth-2.5.ebuild
50 ===================================================================
51 # Copyright 1999-2013 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/osgearth-2.5.ebuild,v 1.1 2013/11/22 13:36:54 hasufell Exp $
54
55 EAPI=5
56
57 inherit cmake-utils
58
59 DESCRIPTION="Dynamic map generation toolkit for OpenSceneGraph"
60 HOMEPAGE="http://osgearth.org/"
61 SRC_URI="https://github.com/gwaldron/osgearth/archive/${P}.tar.gz"
62
63 LICENSE="LGPL-2+"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="doc qt4"
67
68 RDEPEND="
69 dev-db/sqlite:3
70 dev-games/openscenegraph[curl,qt4?]
71 dev-libs/tinyxml
72 net-misc/curl
73 sci-libs/gdal
74 sci-libs/geos
75 sys-libs/zlib[minizip]
76 virtual/opengl
77 x11-libs/libX11
78 qt4? (
79 dev-qt/qtcore:4
80 dev-qt/qtgui:4
81 dev-qt/qtopengl:4
82 )"
83 DEPEND="${RDEPEND}
84 virtual/pkgconfig
85 doc? ( dev-python/sphinx )"
86
87 S=${WORKDIR}/${PN}-${P}
88
89 PATCHES=( "${FILESDIR}"/${P}-cmake-options.patch )
90
91 src_configure() {
92 # V8 disabled due to
93 # https://github.com/gwaldron/osgearth/issues/333
94 local mycmakeargs=(
95 -DWITH_EXTERNAL_TINYXML=ON
96 $(cmake-utils_use qt4 OSGEARTH_USE_QT)
97 -DOSGEARTH_USE_V8=OFF
98 -DOSGEARTH_USE_JAVASCRIPTCORE=OFF
99 -DOSGEARTH_USE_LIBNOISE=OFF
100 )
101
102 cmake-utils_src_configure
103 }
104
105 src_compile() {
106 cmake-utils_src_compile
107
108 if use doc ; then
109 emake -C "${S}"/docs man html info
110 fi
111 }
112
113 src_install() {
114 cmake-utils_src_install
115
116 if use doc ; then
117 dohtml -r "${S}"/docs/build/html/*
118 doman "${S}"/docs/build/man/*
119 doinfo "${S}"/docs/build/texinfo/*.info*
120 fi
121 }