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-otcurrent/
Date: Wed, 30 Mar 2016 23:26:47
Message-Id: 1459380346.81c669601b2a2951492023c0ac26b773bde1c9e7.mschiff@gentoo
1 commit: 81c669601b2a2951492023c0ac26b773bde1c9e7
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 23:24:24 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=81c66960
7
8 sci-geosciences/opencpn-plugin-otcurrent: added new ebuild
9
10 Package-Manager: portage-2.2.28
11
12 sci-geosciences/opencpn-plugin-otcurrent/Manifest | 1 +
13 .../opencpn-plugin-otcurrent/metadata.xml | 15 +++++++++
14 .../opencpn-plugin-otcurrent-1.2.ebuild | 38 ++++++++++++++++++++++
15 .../opencpn-plugin-otcurrent-9999.ebuild | 38 ++++++++++++++++++++++
16 4 files changed, 92 insertions(+)
17
18 diff --git a/sci-geosciences/opencpn-plugin-otcurrent/Manifest b/sci-geosciences/opencpn-plugin-otcurrent/Manifest
19 new file mode 100644
20 index 0000000..27b3ba9
21 --- /dev/null
22 +++ b/sci-geosciences/opencpn-plugin-otcurrent/Manifest
23 @@ -0,0 +1 @@
24 +DIST opencpn-plugin-otcurrent-1.2.tar.gz 184391 SHA256 808323caa3c120471e50d418e969a0c15206b87a1d05c10bc7002d61fbfb09ed SHA512 04564e0fcafe0f338d52a2fe7cf1a00c5d53d4ecbbac3264203ddc5ed4dd1e237b45d206314dfc493ea4649491a03872158a4d61a6dd0658dd54a20b43502263 WHIRLPOOL f2203e98939a2884caf33111151743518af7edd6603d87ceb4dca4ba588d3acb4b60789bd84c6ca05673ab9fff59e51c6b7deaa87bceb4cb00226948df5d0fe2
25
26 diff --git a/sci-geosciences/opencpn-plugin-otcurrent/metadata.xml b/sci-geosciences/opencpn-plugin-otcurrent/metadata.xml
27 new file mode 100644
28 index 0000000..37fc2f7
29 --- /dev/null
30 +++ b/sci-geosciences/opencpn-plugin-otcurrent/metadata.xml
31 @@ -0,0 +1,15 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="person">
36 + <email>mschiff@g.o</email>
37 + <name>Marc Schiffbauer</name>
38 + </maintainer>
39 + <maintainer type="project">
40 + <email>sci-geosciences@g.o</email>
41 + <name>Gentoo Geosciences Project</name>
42 + </maintainer>
43 + <upstream>
44 + <remote-id type="github">Rasbats/otcurrent_pi</remote-id>
45 + </upstream>
46 +</pkgmetadata>
47
48 diff --git a/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-1.2.ebuild b/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-1.2.ebuild
49 new file mode 100644
50 index 0000000..7079ab5
51 --- /dev/null
52 +++ b/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-1.2.ebuild
53 @@ -0,0 +1,38 @@
54 +# Copyright 1999-2016 Gentoo Foundation
55 +# Distributed under the terms of the GNU General Public License v2
56 +# $Id$
57 +
58 +EAPI=5
59 +
60 +WX_GTK_VER="3.0"
61 +MY_PN="otcurrent_pi"
62 +if [[ ${PV} == "9999" ]] ; then
63 + EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git"
64 + inherit git-r3 cmake-utils wxwidgets
65 + KEYWORDS=""
66 +else
67 + SRC_URI="
68 + https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
69 + "
70 + inherit cmake-utils wxwidgets
71 + KEYWORDS="~amd64 ~x86"
72 + S="${WORKDIR}/${MY_PN}-${PV}"
73 +fi
74 +
75 +DESCRIPTION="IAC Fleetcode Plugin for OpenCPN"
76 +HOMEPAGE="https://github.com/Rasbats/otcurrent_pi"
77 +
78 +LICENSE="GPL-2+"
79 +SLOT="0"
80 +IUSE=""
81 +
82 +RDEPEND="
83 + x11-libs/wxGTK:${WX_GTK_VER}
84 + >=sci-geosciences/opencpn-4.2.0
85 + sys-devel/gettext
86 +"
87 +DEPEND="${RDEPEND}"
88 +src_prepare() {
89 + need-wxwidgets unicode
90 + cmake-utils_src_prepare
91 +}
92
93 diff --git a/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-9999.ebuild b/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-9999.ebuild
94 new file mode 100644
95 index 0000000..7079ab5
96 --- /dev/null
97 +++ b/sci-geosciences/opencpn-plugin-otcurrent/opencpn-plugin-otcurrent-9999.ebuild
98 @@ -0,0 +1,38 @@
99 +# Copyright 1999-2016 Gentoo Foundation
100 +# Distributed under the terms of the GNU General Public License v2
101 +# $Id$
102 +
103 +EAPI=5
104 +
105 +WX_GTK_VER="3.0"
106 +MY_PN="otcurrent_pi"
107 +if [[ ${PV} == "9999" ]] ; then
108 + EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git"
109 + inherit git-r3 cmake-utils wxwidgets
110 + KEYWORDS=""
111 +else
112 + SRC_URI="
113 + https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
114 + "
115 + inherit cmake-utils wxwidgets
116 + KEYWORDS="~amd64 ~x86"
117 + S="${WORKDIR}/${MY_PN}-${PV}"
118 +fi
119 +
120 +DESCRIPTION="IAC Fleetcode Plugin for OpenCPN"
121 +HOMEPAGE="https://github.com/Rasbats/otcurrent_pi"
122 +
123 +LICENSE="GPL-2+"
124 +SLOT="0"
125 +IUSE=""
126 +
127 +RDEPEND="
128 + x11-libs/wxGTK:${WX_GTK_VER}
129 + >=sci-geosciences/opencpn-4.2.0
130 + sys-devel/gettext
131 +"
132 +DEPEND="${RDEPEND}"
133 +src_prepare() {
134 + need-wxwidgets unicode
135 + cmake-utils_src_prepare
136 +}