diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2011-06-15 00:11:29 +0000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2011-06-15 00:11:29 +0000 |
commit | eb8d64f87eec29b486727c385c76b42eaa121f30 (patch) | |
tree | b484e3a24377f9fba5c762ae23c6bc3d58155229 /sci-geosciences | |
parent | Sync eclasses from overlay (diff) | |
download | gentoo-2-eb8d64f87eec29b486727c385c76b42eaa121f30.tar.gz gentoo-2-eb8d64f87eec29b486727c385c76b42eaa121f30.tar.bz2 gentoo-2-eb8d64f87eec29b486727c385c76b42eaa121f30.zip |
New ebuild for opencpn. Fixes bug #334283
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/opencpn/ChangeLog | 11 | ||||
-rw-r--r-- | sci-geosciences/opencpn/metadata.xml | 12 | ||||
-rw-r--r-- | sci-geosciences/opencpn/opencpn-2.3.1.ebuild | 45 |
3 files changed, 68 insertions, 0 deletions
diff --git a/sci-geosciences/opencpn/ChangeLog b/sci-geosciences/opencpn/ChangeLog new file mode 100644 index 000000000000..e9f8362a638c --- /dev/null +++ b/sci-geosciences/opencpn/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sci-geosciences/opencpn +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/opencpn/ChangeLog,v 1.1 2011/06/15 00:11:29 mschiff Exp $ + +*opencpn-2.3.1 (15 Jun 2011) + + 15 Jun 2011; Marc Schiffbauer <mschiff@gentoo.org> +opencpn-2.3.1.ebuild, + +metadata.xml: + New ebuild for opencpn. Thanks to Tim Mohlmann for ebuild update. Fixes bug + #334283 + diff --git a/sci-geosciences/opencpn/metadata.xml b/sci-geosciences/opencpn/metadata.xml new file mode 100644 index 000000000000..821ef81687f0 --- /dev/null +++ b/sci-geosciences/opencpn/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>mschiff@gentoo.org</email> + </maintainer> + <use> + <flag name='gpsd'>Add support for using a GPS device through the GPSD + deamon</flag> + </use> +</pkgmetadata> diff --git a/sci-geosciences/opencpn/opencpn-2.3.1.ebuild b/sci-geosciences/opencpn/opencpn-2.3.1.ebuild new file mode 100644 index 000000000000..bc28fa8e6d12 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-2.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/opencpn/opencpn-2.3.1.ebuild,v 1.1 2011/06/15 00:11:29 mschiff Exp $ + +EAPI="4" + +WX_GTK_VER="2.8" + +inherit cmake-utils wxwidgets + +MY_P=OpenCPN-${PV}-Source +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="http://opencpn.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# build system seems very fragile: +# we need to force most useflags to make it actually build +IUSE="gpsd" + +# s57 must be enabled in this release to make the buils succeed +# if s57 may be disabled in a later release virtual/glu may be +# use conditional +DEPEND="app-arch/bzip2 + gpsd? ( >=sci-geosciences/gpsd-2.90 ) + sys-devel/gettext + sys-libs/zlib + virtual/glu + >=x11-libs/wxGTK-2.8.8[X]" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_configure() { + local mycmakeargs + mycmakeargs=( + $(cmake-utils_use_use gpsd GPSD) + #$(cmake-utils_use_use wifi WIFI_CLIENT) + #$(cmake-utils_use_use garminhost GARMINHOST) + #$(cmake-utils_use_use s57 S57) + ) + cmake-utils_src_configure +} |