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-logbookkonni/
Date: Tue, 30 Nov 2021 09:04:29
Message-Id: 1638263054.051eafa27fcb16013d1ed67fff47bae58bcc9e2b.mschiff@gentoo
1 commit: 051eafa27fcb16013d1ed67fff47bae58bcc9e2b
2 Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 30 09:01:53 2021 +0000
4 Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 30 09:04:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=051eafa2
7
8 sci-geosciences/opencpn-plugin-logbookkonni: update live version
9
10 Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
11
12 .../opencpn-plugin-logbookkonni-9999.ebuild | 28 +++++++++-------------
13 1 file changed, 11 insertions(+), 17 deletions(-)
14
15 diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
16 index 88643bb432bf..37b7e7554be5 100644
17 --- a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
18 +++ b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
19 @@ -3,56 +3,50 @@
20
21 EAPI=7
22
23 -WX_GTK_VER="3.0"
24 +WX_GTK_VER="3.0-gtk3"
25 inherit cmake wxwidgets
26
27 -MY_PN="LogbookKonni-1.2"
28 +MY_PN="LogbookKonni_pi"
29 if [[ ${PV} == *9999 ]] ; then
30 inherit git-r3
31 - EGIT_REPO_URI="https://github.com/delatbabel/${MY_PN}.git"
32 + EGIT_REPO_URI="https://github.com/rgleason/${MY_PN}.git"
33 else
34 - SRC_URI="
35 - https://github.com/delatbabel/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
36 - https://github.com/delatbabel/${MY_PN}/releases/download/v${PV}/LogbookKonni_Layouts.zip -> ${P}_Layouts.zip"
37 + SRC_URI="https://github.com/rgleason/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38
39 KEYWORDS="~amd64 ~x86"
40 S="${WORKDIR}/${MY_PN}-${PV}"
41 fi
42
43 DESCRIPTION="Logbook Plugin for OpenCPN"
44 -HOMEPAGE="https://github.com/delatbabel/LogbookKonni-1.2"
45 +HOMEPAGE="https://github.com/rgleason/LogbookKonni_pi"
46
47 LICENSE="GPL-2+"
48 SLOT="0"
49
50 RDEPEND="
51 x11-libs/wxGTK:${WX_GTK_VER}
52 - >=sci-geosciences/opencpn-4.2.0
53 + sci-geosciences/opencpn:=
54 sys-devel/gettext"
55 DEPEND="${RDEPEND}"
56 BDEPEND="
57 app-arch/zip
58 sys-devel/gettext"
59
60 +PATCHES=(
61 + "${FILESDIR}/cmake.patch"
62 +)
63 +
64 src_configure() {
65 setup-wxwidgets unicode
66 cmake_src_configure
67 }
68
69 -src_install() {
70 - # install layouts as zip
71 - cmake_src_install
72 -
73 - cd "${WORKDIR}" || die
74 - zip -r "${ED}"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts || die
75 -}
76 -
77 pkg_postinst() {
78 elog "Installation of logbook layouts"
79 elog "*******************************"
80 elog
81 elog "The default layouts zip file has been installed to:"
82 - elog "${EROOT}/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip"
83 + elog "${EROOT}/usr/share/opencpn/plugins/logbookkonni_pi/data/Layouts.zip"
84 elog
85 elog "After starting OpenCPN, go to Options->Plugins->Logbook->Settings,"
86 elog "click the install button and choose the above mentioned zip file"