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-climatology/
Date: Wed, 30 Mar 2016 23:26:44
Message-Id: 1459380346.7fc710bc65bf3cc070bf3c0b7a8696ae83360afc.mschiff@gentoo
1 commit: 7fc710bc65bf3cc070bf3c0b7a8696ae83360afc
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 23:18:08 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=7fc710bc
7
8 sci-geosciences/opencpn-plugin-climatology: add live version
9
10 Package-Manager: portage-2.2.28
11
12 .../opencpn-plugin-climatology-9999.ebuild | 45 ++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/sci-geosciences/opencpn-plugin-climatology/opencpn-plugin-climatology-9999.ebuild b/sci-geosciences/opencpn-plugin-climatology/opencpn-plugin-climatology-9999.ebuild
16 new file mode 100644
17 index 0000000..a318a29
18 --- /dev/null
19 +++ b/sci-geosciences/opencpn-plugin-climatology/opencpn-plugin-climatology-9999.ebuild
20 @@ -0,0 +1,45 @@
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="3.0"
28 +MY_PN="climatology_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 + mirror://sourceforge/opencpnplugins/climatology_pi/CL-DATA-1.0.tar.xz -> ${P}-CL-DATA.tar.xz
37 + "
38 + inherit cmake-utils wxwidgets
39 + KEYWORDS="~amd64 ~x86"
40 + S="${WORKDIR}/${MY_PN}-${PV}"
41 +fi
42 +
43 +DESCRIPTION="Climatology Plugin for OpenCPN (includes CL-DATA)"
44 +HOMEPAGE="https://github.com/seandepagnier/climatology_pi"
45 +
46 +LICENSE="GPL-3+"
47 +SLOT="0"
48 +IUSE=""
49 +
50 +RDEPEND="
51 + x11-libs/wxGTK:${WX_GTK_VER}
52 + >=sci-geosciences/opencpn-4.2.0
53 + sys-devel/gettext
54 +"
55 +DEPEND="${RDEPEND}"
56 +
57 +src_prepare() {
58 + need-wxwidgets unicode
59 + cmake-utils_src_prepare
60 +}
61 +src_install() {
62 + cmake-utils_src_install
63 + insinto "/usr/share/opencpn/plugins/${MY_PN}/data/"
64 + doins "${S}"/{,../}data/*
65 +}