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-beta/
Date: Mon, 03 May 2021 19:29:48
Message-Id: 1620070175.05a280c6aaa09b3b3935e0f3535e9842124f0c90.sultan@gentoo
1 commit: 05a280c6aaa09b3b3935e0f3535e9842124f0c90
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 3 19:29:25 2021 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Mon May 3 19:29:35 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a280c6
7
8 www-client/microsoft-edge-beta: bump to 91.0.864.15
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 www-client/microsoft-edge-beta/Manifest | 1 +
14 .../microsoft-edge-beta-91.0.864.15.ebuild | 105 +++++++++++++++++++++
15 2 files changed, 106 insertions(+)
16
17 diff --git a/www-client/microsoft-edge-beta/Manifest b/www-client/microsoft-edge-beta/Manifest
18 index f3b77f2dcda..97f39168b3d 100644
19 --- a/www-client/microsoft-edge-beta/Manifest
20 +++ b/www-client/microsoft-edge-beta/Manifest
21 @@ -1 +1,2 @@
22 DIST microsoft-edge-beta_91.0.864.11-1_amd64.deb 98516564 BLAKE2B 1683413c7d6f4baf7e554c91b17dd5b95c1e61bdb8a24fcb2c1f239e521c2c4c4956d5aa2ee782e1fcab63a74ab95b4bccaece925c865aa646333c857a107247 SHA512 d77f82c5795ad067b16eca09be3fe4c7f3c4057dd98721f732ac57ecf031a77563e58c95c0c03f36bece0941da36d8bac868b5a31ecd3bc962efbab1163e89fc
23 +DIST microsoft-edge-beta_91.0.864.15-1_amd64.deb 99076612 BLAKE2B a8f2142f80b4e0641b877f95009c13b2c9c783fb1c300ebbc37bfeebac6e06a7367c8d2b3c78d8501b2c5f4a6e1368531ede256d41fd5741724ce5e50232b46b SHA512 78a3e814efed986362ea52f0b6720440c24be051b2521ccecb4a4134cc61d7c33dc3afdd72c97909664f43372f9edac7fcf58e52ee696bcff3eb10fc95461706
24
25 diff --git a/www-client/microsoft-edge-beta/microsoft-edge-beta-91.0.864.15.ebuild b/www-client/microsoft-edge-beta/microsoft-edge-beta-91.0.864.15.ebuild
26 new file mode 100644
27 index 00000000000..6887ef49a3a
28 --- /dev/null
29 +++ b/www-client/microsoft-edge-beta/microsoft-edge-beta-91.0.864.15.ebuild
30 @@ -0,0 +1,105 @@
31 +# Copyright 2011-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +
36 +inherit chromium-2 desktop pax-utils unpacker xdg
37 +
38 +DESCRIPTION="The web browser from Microsoft"
39 +HOMEPAGE="https://www.microsoft.com/en-us/edge"
40 +
41 +if [[ ${PN} == microsoft-edge ]]; then
42 + MY_PN=${PN}-stable
43 +else
44 + MY_PN=${PN}
45 +fi
46 +
47 +KEYWORDS="-* ~amd64"
48 +
49 +MY_P="${MY_PN}_${PV}-1"
50 +
51 +SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb"
52 +
53 +LICENSE="microsoft-edge"
54 +SLOT="0"
55 +RESTRICT="bindist mirror strip"
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 + x11-libs/cairo
74 + x11-libs/gdk-pixbuf:2
75 + x11-libs/gtk+:3[X]
76 + x11-libs/libdrm
77 + x11-libs/libX11
78 + x11-libs/libXcomposite
79 + x11-libs/libXdamage
80 + x11-libs/libXext
81 + x11-libs/libXfixes
82 + x11-libs/libXrandr
83 + x11-libs/libxcb
84 + x11-libs/libxkbcommon
85 + x11-libs/libxshmfence
86 + x11-libs/pango
87 + x11-misc/xdg-utils
88 +"
89 +
90 +QA_PREBUILT="*"
91 +QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
92 +S=${WORKDIR}
93 +EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
94 +
95 +pkg_nofetch() {
96 + eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures."
97 +}
98 +
99 +pkg_pretend() {
100 + # Protect against people using autounmask overzealously
101 + use amd64 || die "microsoft-edge only works on amd64"
102 +}
103 +
104 +pkg_setup() {
105 + chromium_suid_sandbox_check_kernel_config
106 +}
107 +
108 +src_unpack() {
109 + :
110 +}
111 +
112 +src_install() {
113 + dodir /
114 + cd "${ED}" || die
115 + unpacker
116 +
117 + rm _gpgorigin || die
118 +
119 + rm -r etc usr/share/menu || die
120 + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
121 +
122 + gzip -d usr/share/doc/${PF}/changelog.gz || die
123 + gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
124 +
125 + local suffix=
126 + [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta
127 + [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev
128 +
129 + local size
130 + for size in 16 24 32 48 64 128 256 ; do
131 + newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
132 + done
133 +
134 + pax-mark m "${EDGE_HOME}/msedge"
135 +}