From 18ff908bbf828e735a41ff83ac9a67f1e00a49de Mon Sep 17 00:00:00 2001 From: Marc Schiffbauer Date: Mon, 14 Aug 2017 01:31:28 +0200 Subject: sci-geosciences/opencpn: revbump with updated docs Package-Manager: Portage-2.3.6, Repoman-2.3.3 --- sci-geosciences/opencpn/Manifest | 1 + sci-geosciences/opencpn/opencpn-4.8.0-r1.ebuild | 63 +++++++++++++++++++++++++ sci-geosciences/opencpn/opencpn-4.8.0.ebuild | 61 ------------------------ 3 files changed, 64 insertions(+), 61 deletions(-) create mode 100644 sci-geosciences/opencpn/opencpn-4.8.0-r1.ebuild delete mode 100644 sci-geosciences/opencpn/opencpn-4.8.0.ebuild (limited to 'sci-geosciences/opencpn') diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest index 6af61195cdd5..690963660bd2 100644 --- a/sci-geosciences/opencpn/Manifest +++ b/sci-geosciences/opencpn/Manifest @@ -4,3 +4,4 @@ DIST opencpn-4.4.0.tar.gz 40840928 SHA256 577ae0fa44d31840e268b22c50b78130695fdf DIST opencpn-4.6.1.tar.gz 52852694 SHA256 9ac2bca86fb41c56225a08f67c9d03b2aebf613170b53fee0693fc9f3d82b430 SHA512 493c4ba35011b0d69633a6c0653b23d02e50d1ca694d820b0bcaf4a96a8b7e69364ee7412a0a7c13cc1c2f1fd9bcc4f2b1b13a0b3c04e438918c77ccea78e7ab WHIRLPOOL 148372be0e3efdce4ac30fcb85f5547f4c00339f279874a041ebce963ba63c565319c783c525d79401a19fdc4e83df429777c12a58049f5b6035fc73e97dc8b9 DIST opencpn-4.8.0.tar.gz 53008393 SHA256 c2d6bbded28c13151fa2b6acb7e50938e7072c05a14a0ec0f0075c1ad8043c2b SHA512 1f1ea666566e98ee3af24423985119c1b14e184d4310dbc588b00065878b1dcb8fe73a7331e4ad3f75a905774fff187203fb31253faea7238f3d783a6729ad75 WHIRLPOOL 6350269b95605774911eb54c175f79ec2b4494261e19ddf42fa694791408dcb79078d30ef1fbf77e77122545c272d49205a9ae419a70aa53c3c2f7a4afc72980 DIST opencpn-doc_4.0.0.orig.tar.xz 14732480 SHA256 3bc27c19f1b21e4cff69e594081cac765c1ff975374c02bc4fb703cb02a4cd92 SHA512 fb80e4afb759c99cf24b498c454bc492aa0b3c02443424b0f39910e1a494670093ac5ee19cd40a8a0abb345e18b7496b8a70c160bed5215af6bcee07e145ee36 WHIRLPOOL 49e51ab2555513fb4e7436d326c89a1e4b707be263bb5fb7a866bd79c1053c8078d932a39664de5701b12ae712db9d0fb9147002f40a1d9c3af1674d61bf7818 +DIST opencpn-doc_4.1.1329.1.orig.tar.xz 8739872 SHA256 4de69d7a7c83d56301105052bdb1d9191a2a590aa3b44e50b6173b1b01ac4a78 SHA512 652a932edbf8a6f05fd3c64ddf566f817405cf44697035f58ddbf1a99bf92269b7fd9ee83b7ee065aa60db15b6030d8c5c9a4a4001049ed2def9962bc51746c2 WHIRLPOOL d3f8af26116986cc746d145f17f7a9bab91f9c5f08b4e5aee04086d34c161cbe70025c73a9a2eb366dd50752584695968d701c2ad71e4926860c14a0666b0b9c diff --git a/sci-geosciences/opencpn/opencpn-4.8.0-r1.ebuild b/sci-geosciences/opencpn/opencpn-4.8.0-r1.ebuild new file mode 100644 index 000000000000..b5246e347de4 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-4.8.0-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +WX_GTK_VER="3.0" +inherit cmake-utils wxwidgets + +DOC_VERSION="4.1.1329.1" + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="http://opencpn.org/" +SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz +doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${DOC_VERSION}.orig.tar.xz ) +" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc gps opengl" + +RDEPEND=" + app-arch/bzip2 + dev-libs/tinyxml + media-libs/freetype:2 + media-libs/portaudio + sys-libs/zlib + opengl? ( virtual/opengl ) + x11-libs/gtk+:2 + x11-libs/wxGTK:${WX_GTK_VER}[X] + gps? ( sci-geosciences/gpsd ) + !sci-geosciences/opencpn-plugin-wmm +" +DEPEND="${RDEPEND} + sys-devel/gettext" + +S="${WORKDIR}/OpenCPN-${PV}" + +src_configure() { + need-wxwidgets unicode + local mycmakeargs=( + $(cmake-utils_use_use gps GPSD) + -DUSE_S57=ON + -DUSE_GARMINHOST=ON + -DBUNDLE_GSHHS=CRUDE + -DBUNDLE_TCDATA=ON + ) + + cmake-utils_src_configure +} + +src_install() { + if use doc; then + dohtml -r "${S}"/../${PN}/doc/* + fi + cmake-utils_src_install +} + +pkg_postinst() { + if use doc; then + einfo "Documentation is available at file:///usr/share/doc/${PF}/html/help_en_US.html" + fi +} diff --git a/sci-geosciences/opencpn/opencpn-4.8.0.ebuild b/sci-geosciences/opencpn/opencpn-4.8.0.ebuild deleted file mode 100644 index 7532a7b6cc5c..000000000000 --- a/sci-geosciences/opencpn/opencpn-4.8.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -WX_GTK_VER="3.0" -inherit cmake-utils wxwidgets - -DESCRIPTION="a free, open source software for marine navigation" -HOMEPAGE="http://opencpn.org/" -SRC_URI="https://github.com/OpenCPN/OpenCPN/archive/v${PV}.tar.gz -> ${P}.tar.gz -doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_4.0.0.orig.tar.xz ) -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc gps opengl" - -RDEPEND=" - app-arch/bzip2 - dev-libs/tinyxml - media-libs/freetype:2 - media-libs/portaudio - sys-libs/zlib - opengl? ( virtual/opengl ) - x11-libs/gtk+:2 - x11-libs/wxGTK:${WX_GTK_VER}[X] - gps? ( sci-geosciences/gpsd ) - !sci-geosciences/opencpn-plugin-wmm -" -DEPEND="${RDEPEND} - sys-devel/gettext" - -S="${WORKDIR}/OpenCPN-${PV}" - -src_configure() { - need-wxwidgets unicode - local mycmakeargs=( - $(cmake-utils_use_use gps GPSD) - -DUSE_S57=ON - -DUSE_GARMINHOST=ON - -DBUNDLE_GSHHS=CRUDE - -DBUNDLE_TCDATA=ON - ) - - cmake-utils_src_configure -} - -src_install() { - if use doc; then - dohtml -r "${S}"/../${PN}/doc/* - fi - cmake-utils_src_install -} - -pkg_postinst() { - if use doc; then - einfo "Documentation is available at file:///usr/share/doc/${P}/html/help_en_US.html" - fi -} -- cgit v1.2.3-65-gdbad