Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge/
Date: Fri, 06 May 2022 10:01:42
Message-Id: 1651831049.f5a38bc9786f44d434109eb47fd123fc501a31a3.sultan@gentoo
1 commit: f5a38bc9786f44d434109eb47fd123fc501a31a3
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 09:57:29 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 09:57:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5a38bc9
7
8 www-client/microsoft-edge: automated bump (101.0.1210.39)
9
10 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
11
12 www-client/microsoft-edge/Manifest | 1 +
13 .../microsoft-edge-101.0.1210.39.ebuild | 116 +++++++++++++++++++++
14 2 files changed, 117 insertions(+)
15
16 diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
17 index 9040f3b90fdd..5261dcb96fbe 100644
18 --- a/www-client/microsoft-edge/Manifest
19 +++ b/www-client/microsoft-edge/Manifest
20 @@ -1 +1,2 @@
21 DIST microsoft-edge-stable_101.0.1210.32-1_amd64.deb 119486916 BLAKE2B 79da63b26b7609bc04841053728765e6f5e1579b736b806af8f5df5b4c9102e42db903d003bd2ac21551cba34f5eadde9d884b03b8c66cc0691a443e83eba15d SHA512 d334d93ec2fe1d906840ee6382f70264d3dbf544dcad870ac75224e11909720c5daa916a7fee5986649c5fc68d1ffd38fbc4f463218357579bb1b69dfec9f5b8
22 +DIST microsoft-edge-stable_101.0.1210.39-1_amd64.deb 119390660 BLAKE2B c45385f86db5cf20f055165e3bff145fd7ad0fdb3e1784af6982e7460b9d182c77774b97422982c646427232385f23980a8ee554d2b8ad566cc013cad0af06ee SHA512 f522318fa4853a7f84e7f2abbd4b91ce2586411d4244afd19d0ae19667b74fae46c9b4f4e7090c5ec9f365eb603b76f9d501b107e040d1e1a144cca2f15d5eee
23
24 diff --git a/www-client/microsoft-edge/microsoft-edge-101.0.1210.39.ebuild b/www-client/microsoft-edge/microsoft-edge-101.0.1210.39.ebuild
25 new file mode 100644
26 index 000000000000..a8cc7e730ebf
27 --- /dev/null
28 +++ b/www-client/microsoft-edge/microsoft-edge-101.0.1210.39.ebuild
29 @@ -0,0 +1,116 @@
30 +# Copyright 2011-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="8"
34 +
35 +inherit chromium-2 desktop pax-utils unpacker xdg
36 +
37 +DESCRIPTION="The web browser from Microsoft"
38 +HOMEPAGE="https://www.microsoft.com/en-us/edge"
39 +
40 +if [[ ${PN} == microsoft-edge ]]; then
41 + MY_PN=${PN}-stable
42 +else
43 + MY_PN=${PN}
44 +fi
45 +
46 +KEYWORDS="-* ~amd64"
47 +
48 +MY_P="${MY_PN}_${PV}-1"
49 +
50 +SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb"
51 +
52 +LICENSE="microsoft-edge"
53 +SLOT="0"
54 +RESTRICT="bindist mirror strip"
55 +IUSE="+mip"
56 +
57 +RDEPEND="
58 + app-accessibility/at-spi2-atk:2
59 + app-accessibility/at-spi2-core:2
60 + app-misc/ca-certificates
61 + dev-libs/atk
62 + dev-libs/expat
63 + dev-libs/glib:2
64 + dev-libs/nspr
65 + dev-libs/nss
66 + media-fonts/liberation-fonts
67 + media-libs/alsa-lib
68 + media-libs/mesa[gbm(+)]
69 + net-misc/curl[ssl]
70 + net-print/cups
71 + sys-apps/dbus
72 + sys-apps/util-linux
73 + sys-libs/glibc
74 + x11-libs/cairo
75 + x11-libs/gdk-pixbuf:2
76 + x11-libs/gtk+:3[X]
77 + x11-libs/libdrm
78 + x11-libs/libX11
79 + x11-libs/libXcomposite
80 + x11-libs/libXdamage
81 + x11-libs/libXext
82 + x11-libs/libXfixes
83 + x11-libs/libXrandr
84 + x11-libs/libxcb
85 + x11-libs/libxkbcommon
86 + x11-libs/libxshmfence
87 + x11-libs/pango
88 + x11-misc/xdg-utils
89 + mip? ( app-crypt/libsecret )
90 +"
91 +
92 +QA_PREBUILT="*"
93 +QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
94 +S=${WORKDIR}
95 +EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
96 +
97 +pkg_nofetch() {
98 + eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures."
99 +}
100 +
101 +pkg_pretend() {
102 + # Protect against people using autounmask overzealously
103 + use amd64 || die "microsoft-edge only works on amd64"
104 +}
105 +
106 +pkg_setup() {
107 + chromium_suid_sandbox_check_kernel_config
108 +}
109 +
110 +src_unpack() {
111 + :
112 +}
113 +
114 +src_install() {
115 + dodir /
116 + cd "${ED}" || die
117 + unpacker
118 +
119 + rm _gpgorigin || die
120 +
121 + rm -r etc usr/share/menu || die
122 + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
123 +
124 + gzip -d usr/share/doc/${PF}/changelog.gz || die
125 + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
126 + if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then
127 + rm usr/share/man/man1/${PN}.1.gz || die
128 + dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1
129 + fi
130 +
131 + local suffix=
132 + [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta
133 + [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev
134 +
135 + local size
136 + for size in 16 24 32 48 64 128 256 ; do
137 + newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
138 + done
139 +
140 + if ! use mip; then
141 + rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die
142 + fi
143 +
144 + pax-mark m "${EDGE_HOME}/msedge"
145 +}