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: Thu, 20 Jan 2022 21:32:20
Message-Id: 1642714330.5a9f9b873d42af7e09e212af7a24c186155bf6cf.sultan@gentoo
1 commit: 5a9f9b873d42af7e09e212af7a24c186155bf6cf
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 20 21:31:22 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 20 21:32:10 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a9f9b87
7
8 www-client/microsoft-edge: remove old
9
10 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
11
12 www-client/microsoft-edge/Manifest | 1 -
13 .../microsoft-edge-97.0.1072.62.ebuild | 109 ---------------------
14 2 files changed, 110 deletions(-)
15
16 diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
17 index e309eb4aa338..e41973ff3da3 100644
18 --- a/www-client/microsoft-edge/Manifest
19 +++ b/www-client/microsoft-edge/Manifest
20 @@ -1,2 +1 @@
21 -DIST microsoft-edge-stable_97.0.1072.62-1_amd64.deb 119827536 BLAKE2B 38e844de680a80c5ced1665a04302b171ff111370ef8fdd0d0bf8549274cf6e587d07bc3fa40bc43b85c45560a961ec1efa378c96a6510a127591fde7c8c10c8 SHA512 35f075c366f91091865628d576bfc9e6fec6b9389b0e1b7577a8a0679ae22435d0bb53653495c6a367a7dbcffac5d28176cd808ad296d6f47c0938cfd9df3893
22 DIST microsoft-edge-stable_97.0.1072.69-1_amd64.deb 119803088 BLAKE2B db910e03922d8bed314fd44e3c7bf1bfdbe29d27cebce3d50a4d2de8b582689857fe66f8dbf72665d2be2b7311fd7a4246c0f9294e49abb909ce07b72c9028cb SHA512 0353134a114fb59115f5268a7e5d5792c4b491e22870e6791daaef0fbe090ab43155ed717f9f2e868b75dc903027bdd2dcdc4df72c2d0b19e2766a1efe782865
23
24 diff --git a/www-client/microsoft-edge/microsoft-edge-97.0.1072.62.ebuild b/www-client/microsoft-edge/microsoft-edge-97.0.1072.62.ebuild
25 deleted file mode 100644
26 index ad61270c68ad..000000000000
27 --- a/www-client/microsoft-edge/microsoft-edge-97.0.1072.62.ebuild
28 +++ /dev/null
29 @@ -1,109 +0,0 @@
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 -
56 -RDEPEND="
57 - app-accessibility/at-spi2-atk:2
58 - app-accessibility/at-spi2-core:2
59 - app-misc/ca-certificates
60 - dev-libs/atk
61 - dev-libs/expat
62 - dev-libs/glib:2
63 - dev-libs/nspr
64 - dev-libs/nss
65 - media-fonts/liberation-fonts
66 - media-libs/alsa-lib
67 - media-libs/mesa[gbm(+)]
68 - net-misc/curl[ssl]
69 - net-print/cups
70 - sys-apps/dbus
71 - sys-apps/util-linux
72 - x11-libs/cairo
73 - x11-libs/gdk-pixbuf:2
74 - x11-libs/gtk+:3[X]
75 - x11-libs/libdrm
76 - x11-libs/libX11
77 - x11-libs/libXcomposite
78 - x11-libs/libXdamage
79 - x11-libs/libXext
80 - x11-libs/libXfixes
81 - x11-libs/libXrandr
82 - x11-libs/libxcb
83 - x11-libs/libxkbcommon
84 - x11-libs/libxshmfence
85 - x11-libs/pango
86 - x11-misc/xdg-utils
87 -"
88 -
89 -QA_PREBUILT="*"
90 -QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
91 -S=${WORKDIR}
92 -EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
93 -
94 -pkg_nofetch() {
95 - eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures."
96 -}
97 -
98 -pkg_pretend() {
99 - # Protect against people using autounmask overzealously
100 - use amd64 || die "microsoft-edge only works on amd64"
101 -}
102 -
103 -pkg_setup() {
104 - chromium_suid_sandbox_check_kernel_config
105 -}
106 -
107 -src_unpack() {
108 - :
109 -}
110 -
111 -src_install() {
112 - dodir /
113 - cd "${ED}" || die
114 - unpacker
115 -
116 - rm _gpgorigin || die
117 -
118 - rm -r etc usr/share/menu || die
119 - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
120 -
121 - gzip -d usr/share/doc/${PF}/changelog.gz || die
122 - gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
123 - if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then
124 - rm usr/share/man/man1/${PN}.1.gz || die
125 - dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1
126 - fi
127 -
128 - local suffix=
129 - [[ ${PN} == microsoft-edge-beta ]] && suffix=_beta
130 - [[ ${PN} == microsoft-edge-dev ]] && suffix=_dev
131 -
132 - local size
133 - for size in 16 24 32 48 64 128 256 ; do
134 - newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
135 - done
136 -
137 - pax-mark m "${EDGE_HOME}/msedge"
138 -}