1 |
commit: 5d813385c5d3433b41b814c65df1140c8600506a |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 23:05:18 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=5d813385 |
7 |
|
8 |
sci-geosciences/opencpn: drop 4.0.0 |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
sci-geosciences/opencpn/opencpn-4.0.0.ebuild | 67 ---------------------------- |
13 |
1 file changed, 67 deletions(-) |
14 |
|
15 |
diff --git a/sci-geosciences/opencpn/opencpn-4.0.0.ebuild b/sci-geosciences/opencpn/opencpn-4.0.0.ebuild |
16 |
deleted file mode 100644 |
17 |
index 6298b6b..0000000 |
18 |
--- a/sci-geosciences/opencpn/opencpn-4.0.0.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,67 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-# TODO: add plugins |
28 |
- |
29 |
-## wmm_pi, World Magnetic Model (https://github.com/nohal/wmm_pi, GPL-2+) |
30 |
-#WMM_PLUGIN_PV="1.0" |
31 |
-#WMM_PLUGIN_PN="wmm_pi" |
32 |
-#WMM_PLUGIN_P="${WMM_PLUGIN_PN}-${WMM_PLUGIN_PV}" |
33 |
-#WMM_PLUGIN_URI="https://github.com/nohal/${WMM_PLUGIN_PN}/archive/${WMM_PLUGIN_PN}-v${WMM_PLUGIN_PV}.tar.gz" |
34 |
-#WMM_PLUGIN_WD="${WORKDIR}/plugins/${WMM_PLUGIN_PN}" |
35 |
- |
36 |
-WX_GTK_VER="2.8" |
37 |
-inherit cmake-utils wxwidgets |
38 |
- |
39 |
-DESCRIPTION="a free, open source software for marine navigation" |
40 |
-HOMEPAGE="http://opencpn.org/" |
41 |
-SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz |
42 |
-doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${PV}.orig.tar.xz ) |
43 |
-" |
44 |
- |
45 |
-LICENSE="GPL-2+" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~amd64 ~x86" |
48 |
-IUSE="doc gps opengl" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- app-arch/bzip2 |
52 |
- dev-libs/tinyxml |
53 |
- media-libs/freetype:2 |
54 |
- media-libs/portaudio |
55 |
- sys-libs/zlib |
56 |
- opengl? ( virtual/opengl ) |
57 |
- x11-libs/gtk+:2 |
58 |
- x11-libs/wxGTK:2.8[X] |
59 |
- gps? ( >=sci-geosciences/gpsd-2.96-r1 ) |
60 |
-" |
61 |
-DEPEND="${RDEPEND} |
62 |
- sys-devel/gettext" |
63 |
- |
64 |
-S="${WORKDIR}/OpenCPN-${PV}" |
65 |
- |
66 |
-src_configure() { |
67 |
- local mycmakeargs=( |
68 |
- $(cmake-utils_use_use gps GPSD) |
69 |
- -DUSE_S57=ON |
70 |
- -DUSE_GARMINHOST=ON |
71 |
- ) |
72 |
- |
73 |
- cmake-utils_src_configure |
74 |
-} |
75 |
- |
76 |
-src_install() { |
77 |
- if use doc; then |
78 |
- dohtml -r "${S}"/../${PN}/doc/* |
79 |
- fi |
80 |
- cmake-utils_src_install |
81 |
-} |
82 |
- |
83 |
-pkg_postinst() { |
84 |
- if use doc; then |
85 |
- einfo "Documentation is available at file:///usr/share/doc/${P}/html/help_en_US.html" |
86 |
- fi |
87 |
-} |