summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2016-10-31 23:02:02 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2016-10-31 23:03:17 +0100
commit22151a788ef7d65db1c02ff1470180caccc78d06 (patch)
treed7ecfb832826e1e00a08de05923a3c9b9b1951c6 /sci-geosciences/opencpn
parentsci-libs/gdal: Add sub-slot operator for media-libs/jasper (diff)
downloadgentoo-22151a788ef7d65db1c02ff1470180caccc78d06.tar.gz
gentoo-22151a788ef7d65db1c02ff1470180caccc78d06.tar.bz2
gentoo-22151a788ef7d65db1c02ff1470180caccc78d06.zip
sci-geosciences/opencpn: bump: added version 4.4.0
Package-Manager: portage-2.3.2
Diffstat (limited to 'sci-geosciences/opencpn')
-rw-r--r--sci-geosciences/opencpn/Manifest1
-rw-r--r--sci-geosciences/opencpn/opencpn-4.4.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest
index ea94e347eb5e..500ce490e2ab 100644
--- a/sci-geosciences/opencpn/Manifest
+++ b/sci-geosciences/opencpn/Manifest
@@ -1,4 +1,5 @@
DIST opencpn-3.2.2.tar.gz 50225043 SHA256 bb53b8264fb6fd82e3e7778771ffdcec26621c24db9ece388c4e5e89711550ab SHA512 0ea40529e12ab3fd7f21c60d87c33aed2038b2dff1ecb9a4ff799f15fe6d0c73d65a91f7eb02949383f45629bfd4715319b72a6bb5bc76114b53636818e8ca6b WHIRLPOOL db5bca7541bc8aa7c18e80bdb25d91674f681e9f0922c885324896651ce075b74e017caee5e0d304617d92bf221e4e6c0754f6aae9276027a62383c38ca4b98f
DIST opencpn-4.0.0.tar.gz 40095375 SHA256 b1930dc74a59744327496b0ec23b58836fa0643cb9dd1d5c5b7f1a8221bb801e SHA512 84e20d5a5496778096f9cbce3507475ae6c11619eb5cc19e928647e360980e2ac868d1f45712bfc8da3607d4fa3822b6672b8844a914b387aeeda7bf645668f0 WHIRLPOOL f1ee241203bccc32816e970c61a896f317f747c6c9701e2a15140724f75c8bca802df942e420d126f88ff9adae9c1634155e4e2b482f060e7955fb0061da82f3
DIST opencpn-4.2.0.tar.gz 40621320 SHA256 319b6232adae6017fc0575abdd94658e6e406a894644937c53744ea0b1fefb9f SHA512 86bc1b29482b41ff615a8904017279a0e42785c7b74aa4f2b6195a388943408fb85802253dead1144218900cf7aa163bfe928ca3aaa86ca32d04979a377a80bf WHIRLPOOL 6db7594d9113eff72e889b52e168b2b8095248b4d4e710f0d420d1628f08dfe5f277757319201d092089fe9f7ea3a6a60c61c8ca72d4a04e1b34c4ee9a4ad97e
+DIST opencpn-4.4.0.tar.gz 40840928 SHA256 577ae0fa44d31840e268b22c50b78130695fdfc796420514c93b238d5bde39b9 SHA512 ebe4c3518d2addbbba36cec78719cb1c853969923e7ade4f6df78a8520224fef9f421b809f573cfa770acc9b9d31a90341d6114edc02a307682d0fca5c62b26b WHIRLPOOL a5bd0c82731bf6f498d8bf3a4b558e8563416e9f98d4d757e507ec90267988319cbe3792b1cb9846cbf2917acab0509f60c58f4c95b0452aa2dfa5df9cefeaf2
DIST opencpn-doc_4.0.0.orig.tar.xz 14732480 SHA256 3bc27c19f1b21e4cff69e594081cac765c1ff975374c02bc4fb703cb02a4cd92 SHA512 fb80e4afb759c99cf24b498c454bc492aa0b3c02443424b0f39910e1a494670093ac5ee19cd40a8a0abb345e18b7496b8a70c160bed5215af6bcee07e145ee36 WHIRLPOOL 49e51ab2555513fb4e7436d326c89a1e4b707be263bb5fb7a866bd79c1053c8078d932a39664de5701b12ae712db9d0fb9147002f40a1d9c3af1674d61bf7818
diff --git a/sci-geosciences/opencpn/opencpn-4.4.0.ebuild b/sci-geosciences/opencpn/opencpn-4.4.0.ebuild
new file mode 100644
index 000000000000..fc4b6eed4a38
--- /dev/null
+++ b/sci-geosciences/opencpn/opencpn-4.4.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+inherit cmake-utils wxwidgets
+
+DESCRIPTION="a free, open source software for marine navigation"
+HOMEPAGE="http://opencpn.org/"
+SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz
+doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_4.0.0.orig.tar.xz )
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc gps opengl"
+
+RDEPEND="
+ app-arch/bzip2
+ dev-libs/tinyxml
+ media-libs/freetype:2
+ media-libs/portaudio
+ sys-libs/zlib
+ opengl? ( virtual/opengl )
+ x11-libs/gtk+:2
+ x11-libs/wxGTK:${WX_GTK_VER}[X]
+ gps? ( sci-geosciences/gpsd )
+ !sci-geosciences/opencpn-plugin-wmm
+"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+S="${WORKDIR}/OpenCPN-${PV}"
+
+src_configure() {
+ need-wxwidgets unicode
+ local mycmakeargs=(
+ $(cmake-utils_use_use gps GPSD)
+ -DUSE_S57=ON
+ -DUSE_GARMINHOST=ON
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ if use doc; then
+ dohtml -r "${S}"/../${PN}/doc/*
+ fi
+ cmake-utils_src_install
+}
+
+pkg_postinst() {
+ if use doc; then
+ einfo "Documentation is available at file:///usr/share/doc/${P}/html/help_en_US.html"
+ fi
+}