diff options
author | Marc Schiffbauer <mschiff@gentoo.org> | 2011-12-02 16:39:38 +0000 |
---|---|---|
committer | Marc Schiffbauer <mschiff@gentoo.org> | 2011-12-02 16:39:38 +0000 |
commit | 700ace5e29b177c5eee179afdec6c846205221ab (patch) | |
tree | 16b9eae0eeed1b22806bf0db2ecbb36084a5a82c /sci-geosciences | |
parent | Stable for HPPA (bug #392629). (diff) | |
download | gentoo-2-700ace5e29b177c5eee179afdec6c846205221ab.tar.gz gentoo-2-700ace5e29b177c5eee179afdec6c846205221ab.tar.bz2 gentoo-2-700ace5e29b177c5eee179afdec6c846205221ab.zip |
Revbump. USE=gpsd -> USE=gps. Fixes #390973
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'sci-geosciences')
-rw-r--r-- | sci-geosciences/opencpn/ChangeLog | 7 | ||||
-rw-r--r-- | sci-geosciences/opencpn/opencpn-2.5.0-r1.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/sci-geosciences/opencpn/ChangeLog b/sci-geosciences/opencpn/ChangeLog index 4e50cdf5e78d..5f039e0b73ec 100644 --- a/sci-geosciences/opencpn/ChangeLog +++ b/sci-geosciences/opencpn/ChangeLog @@ -1,6 +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.7 2011/11/19 09:48:59 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/opencpn/ChangeLog,v 1.8 2011/12/02 16:39:38 mschiff Exp $ + +*opencpn-2.5.0-r1 (02 Dec 2011) + + 02 Dec 2011; Marc Schiffbauer <mschiff@gentoo.org> +opencpn-2.5.0-r1.ebuild: + Revbump. USE=gpsd -> USE=gps. Fixes #390973 19 Nov 2011; Markos Chandras <hwoarang@gentoo.org> opencpn-2.5.0.ebuild: Stable on amd64 wrt bug #390551 diff --git a/sci-geosciences/opencpn/opencpn-2.5.0-r1.ebuild b/sci-geosciences/opencpn/opencpn-2.5.0-r1.ebuild new file mode 100644 index 000000000000..efb58c7bc63c --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-2.5.0-r1.ebuild @@ -0,0 +1,66 @@ +# 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.5.0-r1.ebuild,v 1.1 2011/12/02 16:39:38 mschiff Exp $ + +EAPI=4 + +WX_GTK_VER="2.8" +MY_P=OpenCPN-${PV}-Source +inherit cmake-utils wxwidgets + +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" +IUSE="gps" + +RDEPEND=" + app-arch/bzip2 + dev-libs/tinyxml + media-libs/freetype:2 + sys-libs/zlib + virtual/opengl + x11-libs/gtk+:2 + >=x11-libs/wxGTK-2.8.11.0[X] + gps? ( >=sci-geosciences/gpsd-2.95 ) +" +DEPEND="${DEPEND} + sys-devel/gettext" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-multilib-strict.patch" + "${FILESDIR}/${P}_tinyxml_stl.patch" +) + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_use gps GPSD) + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DUSE_WIFI_CLIENT=OFF + ) + + cmake-utils_src_configure +} + +pkg_postinst() { + if grep -rqE "sci-geosciences/opencpn.*gpsd" /etc/make.conf /etc/portage/package.use*; then + if use gps; then + ewarn "The local 'gpsd' USE flag has been removed in favour of the" + ewarn "global 'gps' USE flag which is enabled on your system." + ewarn "" + ewarn "Please remove the 'gpsd' USE flag from your make.conf" + ewarn "and/or /etc/portage/package.use files." + else + ewarn "global 'gps' USE flag." + ewarn "" + ewarn "In order to have GPS support in OpenCPN you need to" + ewarn "enable the 'gps' USE flag." + fi + fi +} |