summaryrefslogtreecommitdiff
path: root/sci-geosciences
diff options
context:
space:
mode:
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/Manifest.gzbin11258 -> 11256 bytes
-rw-r--r--sci-geosciences/opencpn/Manifest2
-rw-r--r--sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild16
3 files changed, 16 insertions, 2 deletions
diff --git a/sci-geosciences/Manifest.gz b/sci-geosciences/Manifest.gz
index e503ab3265c0..edcabf92618f 100644
--- a/sci-geosciences/Manifest.gz
+++ b/sci-geosciences/Manifest.gz
Binary files differ
diff --git a/sci-geosciences/opencpn/Manifest b/sci-geosciences/opencpn/Manifest
index ac69df5edf89..1cf4f5d2db84 100644
--- a/sci-geosciences/opencpn/Manifest
+++ b/sci-geosciences/opencpn/Manifest
@@ -2,5 +2,5 @@ DIST opencpn-5.6.2.tar.gz 82919992 BLAKE2B a45e19d293d63262f2bb6bd0bd5d18723cadd
DIST opencpn-5.8.2.tar.gz 87960698 BLAKE2B ecce27972a00af412283923a1720b9d74c80905101f383815e801691ab9dacb7c60328f6cd597811d4538bccf383e66465e08e2094420187272298151327b717 SHA512 c23bb322c2dcfb017347427cf6041d28fc0c1b8101f21d5cafc9b9306a4d265156ded90af09c385086e99a462a26787e7f4bb817ad19efa50624c952ba89c726
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 1374 BLAKE2B df189f7dea892d5802e0185ab503ec0b41d3d9b63a175c8ceeb0a9520add340475a365fb02bfe98c1095dd9a915cc513bdc9c3bc9eb4afba727a44052186c03b SHA512 fe56d88655e28d0a22475ed1774f0a8d54bd08d5b6b9a4b40b09936fdffcedd77e136bddfc46fde70e392991ccb96e4177f3a5ef15d0264e1dae2b259729986d
+EBUILD opencpn-5.8.2-r2.ebuild 1664 BLAKE2B e3c39a7f02959dc5d11a61742ae9cedfeb9f58ed263363f01e110de17ec0923f1d34eb5833176454b0b03f77b30c0666db9cdf47f70c8f40800a474dc673dbc8 SHA512 cb5effac83c31dad7e92ca144541a218d69d5fd248c0f8ddb29e39c36bb18458d035eefa4a2c839d221a6f04ebcedfc0593e91eee9c28dcb2e778d224628a027
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
index 7d5e879a5b06..82736045e5a4 100644
--- a/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild
+++ b/sci-geosciences/opencpn/opencpn-5.8.2-r2.ebuild
@@ -4,7 +4,7 @@
EAPI=8
WX_GTK_VER="3.2-gtk3"
-inherit wxwidgets xdg cmake
+inherit wxwidgets xdg cmake toolchain-funcs
DOC_VERSION="4.8.2.0"
@@ -44,6 +44,13 @@ BDEPEND="
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/. )
@@ -58,6 +65,13 @@ src_configure() {
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