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: Sun, 27 Mar 2022 07:46:27
Message-Id: 1648367175.697bfa085e98bb67aed40ebc66ca1dc22292f7d6.sultan@gentoo
1 commit: 697bfa085e98bb67aed40ebc66ca1dc22292f7d6
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 27 07:45:36 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 27 07:46:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697bfa08
7
8 www-client/microsoft-edge: automated bump (99.0.1150.55)
9
10 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
11
12 www-client/microsoft-edge/Manifest | 1 +
13 .../microsoft-edge-99.0.1150.55.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 64bf41ede20f..671faa3d13ee 100644
18 --- a/www-client/microsoft-edge/Manifest
19 +++ b/www-client/microsoft-edge/Manifest
20 @@ -1 +1,2 @@
21 DIST microsoft-edge-stable_99.0.1150.52-1_amd64.deb 117788060 BLAKE2B 0a77b949d71ab0473d56386a5af0b1f427729da2466f9023c5b3c143e37142c86be47000b891a82e801d57ac0f10090dd3cdaf43dfc247adb2f27d62924f8933 SHA512 071d104a80278ee4f8f44e9492007056b399d0fc33b7fb304633d7316b412f2dca6d7f7f285b8c064ab60cb19cccc532eb8cea4cc7cc88f6f35284a54188714c
22 +DIST microsoft-edge-stable_99.0.1150.55-1_amd64.deb 117772024 BLAKE2B 009d6396b284ff620bb49fce6861a61d743692b8926a20d6d97ce7c2eceee5e91336db01272a07e0d78d3492ef99692b6861f826b23deff8126199b6a973b1f6 SHA512 b45e9c9cb13d871f0c8be79917da518e984d27fa61eb166dfd5d7e8030d23de2f8e5eac8f95f1888d42106d71764b6d25d4a5eab5217f2c91e9e19e219cd43d0
23
24 diff --git a/www-client/microsoft-edge/microsoft-edge-99.0.1150.55.ebuild b/www-client/microsoft-edge/microsoft-edge-99.0.1150.55.ebuild
25 new file mode 100644
26 index 000000000000..a8cc7e730ebf
27 --- /dev/null
28 +++ b/www-client/microsoft-edge/microsoft-edge-99.0.1150.55.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 +}