summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schiffbauer <mschiff@gentoo.org>2018-03-16 22:47:01 +0100
committerMarc Schiffbauer <mschiff@gentoo.org>2018-03-16 22:47:20 +0100
commit7fd16d41f20d75bd9edf6f2e19abb4a39b9840b2 (patch)
tree386ab381ef1e531cba6a818ec478b15503b40a99 /sci-geosciences
parentx11-misc/kronometer: Switch KDE_TEST to forceoptional (diff)
downloadgentoo-7fd16d41f20d75bd9edf6f2e19abb4a39b9840b2.tar.gz
gentoo-7fd16d41f20d75bd9edf6f2e19abb4a39b9840b2.tar.bz2
gentoo-7fd16d41f20d75bd9edf6f2e19abb4a39b9840b2.zip
sci-geosciences/opencpn: bump version, fixes #650462
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/opencpn/Manifest1
-rw-r--r--sci-geosciences/opencpn/opencpn-4.8.2.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest
index 15d276dbe1f4..6baec690eb1f 100644
--- a/sci-geosciences/opencpn/Manifest
+++ b/sci-geosciences/opencpn/Manifest
@@ -3,5 +3,6 @@ DIST opencpn-4.2.0.tar.gz 40621320 BLAKE2B 3b7fbb89d2d23bd8fb0ac0b70d0b1357b8766
DIST opencpn-4.4.0.tar.gz 40840928 BLAKE2B 53ba4aa9fc499532bcbefa8cb6423eef342202e5aa786e8482ef23385f3e56465498209d8aa1863923cd9576756b6861b8e6e3c604df126a079327eecbee3047 SHA512 ebe4c3518d2addbbba36cec78719cb1c853969923e7ade4f6df78a8520224fef9f421b809f573cfa770acc9b9d31a90341d6114edc02a307682d0fca5c62b26b
DIST opencpn-4.6.1.tar.gz 52852694 BLAKE2B 71780ebea25a6c2b952470eaad477d3d392fbba3a465e1731400c1dce06fad5cab5c8bb15e58504a05b9be0dbc69401379615b7302cf59b192cb123f90f766a2 SHA512 493c4ba35011b0d69633a6c0653b23d02e50d1ca694d820b0bcaf4a96a8b7e69364ee7412a0a7c13cc1c2f1fd9bcc4f2b1b13a0b3c04e438918c77ccea78e7ab
DIST opencpn-4.8.0.tar.gz 53008393 BLAKE2B 79184b678db329e98c704f4f1a132e5d3af4a65b104c6eab1c37738cbbf98d88c21647ce654077a8f4b781221d7e3766c35d7450b81befdad7f269b636263c09 SHA512 1f1ea666566e98ee3af24423985119c1b14e184d4310dbc588b00065878b1dcb8fe73a7331e4ad3f75a905774fff187203fb31253faea7238f3d783a6729ad75
+DIST opencpn-4.8.2.tar.gz 59164504 BLAKE2B fbfa86051845a922a7c642194cd0672fbccd6a75e3897e8b0b3f9b08c091d0933a146060f83265c9a85d0bacf18f57a0f9ba55aa4f26e035a77d39d73e5e5a7d SHA512 231f8ba29f8a0343cb3807e52e8535bdade221de65a169b57e94816b4b464407ba90b605dcec21a5c45c742de076b644f076fee88616ec2867a8ae182105102d
DIST opencpn-doc_4.0.0.orig.tar.xz 14732480 BLAKE2B 32ecb7096eb795d969f42c0b2ffe87d2d74bf20502ac93233b2953f9e26b834498fb9876d88c9fb0e4a792509b8fb971f661aadeeaed2eda289fc633c67e0fe8 SHA512 fb80e4afb759c99cf24b498c454bc492aa0b3c02443424b0f39910e1a494670093ac5ee19cd40a8a0abb345e18b7496b8a70c160bed5215af6bcee07e145ee36
DIST opencpn-doc_4.1.1329.1.orig.tar.xz 8739872 BLAKE2B 1d0b1538230488586318212d371669d0dfd6fefb45a49c1405c8749cfc2d5b1ced39c03ad7814954db42644ab5c21a37177e0f315b8d6d49c2200508f27a9899 SHA512 652a932edbf8a6f05fd3c64ddf566f817405cf44697035f58ddbf1a99bf92269b7fd9ee83b7ee065aa60db15b6030d8c5c9a4a4001049ed2def9962bc51746c2
diff --git a/sci-geosciences/opencpn/opencpn-4.8.2.ebuild b/sci-geosciences/opencpn/opencpn-4.8.2.ebuild
new file mode 100644
index 000000000000..b24467fe1fd0
--- /dev/null
+++ b/sci-geosciences/opencpn/opencpn-4.8.2.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+inherit cmake-utils wxwidgets
+
+DOC_VERSION="4.1.1329.1"
+
+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_${DOC_VERSION}.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
+ -DBUNDLE_GSHHS=CRUDE
+ -DBUNDLE_TCDATA=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/${PF}/html/help_en_US.html"
+ fi
+}