Diff opencpn-5.6.2-r3 with a opencpn-5.8.4

/usr/portage/sci-geosciences/opencpn/opencpn-5.8.4.ebuild 2023-10-09 14:52:35.052368490 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
WX_GTK_VER="3.0-gtk3"
7
inherit wxwidgets xdg cmake
6
WX_GTK_VER="3.2-gtk3"
7
inherit wxwidgets xdg cmake toolchain-funcs
8 8

  
9 9
DOC_VERSION="4.8.2.0"
10 10

  
......
22 22

  
23 23
RDEPEND="
24 24
	app-arch/bzip2
25
	dev-libs/openssl:=
25 26
	dev-libs/tinyxml
26 27
	lzma? ( app-arch/xz-utils )
27 28
	media-libs/freetype:2
29
	media-libs/glew:0
30
	media-libs/jasper
28 31
	media-libs/portaudio
29 32
	net-misc/curl
30 33
	sys-libs/zlib
......
36 39
	"
37 40
DEPEND="${RDEPEND}"
38 41
BDEPEND="
39
	sys-devel/gettext
42
	dev-cpp/gtest
43
	dev-libs/rapidjson
40 44
	sys-apps/lsb-release
45
	sys-devel/gettext
41 46
	"
42 47

  
48
src_prepare() {
49
	default
50
	# see bug #907759
51
	sed -i "s/ cc / $(tc-getBUILD_CC) /" "${S}"/CMakeLists.txt
52
	cmake_src_prepare
53
}
54

  
43 55
src_configure() {
44 56
	use doc && HTML_DOCS=( "${S}"/../${PN}/doc/. )
45 57

  
46 58
	setup-wxwidgets
47 59
	local mycmakeargs=(
48
		-DUSE_S57=ON
49 60
		-DUSE_GARMINHOST=ON
50
		-DBUNDLE_GSHHS=CRUDE
51
		-DBUNDLE_TCDATA=ON
52 61
	)
62
#		-DUSE_S57=ON
63
#		-DBUNDLE_TCDATA=ON
64
#		-DBUNDLE_GSHHS=CRUDE
53 65

  
54 66
	cmake_src_configure
55 67
}
56 68

  
69
src_install() {
70
	default
71
	cmake_src_install
72
	mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die
73
	rmdir "${D}/usr/share/doc/${PN}"
74
}
75

  
57 76
pkg_postinst() {
58 77
	xdg_pkg_postinst
59 78

  
Thank you!