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