[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-polar/

2021-04-04 Thread David Seifert
commit: 7b5acf39df20faeba1b573613cf912f381161c6d
Author: David Seifert  gentoo  org>
AuthorDate: Sun Apr  4 20:20:32 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Apr  4 20:20:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5acf39

sci-geosciences/opencpn-plugin-polar: need-wxwidgets -> setup-wxwidgets

Bug: https://bugs.gentoo.org/770622
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: David Seifert  gentoo.org>

 .../opencpn-plugin-polar-1.1007.ebuild | 27 +++---
 .../opencpn-plugin-polar-.ebuild   | 27 +++---
 2 files changed, 26 insertions(+), 28 deletions(-)

diff --git 
a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild 
b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild
index b164cddb248..a6688256200 100644
--- a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild
+++ b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 WX_GTK_VER="3.0"
+inherit cmake wxwidgets
+
 MY_PN="polar_pi"
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/ptulp/${MY_PN}.git;
-   inherit git-r3 cmake-utils wxwidgets
 else
-   SRC_URI="
-   https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   "
-   inherit cmake-utils wxwidgets
+   SRC_URI="https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
 fi
@@ -22,15 +22,14 @@ HOMEPAGE="https://github.com/ptulp/polar_pi;
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE=""
 
 RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0
-   sys-devel/gettext
-"
+   >=sci-geosciences/opencpn-4.2.0"
 DEPEND="${RDEPEND}"
-src_prepare() {
-   need-wxwidgets unicode
-   cmake-utils_src_prepare
+BDEPEND="sys-devel/gettext"
+
+src_configure() {
+   setup-wxwidgets unicode
+   cmake_src_configure
 }

diff --git 
a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild 
b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild
index b164cddb248..a6688256200 100644
--- a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild
+++ b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild
@@ -1,18 +1,18 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
 WX_GTK_VER="3.0"
+inherit cmake wxwidgets
+
 MY_PN="polar_pi"
-if [[ ${PV} == "" ]] ; then
+if [[ ${PV} == * ]] ; then
+   inherit git-r3
EGIT_REPO_URI="https://github.com/ptulp/${MY_PN}.git;
-   inherit git-r3 cmake-utils wxwidgets
 else
-   SRC_URI="
-   https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
-   "
-   inherit cmake-utils wxwidgets
+   SRC_URI="https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${MY_PN}-${PV}"
 fi
@@ -22,15 +22,14 @@ HOMEPAGE="https://github.com/ptulp/polar_pi;
 
 LICENSE="GPL-2+"
 SLOT="0"
-IUSE=""
 
 RDEPEND="
x11-libs/wxGTK:${WX_GTK_VER}
-   >=sci-geosciences/opencpn-4.2.0
-   sys-devel/gettext
-"
+   >=sci-geosciences/opencpn-4.2.0"
 DEPEND="${RDEPEND}"
-src_prepare() {
-   need-wxwidgets unicode
-   cmake-utils_src_prepare
+BDEPEND="sys-devel/gettext"
+
+src_configure() {
+   setup-wxwidgets unicode
+   cmake_src_configure
 }



[gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-polar/

2016-12-30 Thread Marc Schiffbauer
commit: 7f6989edc1b8229abd448fef7e99bffb336db09d
Author: Marc Schiffbauer  gentoo  org>
AuthorDate: Thu Dec 29 22:29:58 2016 +
Commit: Marc Schiffbauer  gentoo  org>
CommitDate: Fri Dec 30 18:00:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f6989ed

sci-geosciences/opencpn-plugin-polar: added new plugin

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-geosciences/opencpn-plugin-polar/Manifest  |  1 +
 sci-geosciences/opencpn-plugin-polar/metadata.xml  | 15 +
 .../opencpn-plugin-polar-1.1007.ebuild | 38 ++
 .../opencpn-plugin-polar-.ebuild   | 38 ++
 4 files changed, 92 insertions(+)

diff --git a/sci-geosciences/opencpn-plugin-polar/Manifest 
b/sci-geosciences/opencpn-plugin-polar/Manifest
new file mode 100644
index ..7b5c673
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-polar/Manifest
@@ -0,0 +1 @@
+DIST opencpn-plugin-polar-1.1007.tar.gz 263299 SHA256 
0b0e11003d7b11fbf05047e13a08700b86ae74e5c3aa125b4bb61659c8a9af24 SHA512 
9ef853a052692b7475851b8470d18c711bf2e9a8fd7dbc31919197fa6ae0225ce218bd4a13f39a999fa29282b209614e0fc37e429a39dc3c1dc28b018e6c3344
 WHIRLPOOL 
683447093278e47b1ed3df3e79a4657608daea50942425c114a04c02656a4f166554dfd6b024a4c626b14d3f7fb16a4812a98f113c44669106289a0ca78b6a04

diff --git a/sci-geosciences/opencpn-plugin-polar/metadata.xml 
b/sci-geosciences/opencpn-plugin-polar/metadata.xml
new file mode 100644
index ..3d00c81
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-polar/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   msch...@gentoo.org
+   Marc Schiffbauer
+   
+   
+   sci-geoscien...@gentoo.org
+   Gentoo Geosciences Project
+   
+   
+   ptulp/polar_pi
+   
+

diff --git 
a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild 
b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild
new file mode 100644
index ..c0189e1
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-1.1007.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+MY_PN="polar_pi"
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/ptulp/${MY_PN}.git;
+   inherit git-r3 cmake-utils wxwidgets
+   KEYWORDS=""
+else
+   SRC_URI="
+   https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   inherit cmake-utils wxwidgets
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Polar Diagram Plugin for OpenCPN"
+HOMEPAGE="https://github.com/ptulp/polar_pi;
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/wxGTK:${WX_GTK_VER}
+   >=sci-geosciences/opencpn-4.2.0
+   sys-devel/gettext
+"
+DEPEND="${RDEPEND}"
+src_prepare() {
+   need-wxwidgets unicode
+   cmake-utils_src_prepare
+}

diff --git 
a/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild 
b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild
new file mode 100644
index ..c0189e1
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-polar/opencpn-plugin-polar-.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+MY_PN="polar_pi"
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/ptulp/${MY_PN}.git;
+   inherit git-r3 cmake-utils wxwidgets
+   KEYWORDS=""
+else
+   SRC_URI="
+   https://github.com/ptulp/${MY_PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz
+   "
+   inherit cmake-utils wxwidgets
+   KEYWORDS="~amd64 ~x86"
+   S="${WORKDIR}/${MY_PN}-${PV}"
+fi
+
+DESCRIPTION="Polar Diagram Plugin for OpenCPN"
+HOMEPAGE="https://github.com/ptulp/polar_pi;
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/wxGTK:${WX_GTK_VER}
+   >=sci-geosciences/opencpn-4.2.0
+   sys-devel/gettext
+"
+DEPEND="${RDEPEND}"
+src_prepare() {
+   need-wxwidgets unicode
+   cmake-utils_src_prepare
+}