Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/microsoft-edge/
Date: Sat, 03 Sep 2022 03:13:23
Message-Id: 1662174769.6df4bf6b9be02b7326871528b5c265d33630bf33.sam@gentoo
1 commit: 6df4bf6b9be02b7326871528b5c265d33630bf33
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 3 03:12:49 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 3 03:12:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6df4bf6b
7
8 www-client/microsoft-edge: automated bump (105.0.1343.27)
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 www-client/microsoft-edge/Manifest | 1 +
13 .../microsoft-edge-105.0.1343.27.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 15e0b17bf303..025262971e41 100644
18 --- a/www-client/microsoft-edge/Manifest
19 +++ b/www-client/microsoft-edge/Manifest
20 @@ -1 +1,2 @@
21 DIST microsoft-edge-stable_105.0.1343.25-1_amd64.deb 133588088 BLAKE2B 86740c6271067bb74031f61b62dc20b4556cde1292caabc55e05b2bb2f3e4db8a7924710aba8b3d94b7a60fc05374fea705b5f7be0a9688a33b9af7d547e6622 SHA512 e2cc93da122dc66340903187dc351cc7336d9af279edc1f35843340cdacb80eaece1325e45e40bc6a9df51bb527947bd2f5210ad6cd2858e1be41d7effcae201
22 +DIST microsoft-edge-stable_105.0.1343.27-1_amd64.deb 133569784 BLAKE2B ecd343bee7d893af5828d6f2792d14cbb9dde973fa4cd7abe9a34259e3953bc381bdd72231df6a11f1c77e62fec07cd03b6511f404d7aa09acdc7be3ac671558 SHA512 124eea04fe68631fc983f9a03f317771193731b7f41aa270ff2652d6263eb34b6a01d0a7e9db6b8ae6f460b996ee35bea72557b2d18acc2eb1057cd5e0b53160
23
24 diff --git a/www-client/microsoft-edge/microsoft-edge-105.0.1343.27.ebuild b/www-client/microsoft-edge/microsoft-edge-105.0.1343.27.ebuild
25 new file mode 100644
26 index 000000000000..a8cc7e730ebf
27 --- /dev/null
28 +++ b/www-client/microsoft-edge/microsoft-edge-105.0.1343.27.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 +}