sci-geosciences/opencpn-plugin-findit: added new plugin
authorMarc Schiffbauer <mschiff@gentoo.org>
Thu, 29 Dec 2016 22:34:50 +0000 (23:34 +0100)
committerMarc Schiffbauer <mschiff@gentoo.org>
Fri, 30 Dec 2016 18:00:27 +0000 (19:00 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sci-geosciences/opencpn-plugin-findit/Manifest [new file with mode: 0644]
sci-geosciences/opencpn-plugin-findit/metadata.xml [new file with mode: 0644]
sci-geosciences/opencpn-plugin-findit/opencpn-plugin-findit-1.1007.ebuild [new file with mode: 0644]
sci-geosciences/opencpn-plugin-findit/opencpn-plugin-findit-9999.ebuild [new file with mode: 0644]

diff --git a/sci-geosciences/opencpn-plugin-findit/Manifest b/sci-geosciences/opencpn-plugin-findit/Manifest
new file mode 100644 (file)
index 0000000..76ce36d
--- /dev/null
@@ -0,0 +1 @@
+DIST opencpn-plugin-findit-1.1007.tar.gz 254806 SHA256 80a9c62f415f446f4f4885486b9bc7b7aafcc5952eb328c3cd0a8ab0e0290832 SHA512 d22de2541cbfb17b6dc2c88b77f9b90566b5e48638e072a2f376fff7cbc7d849548bd0fba919c0b6d11ab4b12961c79af3c136a124e6543fb4c97d088478cc42 WHIRLPOOL 706db034ba38e1855f6eea0721460c44e8dd80b3c903048bee55186424d2eeaf59af3daa884bddcf1cc80d518fa8ea04f8bc4fd2831fa4bc15596602414e3350
diff --git a/sci-geosciences/opencpn-plugin-findit/metadata.xml b/sci-geosciences/opencpn-plugin-findit/metadata.xml
new file mode 100644 (file)
index 0000000..50efe05
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mschiff@gentoo.org</email>
+               <name>Marc Schiffbauer</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>sci-geosciences@gentoo.org</email>
+               <name>Gentoo Geosciences Project</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">ptulp/FindIt_pi</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/sci-geosciences/opencpn-plugin-findit/opencpn-plugin-findit-1.1007.ebuild b/sci-geosciences/opencpn-plugin-findit/opencpn-plugin-findit-1.1007.ebuild
new file mode 100644 (file)
index 0000000..503d7ab
--- /dev/null
@@ -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="FindIt_pi"
+if [[ ${PV} == "9999" ]] ; 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="FindIt Plugin for OpenCPN"
+HOMEPAGE="https://github.com/ptulp/FindIt_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-findit/opencpn-plugin-findit-9999.ebuild b/sci-geosciences/opencpn-plugin-findit/opencpn-plugin-findit-9999.ebuild
new file mode 100644 (file)
index 0000000..503d7ab
--- /dev/null
@@ -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="FindIt_pi"
+if [[ ${PV} == "9999" ]] ; 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="FindIt Plugin for OpenCPN"
+HOMEPAGE="https://github.com/ptulp/FindIt_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
+}