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: Tue, 31 May 2022 20:12:10
Message-Id: 1654027917.bf6d1c5571b2c0da4c61bb7f401578d49c94b5f8.sultan@gentoo
1 commit: bf6d1c5571b2c0da4c61bb7f401578d49c94b5f8
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 20:10:57 2022 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 20:11:57 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf6d1c55
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-101.0.1210.53.ebuild | 116 ---------------------
14 2 files changed, 117 deletions(-)
15
16 diff --git a/www-client/microsoft-edge/Manifest b/www-client/microsoft-edge/Manifest
17 index 8abe3ab0e892..8b3052f35343 100644
18 --- a/www-client/microsoft-edge/Manifest
19 +++ b/www-client/microsoft-edge/Manifest
20 @@ -1,2 +1 @@
21 -DIST microsoft-edge-stable_101.0.1210.53-1_amd64.deb 119493496 BLAKE2B f21e86e48a4e03717e7d349e34ee9e966ad62ff155c9dee2a8417e3425aa2bf3b409a644a33e7e8798cc806e0b6d0787015a1c1e4f568313e86baa9efc77fabd SHA512 acfcf4690d4f8606c93b5a06623bac85ec5ca6b3dfd1587328a6f363b1120c06755f849d86577a56105b07c3411622c5af414e3f6a659f38bcf9193895164946
22 DIST microsoft-edge-stable_102.0.1245.30-1_amd64.deb 119467444 BLAKE2B 8b98a7228b37278390c65bb70d24355e9abb8fe8b703f7df534565812810faead955d823fb950481992876f07a4dde179fc0ba39457367f107ca2f26f3b46b7d SHA512 c7444e9a77280e82f9439d2874a0377ae2c04284177f4d04f2281ce71805cb05fc7b4b8e3dd4e3cdb13a39ca692342128734541f600880cd66a78069d07febf7
23
24 diff --git a/www-client/microsoft-edge/microsoft-edge-101.0.1210.53.ebuild b/www-client/microsoft-edge/microsoft-edge-101.0.1210.53.ebuild
25 deleted file mode 100644
26 index 3db12034b572..000000000000
27 --- a/www-client/microsoft-edge/microsoft-edge-101.0.1210.53.ebuild
28 +++ /dev/null
29 @@ -1,116 +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 -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 -}