Сравнение gitter-bin-4.1.0-r1 с gitter-bin-5.0.1

/usr/portage/net-im/gitter-bin/gitter-bin-5.0.1.ebuild 2023-10-09 14:52:34.448368475 +0300
8 8

  
9 9
inherit desktop multilib-build pax-utils unpacker xdg
10 10

  
11
QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_libcrt_platform_a
12
	opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe
11
QA_PREBUILT="opt/gitter/pnacl/pnacl_public_x86_64_pnacl_llc_nexe
13 12
	opt/gitter/pnacl/pnacl_public_x86_64_ld_nexe
14 13
	opt/gitter/pnacl/pnacl_public_x86_64_pnacl_sz_nexe
15 14
	opt/gitter/payload
......
23 22
	opt/gitter/nwjc
24 23
	opt/gitter/nacl_irt_x86_64.nexe
25 24
	opt/gitter/Gitter"
26
QA_FLAGS_IGNORED="/opt/gitter/minidump_stackwalk
27
	/opt/gitter/nacl_helper_bootstrap"
25
QA_FLAGS_IGNORED="opt/gitter/minidump_stackwalk
26
	opt/gitter/nacl_helper_bootstrap
27
	opt/gitter/crashpad_handler
28
	opt/gitter/lib/libEGL.so
29
	opt/gitter/lib/libGLESv2.so"
28 30

  
29 31
DESCRIPTION="Chat and network platform"
30 32
HOMEPAGE="https://www.gitter.im"
......
38 40
IUSE=""
39 41
RESTRICT="bindist mirror"
40 42

  
41
RDEPEND="dev-libs/atk:0[${MULTILIB_USEDEP}]
43
RDEPEND="app-accessibility/at-spi2-core:2[${MULTILIB_USEDEP}]
44
	dev-libs/atk:0[${MULTILIB_USEDEP}]
42 45
	dev-libs/expat:0[${MULTILIB_USEDEP}]
43 46
	dev-libs/glib:2[${MULTILIB_USEDEP}]
44 47
	dev-libs/nspr:0[${MULTILIB_USEDEP}]
......
49 52
	x11-libs/cairo:0[${MULTILIB_USEDEP}]
50 53
	x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
51 54
	x11-libs/gtk+:3[${MULTILIB_USEDEP}]
55
	x11-libs/libdrm:0[${MULTILIB_USEDEP}]
52 56
	x11-libs/libX11:0[${MULTILIB_USEDEP}]
53 57
	x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}]
54 58
	x11-libs/libXcomposite:0[${MULTILIB_USEDEP}]
......
62 66
	x11-libs/libXScrnSaver:0[${MULTILIB_USEDEP}]
63 67
	x11-libs/libXtst:0[${MULTILIB_USEDEP}]
64 68
	x11-libs/pango:0[${MULTILIB_USEDEP}]"
65
BDEPEND="sys-apps/fix-gnustack"
66 69

  
67 70
S="${WORKDIR}"
68 71

  
......
72 75
	local arch
73 76
	arch="$(usex amd64 "64" "32")"
74 77

  
75
	# Modify desktop file to use common paths
78
	# Remove hardcoded paths
76 79
	sed -i \
77
		-e '/Exec/s/=.*/=\/usr\/bin\/gitter/' \
78
		-e '/Icon/s/=.*/=\/usr\/share\/pixmaps\/gitter.png/' \
80
		-e '/Exec/s/=.*/=gitter/' \
81
		-e '/Icon/s/=.*/=gitter/' \
79 82
		opt/Gitter/linux"${arch}"/gitter.desktop || die "sed failed"
80 83
}
81 84

  
......
83 86
	local arch
84 87
	arch="$(usex amd64 "64" "32")"
85 88

  
86
	fix-gnustack -f opt/Gitter/linux"${arch}"/nacl_irt_x86_64.nexe > /dev/null \
87
		|| die "removing execstack flag failed"
88

  
89 89
	newicon opt/Gitter/linux"${arch}"/logo.png gitter.png
90 90
	newicon -s 256 opt/Gitter/linux"${arch}"/logo.png gitter.png
91 91
	domenu opt/Gitter/linux"${arch}"/gitter.desktop
92 92

  
93 93
	insinto /opt/gitter
94 94
	doins -r opt/Gitter/linux"${arch}"/.
95
	fperms +x /opt/gitter/Gitter
95
	fperms -R +x /opt/gitter/lib/ /opt/gitter/swiftshader/ \
96
		/opt/gitter/pnacl/pnacl_public_x86_64_{ld_nexe,pnacl_llc_nexe,pnacl_sz_nexe} \
97
		/opt/gitter/{Gitter,chromedriver,crashpad_handler,minidump_stackwalk,nwjc,payload} \
98
		/opt/gitter/nacl_{helper,helper_bootstrap,irt_x86_64.nexe}
99

  
96 100
	dosym ../../opt/gitter/Gitter /usr/bin/gitter
97 101

  
98 102
	pax-mark -m "${ED}"/opt/gitter/Gitter
Спасибо!