summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-10-25 18:42:04 +0100
committerPacho Ramos <pacho@gentoo.org>2015-10-25 18:42:04 +0100
commit66941114d4379bdaafb5c4fab0c8d0b8d2fd9ad5 (patch)
tree1a53623fdd33d26d5acbba89580343a9081c40a6 /sci-geosciences/opencpn-plugin-wmm
parentRevert "sci-geosciences/opencpn-plugin-weather_routing: Support wxGTK:3.0" (diff)
downloadgentoo-66941114d4379bdaafb5c4fab0c8d0b8d2fd9ad5.tar.gz
gentoo-66941114d4379bdaafb5c4fab0c8d0b8d2fd9ad5.tar.bz2
gentoo-66941114d4379bdaafb5c4fab0c8d0b8d2fd9ad5.zip
sci-geosciences/opencpn-plugin-wmm: Support wxGTK:3.0
Package-Manager: portage-2.2.23
Diffstat (limited to 'sci-geosciences/opencpn-plugin-wmm')
-rw-r--r--sci-geosciences/opencpn-plugin-wmm/opencpn-plugin-wmm-1.0-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn-plugin-wmm/opencpn-plugin-wmm-1.0-r1.ebuild b/sci-geosciences/opencpn-plugin-wmm/opencpn-plugin-wmm-1.0-r1.ebuild
new file mode 100644
index 000000000000..6614ed26e1fa
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-wmm/opencpn-plugin-wmm-1.0-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER="3.0"
+inherit cmake-utils wxwidgets
+
+MY_PN="wmm_pi"
+
+DESCRIPTION="World Magnetic Model Plugin for OpenCPN"
+HOMEPAGE="http://opencpn.org/ocpn/downloadplugins"
+SRC_URI="https://github.com/nohal/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ >=sci-geosciences/opencpn-4.0.0
+ sys-devel/gettext
+ x11-libs/wxGTK:${WX_GTK_VER}
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ need-wxwidgets unicode
+ cmake-utils_src_prepare
+}