From d59dfc99c5c30e62ba4cc55c9eae72aab4a930bf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 19 Jul 2023 01:02:33 +0100 Subject: gentoo auto-resync : 19:07:2023 - 01:02:32 --- sci-geosciences/opencpn/Manifest | 4 +- sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild | 81 ------------------------ sci-geosciences/opencpn/opencpn-5.8.4.ebuild | 82 +++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 83 deletions(-) delete mode 100644 sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild create mode 100644 sci-geosciences/opencpn/opencpn-5.8.4.ebuild (limited to 'sci-geosciences/opencpn') diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest index 1cf4f5d2db84..457b53778c6b 100644 --- a/sci-geosciences/opencpn/Manifest +++ b/sci-geosciences/opencpn/Manifest @@ -1,6 +1,6 @@ DIST opencpn-5.6.2.tar.gz 82919992 BLAKE2B a45e19d293d63262f2bb6bd0bd5d18723cadd0b93af8e64484b55d246cebbe623dccbb6a1d257eccd74fb9111953d9cdd4b44d6f3fb38c3a9f40fa253718f337 SHA512 6d90b21448b2d2a58685592e92647108978012cbaa25999d98855dca222e013784ca4e351eb08efd0a18980cccffb28b0d3c171ea9207e5fb37889e3a3b377e3 -DIST opencpn-5.8.2.tar.gz 87960698 BLAKE2B ecce27972a00af412283923a1720b9d74c80905101f383815e801691ab9dacb7c60328f6cd597811d4538bccf383e66465e08e2094420187272298151327b717 SHA512 c23bb322c2dcfb017347427cf6041d28fc0c1b8101f21d5cafc9b9306a4d265156ded90af09c385086e99a462a26787e7f4bb817ad19efa50624c952ba89c726 +DIST opencpn-5.8.4.tar.gz 82696698 BLAKE2B 0235d87daec97008b58dc9916d4250b33c0c4158be6ba4853bf30c5876af7d382eb1c02e2cd3748229775305cc90f86d5743b9951909043588e2096fcd207af5 SHA512 08231d95ca80a5e6b85b279be2912d3e9f390f879a780823f8ee9c64371eb0605484f697328217027c7caf18cb1151b617d42d22951672c1a9508750e97f109a DIST opencpn-doc_4.8.2.0.orig.tar.xz 22302480 BLAKE2B 2bcd2ac01340cde0d0be80537321c8c3e829a8e664944c34f3f3112f931c45746059b5c173402982601ccf88926241741c7fb44f251e9fe48b83aa5f3e8d7727 SHA512 678317c77feb3b0bf695e337e7e95083df1d488e0a5ad3bad41bad11dc87271d6fc0ac194a6b63b603d5c1f1184e6c9f91de895a7db01017ef2a7068a62404eb EBUILD opencpn-5.6.2-r3.ebuild 1298 BLAKE2B d4cecf15130cbd5132b108f0448a59cdd30f89cc82b15bcc3150e085fb2f1334cb663b1a0320376f50f350de4084ebc8eeb52e77724c87b88bced243e9e0aa19 SHA512 6e77886ba8990ec3e96920997ec22fbdddced8c141f5655161fa665cdbcfb75a54306c51dacd29869c70e6b40948f2b231db0d836fc7d8a99c1b9bbbe6478c87 -EBUILD opencpn-5.8.2-r2.ebuild 1664 BLAKE2B e3c39a7f02959dc5d11a61742ae9cedfeb9f58ed263363f01e110de17ec0923f1d34eb5833176454b0b03f77b30c0666db9cdf47f70c8f40800a474dc673dbc8 SHA512 cb5effac83c31dad7e92ca144541a218d69d5fd248c0f8ddb29e39c36bb18458d035eefa4a2c839d221a6f04ebcedfc0593e91eee9c28dcb2e778d224628a027 +EBUILD opencpn-5.8.4.ebuild 1684 BLAKE2B 0d609e46610d89dae559cbbf0548408aaa593ee66dd7177e22e499a0901a08defb839992f5d88d5ea4af61c749fbca8897db5d8eb6a9d3509df4f242d6fa2d9f SHA512 8ae4929ec48af69f7354ed063bd61de004742342f9d1659e6b97e2178c81c54da84032d6002218e736b2199353c19e8e69f11787b215284203a17944d7879d89 MISC metadata.xml 532 BLAKE2B f58755354fa6e133c3d948f9b57165ddc5dceed8548a599665f093500ea3451b83331324eda72bc3654b5ec49e2c0032421b4f6a20f270c2e7a14715fea5e0b0 SHA512 38390912b33d945d24fe81ab0bd23d09a1207e0eaaf68d4101748a41cd8237251e5451df277a98b65a16d6acfad8adb27c20b842e90decba25dbf98bfb580e72 diff --git a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild deleted file mode 100644 index 82736045e5a4..000000000000 --- a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -WX_GTK_VER="3.2-gtk3" -inherit wxwidgets xdg cmake toolchain-funcs - -DOC_VERSION="4.8.2.0" - -DESCRIPTION="a free, open source software for marine navigation" -HOMEPAGE="https://opencpn.org/" -SRC_URI=" - https://github.com/OpenCPN/OpenCPN/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz - doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${DOC_VERSION}.orig.tar.xz )" -S="${WORKDIR}/OpenCPN-Release_${PV}" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc lzma" - -RDEPEND=" - app-arch/bzip2 - dev-libs/tinyxml - lzma? ( app-arch/xz-utils ) - media-libs/freetype:2 - media-libs/glew:0 - media-libs/jasper - media-libs/portaudio - net-misc/curl - sys-libs/zlib - virtual/libusb:1 - virtual/opengl - x11-base/xorg-proto - x11-libs/gtk+:3 - x11-libs/wxGTK:${WX_GTK_VER}=[opengl,X] - " -DEPEND="${RDEPEND}" -BDEPEND=" - dev-cpp/gtest - dev-libs/rapidjson - sys-apps/lsb-release - sys-devel/gettext - " - -src_prepare() { - default - # see bug #907759 - sed -i "s/ cc / $(tc-getBUILD_CC) /" "${S}"/CMakeLists.txt - cmake_src_prepare -} - -src_configure() { - use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. ) - - setup-wxwidgets - local mycmakeargs=( - -DUSE_GARMINHOST=ON - ) -# -DUSE_S57=ON -# -DBUNDLE_TCDATA=ON -# -DBUNDLE_GSHHS=CRUDE - - cmake_src_configure -} - -src_install() { - default - cmake_src_install - mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die - rmdir "${D}/usr/share/doc/${PN}" -} - -pkg_postinst() { - xdg_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-5.8.4.ebuild b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild new file mode 100644 index 000000000000..6f8e39b49c29 --- /dev/null +++ b/sci-geosciences/opencpn/opencpn-5.8.4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" +inherit wxwidgets xdg cmake toolchain-funcs + +DOC_VERSION="4.8.2.0" + +DESCRIPTION="a free, open source software for marine navigation" +HOMEPAGE="https://opencpn.org/" +SRC_URI=" + https://github.com/OpenCPN/OpenCPN/archive/refs/tags/Release_${PV}.tar.gz -> ${P}.tar.gz + doc? ( https://launchpad.net/~opencpn/+archive/ubuntu/${PN}/+files/${PN}-doc_${DOC_VERSION}.orig.tar.xz )" +S="${WORKDIR}/OpenCPN-Release_${PV}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc lzma" + +RDEPEND=" + app-arch/bzip2 + dev-libs/openssl:= + dev-libs/tinyxml + lzma? ( app-arch/xz-utils ) + media-libs/freetype:2 + media-libs/glew:0 + media-libs/jasper + media-libs/portaudio + net-misc/curl + sys-libs/zlib + virtual/libusb:1 + virtual/opengl + x11-base/xorg-proto + x11-libs/gtk+:3 + x11-libs/wxGTK:${WX_GTK_VER}=[opengl,X] + " +DEPEND="${RDEPEND}" +BDEPEND=" + dev-cpp/gtest + dev-libs/rapidjson + sys-apps/lsb-release + sys-devel/gettext + " + +src_prepare() { + default + # see bug #907759 + sed -i "s/ cc / $(tc-getBUILD_CC) /" "${S}"/CMakeLists.txt + cmake_src_prepare +} + +src_configure() { + use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. ) + + setup-wxwidgets + local mycmakeargs=( + -DUSE_GARMINHOST=ON + ) +# -DUSE_S57=ON +# -DBUNDLE_TCDATA=ON +# -DBUNDLE_GSHHS=CRUDE + + cmake_src_configure +} + +src_install() { + default + cmake_src_install + mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die + rmdir "${D}/usr/share/doc/${PN}" +} + +pkg_postinst() { + xdg_pkg_postinst + + if use doc; then + einfo "Documentation is available at file:///usr/share/doc/${PF}/html/help_en_US.html" + fi +} -- cgit v1.2.3