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-dr/
Date: Fri, 30 Dec 2016 18:00:43
Message-Id: 1483120826.9f71424f5319d786250a4cc51acd09badbd3873a.mschiff@gentoo
1 commit: 9f71424f5319d786250a4cc51acd09badbd3873a
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 29 21:55:51 2016 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 18:00:26 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f71424f
7
8 sci-geosciences/opencpn-plugin-dr: added new plugin
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 sci-geosciences/opencpn-plugin-dr/metadata.xml | 15 +++++++++
13 .../opencpn-plugin-dr-9999.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/sci-geosciences/opencpn-plugin-dr/metadata.xml b/sci-geosciences/opencpn-plugin-dr/metadata.xml
17 new file mode 100644
18 index 00000000..40869ff
19 --- /dev/null
20 +++ b/sci-geosciences/opencpn-plugin-dr/metadata.xml
21 @@ -0,0 +1,15 @@
22 +<?xml version="1.0" encoding="UTF-8"?>
23 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
24 +<pkgmetadata>
25 + <maintainer type="person">
26 + <email>mschiff@g.o</email>
27 + <name>Marc Schiffbauer</name>
28 + </maintainer>
29 + <maintainer type="project">
30 + <email>sci-geosciences@g.o</email>
31 + <name>Gentoo Geosciences Project</name>
32 + </maintainer>
33 + <upstream>
34 + <remote-id type="github">Rasbats/DR_pi</remote-id>
35 + </upstream>
36 +</pkgmetadata>
37
38 diff --git a/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-9999.ebuild b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-9999.ebuild
39 new file mode 100644
40 index 00000000..dc829f7
41 --- /dev/null
42 +++ b/sci-geosciences/opencpn-plugin-dr/opencpn-plugin-dr-9999.ebuild
43 @@ -0,0 +1,38 @@
44 +# Copyright 1999-2016 Gentoo Foundation
45 +# Distributed under the terms of the GNU General Public License v2
46 +# $Id$
47 +
48 +EAPI=5
49 +
50 +WX_GTK_VER="3.0"
51 +MY_PN="DR_pi"
52 +if [[ ${PV} == "9999" ]] ; then
53 + EGIT_REPO_URI="https://github.com/Rasbats/${MY_PN}.git"
54 + inherit git-r3 cmake-utils wxwidgets
55 + KEYWORDS=""
56 +else
57 + SRC_URI="
58 + https://github.com/Rasbats/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
59 + "
60 + inherit cmake-utils wxwidgets
61 + KEYWORDS="~amd64 ~x86"
62 + S="${WORKDIR}/${MY_PN}-${PV}"
63 +fi
64 +
65 +DESCRIPTION="Dead Reckoning Positions Plugin for OpenCPN"
66 +HOMEPAGE="https://github.com/Rasbats/DR_pi"
67 +
68 +LICENSE="GPL-2+"
69 +SLOT="0"
70 +IUSE=""
71 +
72 +RDEPEND="
73 + x11-libs/wxGTK:${WX_GTK_VER}
74 + >=sci-geosciences/opencpn-4.2.0
75 + sys-devel/gettext
76 +"
77 +DEPEND="${RDEPEND}"
78 +src_prepare() {
79 + need-wxwidgets unicode
80 + cmake-utils_src_prepare
81 +}