Gentoo Archives: gentoo-commits

From: Marc Schiffbauer <mschiff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-weather_routing/
Date: Wed, 30 Mar 2016 23:26:43
Message-Id: 1459380346.ae9c5a8fddf3d2b5400e5cb0077d2b8d40d76ecb.mschiff@gentoo
1 commit: ae9c5a8fddf3d2b5400e5cb0077d2b8d40d76ecb
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 23:19:51 2016 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 30 23:25:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae9c5a8f
7
8 sci-geosciences/opencpn-plugin-weather_routing: add live version
9
10 Package-Manager: portage-2.2.28
11
12 .../opencpn-plugin-weather_routing-9999.ebuild | 38 ++++++++++++++++++++++
13 1 file changed, 38 insertions(+)
14
15 diff --git a/sci-geosciences/opencpn-plugin-weather_routing/opencpn-plugin-weather_routing-9999.ebuild b/sci-geosciences/opencpn-plugin-weather_routing/opencpn-plugin-weather_routing-9999.ebuild
16 new file mode 100644
17 index 0000000..8bd5f1c
18 --- /dev/null
19 +++ b/sci-geosciences/opencpn-plugin-weather_routing/opencpn-plugin-weather_routing-9999.ebuild
20 @@ -0,0 +1,38 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +
27 +WX_GTK_VER="2.8"
28 +MY_PN="weather_routing_pi"
29 +if [[ ${PV} == "9999" ]] ; then
30 + EGIT_REPO_URI="https://github.com/seandepagnier/${MY_PN}.git"
31 + inherit git-r3 cmake-utils wxwidgets
32 + KEYWORDS=""
33 +else
34 + SRC_URI="
35 + https://github.com/seandepagnier/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
36 + "
37 + inherit cmake-utils wxwidgets
38 + KEYWORDS="~amd64 ~x86"
39 + S="${WORKDIR}/${MY_PN}-${PV}"
40 +fi
41 +
42 +DESCRIPTION="Weather Routing Plugin for OpenCPN"
43 +HOMEPAGE="https://github.com/"
44 +
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +IUSE=""
48 +
49 +RDEPEND="
50 + x11-libs/wxGTK:${WX_GTK_VER}
51 + >=sci-geosciences/opencpn-4.2.0
52 + sys-devel/gettext
53 +"
54 +DEPEND="${RDEPEND}"
55 +src_prepare() {
56 + need-wxwidgets unicode
57 + cmake-utils_src_prepare
58 +}