summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ulyanov <disinbox@gmail.com>2015-06-06 09:54:19 +0300
committerIgor Ulyanov <disinbox@gmail.com>2015-06-06 09:54:19 +0300
commit80a85cb00249adb0fc524ac7722900669a993f6d (patch)
treee5e708352db45b87192761e992a89bcaab21e508
parentdigikam no more needed (diff)
downloaddisplacer-80a85cb00249adb0fc524ac7722900669a993f6d.tar.gz
displacer-80a85cb00249adb0fc524ac7722900669a993f6d.tar.bz2
displacer-80a85cb00249adb0fc524ac7722900669a993f6d.zip
osgEarth-9999 added
-rw-r--r--sci-geosciences/osgearth/ChangeLog36
-rw-r--r--sci-geosciences/osgearth/Manifest4
-rw-r--r--sci-geosciences/osgearth/files/osgearth-2.6-cmake-options.patch30
-rw-r--r--sci-geosciences/osgearth/metadata.xml20
-rw-r--r--sci-geosciences/osgearth/osgearth-9999.ebuild76
5 files changed, 166 insertions, 0 deletions
diff --git a/sci-geosciences/osgearth/ChangeLog b/sci-geosciences/osgearth/ChangeLog
new file mode 100644
index 0000000..400fb55
--- /dev/null
+++ b/sci-geosciences/osgearth/ChangeLog
@@ -0,0 +1,36 @@
+# ChangeLog for sci-geosciences/osgearth
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/ChangeLog,v 1.7 2015/04/04 06:30:32 mr_bones_ Exp $
+
+ 04 Apr 2015; Michael Sterrett <mr_bones_@gentoo.org>
+ -files/osgearth-2.5-cmake-options.patch, -osgearth-2.5.ebuild:
+ old
+
+ 25 Nov 2014; Julian Ospald <hasufell@gentoo.org> metadata.xml:
+ drop maintainership
+
+*osgearth-2.6 (10 Oct 2014)
+
+ 10 Oct 2014; Julian Ospald <hasufell@gentoo.org> +osgearth-2.6.ebuild,
+ +files/osgearth-2.6-cmake-options.patch,
+ +files/osgearth-2.6-disable-qt5.patch:
+ version bump
+
+*osgearth-2.5 (22 Nov 2013)
+
+ 22 Nov 2013; Julian Ospald <hasufell@gentoo.org>
+ +files/osgearth-2.5-cmake-options.patch, +osgearth-2.5.ebuild,
+ -files/osgearth-2.4-FindMiniZip.cmake.patch, -osgearth-2.4.ebuild:
+ version bump, remove old
+
+ 03 Nov 2013; Julian Ospald <hasufell@gentoo.org> osgearth-2.4.ebuild:
+ fix dev-lang/v8 dep wrt #484786
+
+ 21 Jul 2013; Julian Ospald <hasufell@gentoo.org> osgearth-2.4.ebuild:
+ fix deps
+
+*osgearth-2.4 (21 Jul 2013)
+
+ 21 Jul 2013; Julian Ospald <hasufell@gentoo.org> +osgearth-2.4.ebuild,
+ +files/osgearth-2.4-FindMiniZip.cmake.patch, +metadata.xml:
+ initial import
diff --git a/sci-geosciences/osgearth/Manifest b/sci-geosciences/osgearth/Manifest
new file mode 100644
index 0000000..df55d1d
--- /dev/null
+++ b/sci-geosciences/osgearth/Manifest
@@ -0,0 +1,4 @@
+AUX osgearth-2.6-cmake-options.patch 907 SHA256 f079b04d7d3b27a5987e1039f8743eb8a488da9375971a4f5e2f7d325c4c3a9d SHA512 f62ca6d4c9f041e3fd29c591cb408ccd17abb75d8fa49e63300786b8a257daa6a69180699d634b891bb56e25c60bd806b44e59087608d7d8480472f4b613daf2 WHIRLPOOL 1ea811208f56f76ca878f74690de758be231056c3f4b95e91eed120fd700c049097b9a43555e150d7218dd32fbef91c74128c7ef01f0ec2d41af583f33e1dd21
+EBUILD osgearth-9999.ebuild 1613 SHA256 7efbb668e447ef3506721eab2ccfba53d737315d3fb8e2c37f1d5bf47f8fec23 SHA512 ceea964db1dbe8292b5a10c81ad317c12601ce957ed15f4c508913624bde9473fbbaf9120c5802d510a873fed6880cf9dab7de48fa6d15c7bdc7e4925a008e3b WHIRLPOOL 80120c76f50f234994fc6ead61572880bc6f7123b6ecb6aedfe317bc61e3683048d824e0c2c2a8c92dda82673ff0cf83f52ed37b7efd2a7c7a76c124ef347c76
+MISC ChangeLog 1255 SHA256 343571a4e5eeb44d15c37fd6872e79cade80e6089b299b437d5f6337aee79ce9 SHA512 32966315c90540601a63d003bbd5ef2782f51ee779e920598bf6a7dc4d97ba36eebeed41bd8282c520f6877bc5ee8972df989323442c7ca2cb6767bec8592f31 WHIRLPOOL 7447750fe60060285cd3f6558c7b69e43bea977d862de57ff221e400d094e99352fce23ca06979abe6c53046c0c2a78623ff93a26b2b32a8da87036fb186763c
+MISC metadata.xml 793 SHA256 754ec0db76076841b69a00ab79149cb1c8c441d6488e351f49ad2cd0f58759f7 SHA512 907a5959c80668b34f91f928b36e31f381bc9878e86a2b29a84408eeb44b333f1830baa43c3cc906b37aa82d5d6566ea4da789fe1a8f963877e1002ed3e55339 WHIRLPOOL 316a210f73502400715503431f9720218eba2035078de10ef045dfdb1602baf7bc196aa0cce599747a76122433a5a86de6e64b37c7eb852b67b1742773441d93
diff --git a/sci-geosciences/osgearth/files/osgearth-2.6-cmake-options.patch b/sci-geosciences/osgearth/files/osgearth-2.6-cmake-options.patch
new file mode 100644
index 0000000..389609b
--- /dev/null
+++ b/sci-geosciences/osgearth/files/osgearth-2.6-cmake-options.patch
@@ -0,0 +1,30 @@
+commit d92cee4d9870fab08fdfadf9ab0bfb4658a09aa3
+Author: hasufell <hasufell@gentoo.org>
+Date: Fri Nov 22 14:06:34 2013 +0100
+
+ add cmake options
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 34cd375..dbb4cb4 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -129,8 +129,17 @@
+
+ # JavaScript Engines:
+ SET(V8_DIR "" CACHE PATH "set to base V8 install path")
+-FIND_PACKAGE(V8)
+-FIND_PACKAGE(JavaScriptCore)
++OPTION(OSGEARTH_USE_V8 "Enable to use V8 JavaScript engine" ON)
++IF(OSGEARTH_USE_V8)
++ FIND_PACKAGE(V8)
++ENDIF(OSGEARTH_USE_V8)
++
++OPTION(OSGEARTH_USE_JAVASCRIPTCORE "Enable use of JavaScriptCore" ON)
++OPTION(OSGEARTH_USE_LIBNOISE "Enable use of LibNoise" ON)
++
++IF (OSGEARTH_USE_JAVASCRIPTCORE)
++ FIND_PACKAGE(JavaScriptCore)
++ENDIF (OSGEARTH_USE_JAVASCRIPTCORE)
+
+ SET (WITH_EXTERNAL_DUKTAPE FALSE CACHE BOOL "Use bundled or system wide version of Duktape")
+ IF (WITH_EXTERNAL_DUKTAPE)
diff --git a/sci-geosciences/osgearth/metadata.xml b/sci-geosciences/osgearth/metadata.xml
new file mode 100644
index 0000000..f1a2be1
--- /dev/null
+++ b/sci-geosciences/osgearth/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ osgEarth is a C++ terrain rendering toolkit. Just create a
+ simple XML file, point it at your imagery, elevation, and
+ vector data, load it into your favorite OpenSceneGraph
+ application, and go! osgEarth supports all kinds of data and
+ comes with lots of examples to help you get up and running
+ quickly and easily.
+ </longdescription>
+ <upstream>
+ <doc lang="en">http://docs.osgearth.org/en/latest</doc>
+ <bugs-to>https://github.com/gwaldron/osgearth/issues</bugs-to>
+ <remote-id type="github">gwaldron/osgearth</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/sci-geosciences/osgearth/osgearth-9999.ebuild b/sci-geosciences/osgearth/osgearth-9999.ebuild
new file mode 100644
index 0000000..7345101
--- /dev/null
+++ b/sci-geosciences/osgearth/osgearth-9999.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/osgearth/osgearth-2.6.ebuild,v 1.1 2014/10/10 20:18:46 hasufell Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Dynamic map generation toolkit for OpenSceneGraph"
+HOMEPAGE="http://osgearth.org/"
+
+if [[ "${PV}" = "9999" ]]; then
+ inherit git-2
+ EGIT_REPO_URI="git://github.com/Displacer/osgearth.git"
+else
+ SRC_URI="https://github.com/gwaldron/osgearth/archive/${P}.tar.gz"
+ S=${WORKDIR}/${PN}-${P}
+fi
+
+LICENSE="LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc qt4"
+
+RDEPEND="
+ dev-db/sqlite:3
+ >=dev-games/openscenegraph-3.2.1[curl,qt4?]
+ dev-libs/tinyxml
+ net-misc/curl
+ sci-libs/gdal
+ sci-libs/geos
+ sys-libs/zlib[minizip]
+ virtual/opengl
+ x11-libs/libX11
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtopengl:4
+ )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )"
+
+#PATCHES=( "${FILESDIR}"/${P}-{cmake-options}.patch )
+
+src_configure() {
+ # V8 disabled due to
+ # https://github.com/gwaldron/osgearth/issues/333
+ local mycmakeargs=(
+ -DWITH_EXTERNAL_TINYXML=ON
+ $(cmake-utils_use qt4 OSGEARTH_USE_QT)
+ -DOSGEARTH_USE_V8=OFF
+ -DOSGEARTH_USE_JAVASCRIPTCORE=OFF
+ -DOSGEARTH_USE_LIBNOISE=OFF
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ if use doc ; then
+ emake -C "${S}"/docs man html info
+ fi
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc ; then
+ dohtml -r "${S}"/docs/build/html/*
+ doman "${S}"/docs/build/man/*
+ doinfo "${S}"/docs/build/texinfo/*.info*
+ fi
+}