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-ocpn_draw/
Date: Wed, 30 Mar 2016 23:26:50
Message-Id: 1459380346.1a7bdd6e530c37f43a8c6a6e25b941b1ca29b944.mschiff@gentoo
1 commit: 1a7bdd6e530c37f43a8c6a6e25b941b1ca29b944
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 30 23:23:02 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=1a7bdd6e
7
8 sci-geosciences/opencpn-plugin-ocpn_draw: added ebuild
9
10 Package-Manager: portage-2.2.28
11
12 sci-geosciences/opencpn-plugin-ocpn_draw/Manifest | 1 +
13 .../opencpn-plugin-ocpn_draw/metadata.xml | 15 +++++++++
14 .../opencpn-plugin-ocpn_draw-1.0.12.ebuild | 38 ++++++++++++++++++++++
15 .../opencpn-plugin-ocpn_draw-9999.ebuild | 38 ++++++++++++++++++++++
16 4 files changed, 92 insertions(+)
17
18 diff --git a/sci-geosciences/opencpn-plugin-ocpn_draw/Manifest b/sci-geosciences/opencpn-plugin-ocpn_draw/Manifest
19 new file mode 100644
20 index 0000000..a19b84a
21 --- /dev/null
22 +++ b/sci-geosciences/opencpn-plugin-ocpn_draw/Manifest
23 @@ -0,0 +1 @@
24 +DIST opencpn-plugin-ocpn_draw-1.0.12.tar.gz 1122888 SHA256 e044cb5bccad4d5020c6378d514d5807aaa83a04fb24e15af0bb0c7e290fa968 SHA512 d9c6afe17efbc3fa668958b55a67ba7160670ef1c3c16c1db11d360dcd8dc2c27894b89cb724443c96b6d30152ee01e651a120dfe003a3d3a951872c7900850c WHIRLPOOL 20f7c8057912fa8e274617f835985a4c9b379b100b2f5fe4a8234527937a53fbb971e2888cfd006dd40cfb9bc3dc0ecabff77ba8e72bb22e8290c489196b30a4
25
26 diff --git a/sci-geosciences/opencpn-plugin-ocpn_draw/metadata.xml b/sci-geosciences/opencpn-plugin-ocpn_draw/metadata.xml
27 new file mode 100644
28 index 0000000..ae33cb3
29 --- /dev/null
30 +++ b/sci-geosciences/opencpn-plugin-ocpn_draw/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">jongough/ocpn_draw_pi</remote-id>
45 + </upstream>
46 +</pkgmetadata>
47
48 diff --git a/sci-geosciences/opencpn-plugin-ocpn_draw/opencpn-plugin-ocpn_draw-1.0.12.ebuild b/sci-geosciences/opencpn-plugin-ocpn_draw/opencpn-plugin-ocpn_draw-1.0.12.ebuild
49 new file mode 100644
50 index 0000000..5fe8111
51 --- /dev/null
52 +++ b/sci-geosciences/opencpn-plugin-ocpn_draw/opencpn-plugin-ocpn_draw-1.0.12.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="ocpn_draw_pi"
62 +if [[ ${PV} == "9999" ]] ; then
63 + EGIT_REPO_URI="https://github.com/jongough/${MY_PN}.git"
64 + inherit git-r3 cmake-utils wxwidgets
65 + KEYWORDS=""
66 +else
67 + SRC_URI="
68 + https://github.com/jongough/${MY_PN}/archive/${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="Draw Plugin for OpenCPN"
76 +HOMEPAGE="https://github.com/jongough/ocpn_draw_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-ocpn_draw/opencpn-plugin-ocpn_draw-9999.ebuild b/sci-geosciences/opencpn-plugin-ocpn_draw/opencpn-plugin-ocpn_draw-9999.ebuild
94 new file mode 100644
95 index 0000000..5fe8111
96 --- /dev/null
97 +++ b/sci-geosciences/opencpn-plugin-ocpn_draw/opencpn-plugin-ocpn_draw-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="ocpn_draw_pi"
107 +if [[ ${PV} == "9999" ]] ; then
108 + EGIT_REPO_URI="https://github.com/jongough/${MY_PN}.git"
109 + inherit git-r3 cmake-utils wxwidgets
110 + KEYWORDS=""
111 +else
112 + SRC_URI="
113 + https://github.com/jongough/${MY_PN}/archive/${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="Draw Plugin for OpenCPN"
121 +HOMEPAGE="https://github.com/jongough/ocpn_draw_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 +}