1 |
commit: ef4a4ee8493e72ce551b24dd26d4fa6fb55c4b44 |
2 |
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 30 23:13:32 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=ef4a4ee8 |
7 |
|
8 |
sci-geosciences/opencpn-plugin-logbookkonni: bump version, add live version |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
.../opencpn-plugin-logbookkonni/Manifest | 2 + |
13 |
.../opencpn-plugin-logbookkonni-1.3002.ebuild | 63 ++++++++++++++++++++++ |
14 |
.../opencpn-plugin-logbookkonni-9999.ebuild | 63 ++++++++++++++++++++++ |
15 |
3 files changed, 128 insertions(+) |
16 |
|
17 |
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/Manifest b/sci-geosciences/opencpn-plugin-logbookkonni/Manifest |
18 |
index 9c9f0d9..c512747 100644 |
19 |
--- a/sci-geosciences/opencpn-plugin-logbookkonni/Manifest |
20 |
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/Manifest |
21 |
@@ -1,2 +1,4 @@ |
22 |
DIST opencpn-plugin-logbookkonni-1.2018.tar.gz 3768720 SHA256 aa7967cf2a7993968f8842b9adf220a57b065afd4be3899cca0771d780697792 SHA512 5435b639bc635b5bbe87c92306d93dee7897ce3e5c6bb383aa228ad90127d2ab1f2a5e871a68abfec30ff2a327c4c21c023a61ccdad445a25bbb8a44fec19d41 WHIRLPOOL ed6bd46ca2b7dd637f0da7bcfd1c6457f10cd2b0cb9a00bf6babd05271ada7b31d23360a5f57ffccdd9d1d49dfbf135dea2c5413fd219d30a0d4d175b3f5f823 |
23 |
DIST opencpn-plugin-logbookkonni-1.2018_Layouts.zip 1722887 SHA256 9b31cbf893069ba7037a7eca569a46e52b773439f44eedb7f4202b908817d48e SHA512 5ce35b3f4c14a432b472db496e8a5dc46fbcd5b0b404c085d6d024f2f383ae9e3767ccdf750177f102ec19a7a0d61a1ab331fef701bf29f8c851305a73923296 WHIRLPOOL bb4f49322f27b7fe0804cf035ddcb87fcca6ade5b968ce703f74f7498e58fc8146ab20839a7525f92ce92fc5151b75a45fcddf54e99c202baa8711f89e91ffb2 |
24 |
+DIST opencpn-plugin-logbookkonni-1.3002.tar.gz 3810133 SHA256 8566c68ffa748529f6b3dbc71c618e4e9b6a0afcee0dfcaaf0b2e77e44232a79 SHA512 a539e8d01f9e81f859826477c1abbdafeacc1bd0a1e734777698eb471ddf0a1356bcd321b4b3aa27f9593e0d412e52fb8791248a0dfbc20daa7c9214152e8030 WHIRLPOOL 69a6d3f59271ac889f99408b3dcc92f08e8ff8a74221cbfcbdccd8a7cefdd150fdb1594a98acd64fdd0e87c750945401ffb7f07e84c54a10a9995534fffe8614 |
25 |
+DIST opencpn-plugin-logbookkonni-1.3002_Layouts.zip 1722887 SHA256 6c2ae65cb5cab258dc4e2015b82a5a740a8751ffe74233eb0da36c7b5c24c453 SHA512 f493d9af822a960f3b9a5d557d46b73e89c8179bfbc4d260d133c972e22d4ce5753e64b2d8ced321589a11a0a32efe1c34b574ed850af0673768896cdbb3d9c5 WHIRLPOOL 92d583b1cc19e44d3036a597b0ad72e1a80eb962ccfdbba386966ea5f625cdacb467219efebbc1106feda7ef300e6cbce9415371b23e38a49fa8435db25c3a0f |
26 |
|
27 |
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..2add587 |
30 |
--- /dev/null |
31 |
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild |
32 |
@@ -0,0 +1,63 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+WX_GTK_VER="3.0" |
40 |
+MY_PN="LogbookKonni-1.2" |
41 |
+if [[ ${PV} == "9999" ]] ; then |
42 |
+ EGIT_REPO_URI="https://github.com/delatbabel/${MY_PN}.git" |
43 |
+ inherit git-r3 cmake-utils wxwidgets |
44 |
+ KEYWORDS="" |
45 |
+else |
46 |
+ SRC_URI=" |
47 |
+ https://github.com/delatbabel/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
48 |
+ https://github.com/delatbabel/${MY_PN}/releases/download/v${PV}/LogbookKonni_Layouts.zip -> ${P}_Layouts.zip |
49 |
+ " |
50 |
+ inherit cmake-utils wxwidgets |
51 |
+ KEYWORDS="~amd64 ~x86" |
52 |
+ S="${WORKDIR}/${MY_PN}-${PV}" |
53 |
+fi |
54 |
+ |
55 |
+DESCRIPTION="Logbook Plugin for OpenCPN" |
56 |
+HOMEPAGE="https://github.com/delatbabel/LogbookKonni-1.2" |
57 |
+ |
58 |
+LICENSE="GPL-2+" |
59 |
+SLOT="0" |
60 |
+IUSE="" |
61 |
+ |
62 |
+RDEPEND=" |
63 |
+ x11-libs/wxGTK:${WX_GTK_VER} |
64 |
+ >=sci-geosciences/opencpn-4.2.0 |
65 |
+ sys-devel/gettext |
66 |
+" |
67 |
+DEPEND=" |
68 |
+ app-arch/zip |
69 |
+ ${RDEPEND} |
70 |
+" |
71 |
+ |
72 |
+src_prepare() { |
73 |
+ need-wxwidgets unicode |
74 |
+ cmake-utils_src_prepare |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ # install layouts as zip |
79 |
+ cmake-utils_src_install |
80 |
+ cd "$WORKDIR" |
81 |
+ zip -r "$D"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ elog "Installation of logbook layouts" |
86 |
+ elog "*******************************" |
87 |
+ elog "" |
88 |
+ elog "The default layouts zip file has been installed to:" |
89 |
+ elog "/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip" |
90 |
+ elog "" |
91 |
+ elog "After starting OpenCPN, go to Options->Plugins->Logbook->Settings," |
92 |
+ elog "click the install button and choose the above mentioned zip file" |
93 |
+ elog "" |
94 |
+} |
95 |
+ |
96 |
|
97 |
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild |
98 |
new file mode 100644 |
99 |
index 0000000..2add587 |
100 |
--- /dev/null |
101 |
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild |
102 |
@@ -0,0 +1,63 @@ |
103 |
+# Copyright 1999-2016 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+# $Id$ |
106 |
+ |
107 |
+EAPI=5 |
108 |
+ |
109 |
+WX_GTK_VER="3.0" |
110 |
+MY_PN="LogbookKonni-1.2" |
111 |
+if [[ ${PV} == "9999" ]] ; then |
112 |
+ EGIT_REPO_URI="https://github.com/delatbabel/${MY_PN}.git" |
113 |
+ inherit git-r3 cmake-utils wxwidgets |
114 |
+ KEYWORDS="" |
115 |
+else |
116 |
+ SRC_URI=" |
117 |
+ https://github.com/delatbabel/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
118 |
+ https://github.com/delatbabel/${MY_PN}/releases/download/v${PV}/LogbookKonni_Layouts.zip -> ${P}_Layouts.zip |
119 |
+ " |
120 |
+ inherit cmake-utils wxwidgets |
121 |
+ KEYWORDS="~amd64 ~x86" |
122 |
+ S="${WORKDIR}/${MY_PN}-${PV}" |
123 |
+fi |
124 |
+ |
125 |
+DESCRIPTION="Logbook Plugin for OpenCPN" |
126 |
+HOMEPAGE="https://github.com/delatbabel/LogbookKonni-1.2" |
127 |
+ |
128 |
+LICENSE="GPL-2+" |
129 |
+SLOT="0" |
130 |
+IUSE="" |
131 |
+ |
132 |
+RDEPEND=" |
133 |
+ x11-libs/wxGTK:${WX_GTK_VER} |
134 |
+ >=sci-geosciences/opencpn-4.2.0 |
135 |
+ sys-devel/gettext |
136 |
+" |
137 |
+DEPEND=" |
138 |
+ app-arch/zip |
139 |
+ ${RDEPEND} |
140 |
+" |
141 |
+ |
142 |
+src_prepare() { |
143 |
+ need-wxwidgets unicode |
144 |
+ cmake-utils_src_prepare |
145 |
+} |
146 |
+ |
147 |
+src_install() { |
148 |
+ # install layouts as zip |
149 |
+ cmake-utils_src_install |
150 |
+ cd "$WORKDIR" |
151 |
+ zip -r "$D"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts |
152 |
+} |
153 |
+ |
154 |
+pkg_postinst() { |
155 |
+ elog "Installation of logbook layouts" |
156 |
+ elog "*******************************" |
157 |
+ elog "" |
158 |
+ elog "The default layouts zip file has been installed to:" |
159 |
+ elog "/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip" |
160 |
+ elog "" |
161 |
+ elog "After starting OpenCPN, go to Options->Plugins->Logbook->Settings," |
162 |
+ elog "click the install button and choose the above mentioned zip file" |
163 |
+ elog "" |
164 |
+} |
165 |
+ |