From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn/
Date: Sun, 25 Oct 2015 16:45:39 +0000 (UTC) [thread overview]
Message-ID: <1445791523.a5d0d8b5f0a6db5ef7d4beeb967ebcbfa3e213ce.pacho@gentoo> (raw)
commit: a5d0d8b5f0a6db5ef7d4beeb967ebcbfa3e213ce
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 25 16:45:23 2015 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 25 16:45:23 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d0d8b5
sci-geosciences/opencpn: Support wxGTK:3.0
Package-Manager: portage-2.2.23
sci-geosciences/opencpn/opencpn-4.0.0-r1.ebuild | 68 +++++++++++++++++++++++++
1 file changed, 68 insertions(+)
diff --git a/sci-geosciences/opencpn/opencpn-4.0.0-r1.ebuild b/sci-geosciences/opencpn/opencpn-4.0.0-r1.ebuild
new file mode 100644
index 0000000..84b9841
--- /dev/null
+++ b/sci-geosciences/opencpn/opencpn-4.0.0-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# TODO: add plugins
+
+## wmm_pi, World Magnetic Model (https://github.com/nohal/wmm_pi, GPL-2+)
+#WMM_PLUGIN_PV="1.0"
+#WMM_PLUGIN_PN="wmm_pi"
+#WMM_PLUGIN_P="${WMM_PLUGIN_PN}-${WMM_PLUGIN_PV}"
+#WMM_PLUGIN_URI="https://github.com/nohal/${WMM_PLUGIN_PN}/archive/${WMM_PLUGIN_PN}-v${WMM_PLUGIN_PV}.tar.gz"
+#WMM_PLUGIN_WD="${WORKDIR}/plugins/${WMM_PLUGIN_PN}"
+
+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_${PV}.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-2.96-r1 )
+"
+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
+}
next reply other threads:[~2015-10-25 16:45 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-25 16:45 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-03-30 23:26 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn/ Marc Schiffbauer
2016-03-30 23:26 Marc Schiffbauer
2016-10-31 22:03 Marc Schiffbauer
2016-12-30 18:00 Marc Schiffbauer
2017-07-14 19:19 Marc Schiffbauer
2017-08-13 0:17 Marc Schiffbauer
2017-08-13 23:31 Marc Schiffbauer
2018-03-16 21:47 Marc Schiffbauer
2018-03-16 22:01 Marc Schiffbauer
2018-03-16 23:46 Marc Schiffbauer
2018-05-21 17:05 Aaron Bauman
2018-12-02 0:18 Marc Schiffbauer
2021-11-18 0:44 Marc Schiffbauer
2022-05-18 9:16 Marc Schiffbauer
2022-05-18 9:16 Marc Schiffbauer
2023-05-28 21:01 Marc Schiffbauer
2023-05-28 21:01 Marc Schiffbauer
2023-05-31 18:20 Marc Schiffbauer
2023-06-01 22:16 Marc Schiffbauer
2023-06-02 11:25 Marc Schiffbauer
2023-06-02 11:25 Marc Schiffbauer
2023-06-02 11:43 Marc Schiffbauer
2023-06-03 0:54 Marc Schiffbauer
2023-06-03 11:43 Marc Schiffbauer
2023-06-03 11:43 Marc Schiffbauer
2023-06-04 7:20 Marc Schiffbauer
2023-06-04 7:20 Marc Schiffbauer
2023-07-18 21:26 Marc Schiffbauer
2024-04-05 1:21 Sam James
2024-04-09 14:44 Sam James
2024-10-24 22:51 Marc Schiffbauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445791523.a5d0d8b5f0a6db5ef7d4beeb967ebcbfa3e213ce.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox