mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
www-client/microsoft-edge: automated bump (153.0.4234.32)
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST microsoft-edge-stable_152.0.4191.66-1_amd64.deb 195767486 BLAKE2B 4ca8a5a92f296862cf3a5aa69e4dbf2f7db82bfd51ea29f786434d9e9d4657c04cf7606ed5a328797dff53f0745104c2a1e31a2f90d53b0ef99081849a112776 SHA512 24030052699bca5d0f078d47c5dd2becf8210147b422f89fa385c9cef3c9c4bc2325aac03ed0185359f5f169b9d79c26d40eab3abf98753937893432db110027
|
||||
DIST microsoft-edge-stable_153.0.4234.32-1_amd64.deb 192702334 BLAKE2B 016bb0840dd827dd2f714bbbcb1b66dec97c56563c69663f2df50c279f03dc34371a60ba89a8f90754f71b27276bb15cc9d3a0c78811908095823d54ff59251c SHA512 4286c5150330066c61a5292e58ac2171480def556fcad3cdc9366a8d501fe10ed284d00198140e448ce6b4932b7a77f7ecbee20dea58c7cf51b8158bad5cb52f
|
||||
|
||||
@@ -0,0 +1,125 @@
|
||||
# Copyright 2011-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit chromium-2 desktop pax-utils unpacker xdg
|
||||
|
||||
DESCRIPTION="The web browser from Microsoft"
|
||||
HOMEPAGE="https://www.microsoft.com/edge"
|
||||
|
||||
if [[ ${PN} == microsoft-edge ]]; then
|
||||
MY_PN=${PN}-stable
|
||||
else
|
||||
MY_PN=${PN}
|
||||
fi
|
||||
|
||||
MY_P="${MY_PN}_${PV}-1"
|
||||
SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb"
|
||||
S=${WORKDIR}
|
||||
|
||||
LICENSE="microsoft-edge"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64"
|
||||
|
||||
IUSE="+mip qt6"
|
||||
RESTRICT="bindist mirror strip"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-misc/ca-certificates
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-fonts/liberation-fonts
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa[gbm(+)]
|
||||
net-misc/curl[ssl]
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-apps/util-linux
|
||||
sys-libs/glibc
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
x11-misc/xdg-utils
|
||||
mip? (
|
||||
app-crypt/libsecret
|
||||
|| ( dev-libs/libxml2-compat:2/2 dev-libs/libxml2:2/2 )
|
||||
)
|
||||
qt6? ( dev-qt/qtbase:6[gui,widgets] )
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
|
||||
EDGE_HOME="opt/microsoft/msedge${PN#microsoft-edge}"
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please wait 24 hours and sync your tree before reporting a bug for microsoft-edge fetch failures."
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
# Protect against people using autounmask overzealously
|
||||
use amd64 || die "microsoft-edge only works on amd64"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
chromium_suid_sandbox_check_kernel_config
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /
|
||||
cd "${ED}" || die
|
||||
unpacker
|
||||
|
||||
rm -f _gpgorigin || die
|
||||
|
||||
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
|
||||
|
||||
# Microsoft Edge comes with its own bundled cron
|
||||
# scripts which invoke `apt` directly. Useless on Gentoo!
|
||||
rm -r etc/cron.daily || die "Failed to remove cron scripts"
|
||||
rm -r "${EDGE_HOME}"/cron || die "Failed to remove cron scripts"
|
||||
|
||||
gzip -d usr/share/doc/${PF}/changelog.gz || die
|
||||
gzip -d usr/share/man/man1/${MY_PN}.1.gz || die
|
||||
if [[ -L usr/share/man/man1/${PN}.1.gz ]]; then
|
||||
rm usr/share/man/man1/${PN}.1.gz || die
|
||||
dosym ${MY_PN}.1 usr/share/man/man1/${PN}.1
|
||||
fi
|
||||
|
||||
local size
|
||||
# channel suffix: "" stable, "_channel" for beta/dev.
|
||||
local channel=${PN#microsoft-edge}
|
||||
channel=${channel/-/_}
|
||||
for size in 16 24 32 48 64 128 256 ; do
|
||||
newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${channel}.png" ${PN}.png
|
||||
done
|
||||
|
||||
if ! use mip; then
|
||||
rm "${EDGE_HOME}"/libmip_core_gn.so || die
|
||||
fi
|
||||
|
||||
rm "${EDGE_HOME}/libqt5_shim.so" || die
|
||||
if ! use qt6; then
|
||||
rm "${EDGE_HOME}/libqt6_shim.so" || die
|
||||
fi
|
||||
|
||||
pax-mark m "${EDGE_HOME}/msedge"
|
||||
}
|
||||
Reference in New Issue
Block a user