diff options
author | Nils Schlupp <nils.schlupp@gmail.com> | 2022-05-06 18:13:34 -0700 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2022-05-17 23:16:28 -1000 |
commit | 89f9466c6d3fdab44ed640c1167c09d6512c77e4 (patch) | |
tree | a2d696bc6d6113e9f55528c400427df82cfe3ca1 /sci-geosciences/opencpn | |
parent | app-editors/okteta: 0.26.8 version bump (diff) | |
download | gentoo-89f9466c6d3fdab44ed640c1167c09d6512c77e4.tar.gz gentoo-89f9466c6d3fdab44ed640c1167c09d6512c77e4.tar.bz2 gentoo-89f9466c6d3fdab44ed640c1167c09d6512c77e4.zip |
sci-geosciences/opencpn: add 5.6.2
Signed-off-by: Nils Schlupp <nils.schlupp@gmail.com>
Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
Diffstat (limited to 'sci-geosciences/opencpn')
-rw-r--r-- | sci-geosciences/opencpn/Manifest | 1 | ||||
-rw-r--r-- | sci-geosciences/opencpn/opencpn-5.6.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest index 299cbb7a49fe..1d1d8e64a89d 100644 --- a/sci-geosciences/opencpn/Manifest +++ b/sci-geosciences/opencpn/Manifest @@ -1,2 +1,3 @@ DIST opencpn-5.2.4.tar.gz 81226481 BLAKE2B 7c5bb1157e94d3271bce899740cdf6d9d5dc17c4406b3020fa8a91ae728ca3c0ddab799affa219b833df86e547de91b2e6ccd11fa57fff056550a440d9968fad SHA512 13543272fe4c68b911c42fdc19f0bd7842809edc8e91d73899030f70668e78c448474541a5742ad675d6e2b361240ca1a5d603b163f8b5107539720442ee19a0 +DIST opencpn-5.6.2.tar.gz 82919992 BLAKE2B a45e19d293d63262f2bb6bd0bd5d18723cadd0b93af8e64484b55d246cebbe623dccbb6a1d257eccd74fb9111953d9cdd4b44d6f3fb38c3a9f40fa253718f337 SHA512 6d90b21448b2d2a58685592e92647108978012cbaa25999d98855dca222e013784ca4e351eb08efd0a18980cccffb28b0d3c171ea9207e5fb37889e3a3b377e3 DIST opencpn-doc_4.8.2.0.orig.tar.xz 22302480 BLAKE2B 2bcd2ac01340cde0d0be80537321c8c3e829a8e664944c34f3f3112f931c45746059b5c173402982601ccf88926241741c7fb44f251e9fe48b83aa5f3e8d7727 SHA512 678317c77feb3b0bf695e337e7e95083df1d488e0a5ad3bad41bad11dc87271d6fc0ac194a6b63b603d5c1f1184e6c9f91de895a7db01017ef2a7068a62404eb diff --git a/sci-geosciences/opencpn/opencpn-5.6.2.ebuild b/sci-geosciences/opencpn/opencpn-5.6.2.ebuild new file mode 100644 index 000000000000..883a844851f8 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-5.6.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +WX_GTK_VER="3.0-gtk3" +inherit wxwidgets xdg cmake + +DOC_VERSION="4.8.2.0" + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="https://opencpn.org/" +SRC_URI=" + https://github.com/OpenCPN/OpenCPN/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${DOC_VERSION}.orig.tar.xz )" +S="${WORKDIR}/OpenCPN-Release_${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc lzma opengl" + +RDEPEND=" + app-arch/bzip2 + lzma? ( app-arch/xz-utils ) + dev-libs/tinyxml + media-libs/freetype:2 + media-libs/portaudio + net-misc/curl + sys-libs/zlib + opengl? ( virtual/opengl ) + x11-libs/gtk+:3 + x11-libs/wxGTK:${WX_GTK_VER}[X]" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + sys-apps/lsb-release" + +#PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) + +src_configure() { + use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. ) + + setup-wxwidgets + local mycmakeargs=( + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DBUNDLE_GSHHS=CRUDE + -DBUNDLE_TCDATA=ON + ) + + cmake_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + + if use doc; then + einfo "Documentation is available at file:///usr/share/doc/${PF}/html/help_en_US.html" + fi +} |