commit:     c098af7ab5abd5a8bd703b3fcc3c4cc55e93d7f2
Author:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 09:00:37 2021 +0000
Commit:     Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 09:04:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c098af7a

sci-geosciences/opencpn-plugin-logbookkonni: add 1.4.22.0

Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>

 .../opencpn-plugin-logbookkonni/Manifest           |  1 +
 .../opencpn-plugin-logbookkonni-1.4.22.0.ebuild    | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/Manifest 
b/sci-geosciences/opencpn-plugin-logbookkonni/Manifest
index da9165f19f5b..b8454b24c5f4 100644
--- a/sci-geosciences/opencpn-plugin-logbookkonni/Manifest
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/Manifest
@@ -1,2 +1,3 @@
 DIST opencpn-plugin-logbookkonni-1.3002.tar.gz 3810133 BLAKE2B 
e22d4fe15e54ce914d97bfb0c660210dddec26ba7e6867708489f042e18b04f2e4832275a7a96a31e5a4f1bc25faca1f8343ce66114751d1c37b525e749f8d15
 SHA512 
a539e8d01f9e81f859826477c1abbdafeacc1bd0a1e734777698eb471ddf0a1356bcd321b4b3aa27f9593e0d412e52fb8791248a0dfbc20daa7c9214152e8030
 DIST opencpn-plugin-logbookkonni-1.3002_Layouts.zip 1722887 BLAKE2B 
ba2b966def65930f544aabe1a617c5cc3aac69f578ffb3360388724c78d4c793719d50e577b0571933168f7f5cc55a27dcbb2e5616b90c17d0257052fd052d9f
 SHA512 
f493d9af822a960f3b9a5d557d46b73e89c8179bfbc4d260d133c972e22d4ce5753e64b2d8ced321589a11a0a32efe1c34b574ed850af0673768896cdbb3d9c5
+DIST opencpn-plugin-logbookkonni-1.4.22.0.tar.gz 8595300 BLAKE2B 
ce4f1d87613ca4e5f4e4b6ea336b642ec780912395e855af5a88db0b8290b3aed796b54207c5a7776643dfa63dcdf93db711b63e5e9f95a4903c1e7e6874fbf3
 SHA512 
f3f50e8a7b24aca049b9495d1f3a5a303447df2fa1dc2e3c79a86a1d2be4a8b4f71e4b2ee596e721d3c2a0c9bb7138d9aed6bd28198cc91223233fa9440b827e

diff --git 
a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.4.22.0.ebuild
 
b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.4.22.0.ebuild
new file mode 100644
index 000000000000..37b7e7554be5
--- /dev/null
+++ 
b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.4.22.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WX_GTK_VER="3.0-gtk3"
+inherit cmake wxwidgets
+
+MY_PN="LogbookKonni_pi"
+if [[ ${PV} == *9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/rgleason/${MY_PN}.git";
+else
+       SRC_URI="https://github.com/rgleason/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+       KEYWORDS="~amd64 ~x86"
+       S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Logbook Plugin for OpenCPN"
+HOMEPAGE="https://github.com/rgleason/LogbookKonni_pi";
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+RDEPEND="
+       x11-libs/wxGTK:${WX_GTK_VER}
+       sci-geosciences/opencpn:=
+       sys-devel/gettext"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-arch/zip
+       sys-devel/gettext"
+
+PATCHES=(
+       "${FILESDIR}/cmake.patch"
+)
+
+src_configure() {
+       setup-wxwidgets unicode
+       cmake_src_configure
+}
+
+pkg_postinst() {
+       elog "Installation of logbook layouts"
+       elog "*******************************"
+       elog
+       elog "The default layouts zip file has been installed to:"
+       elog 
"${EROOT}/usr/share/opencpn/plugins/logbookkonni_pi/data/Layouts.zip"
+       elog
+       elog "After starting OpenCPN, go to 
Options->Plugins->Logbook->Settings,"
+       elog "click the install button and choose the above mentioned zip file"
+       elog
+}

Reply via email to