Skip to content

Commit

Permalink
www-client/microsoft-edge-dev: automated bump (122.0.2365.3)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Jolly <Matt.Jolly@footclan.ninja>
  • Loading branch information
Kangie committed Jan 31, 2024
1 parent 12773cf commit ce72fff
Show file tree
Hide file tree
Showing 2 changed files with 128 additions and 0 deletions.
1 change: 1 addition & 0 deletions www-client/microsoft-edge-dev/Manifest
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
DIST microsoft-edge-dev_122.0.2325.0-1_amd64.deb 164582022 BLAKE2B da478e26ce909c420c9c480cd59e1e0871e8c37694d55fe5f55828826cd2eb5bd240a10b03f59b42c348ead417966581e5147e2ca3021a20807cfcd524cc1393 SHA512 6094de9bf9120de104ea8850bbea4a4e8dcf01b7288e69dad3a45dde1179e556f9954ecd4065180224913721a7702a29f728ff9e633767652b17595e7641ab62
DIST microsoft-edge-dev_122.0.2348.0-1_amd64.deb 165290790 BLAKE2B ba37a036d8ad8c0c6421ff15f99098d0c4ffce73774d698387df3be74b1c74e464388511f81b66c0d7aef99b57c89705b10b7f9dd68efa6438f793598155f1d2 SHA512 453caf2efa380af5dd29a799d4bc8eaa01de6349f23895a59086b895b1982ec0b12090583fb68c5cb02d0289887fdc3c0e644e023f5e6cc541695d9b74902d4d
DIST microsoft-edge-dev_122.0.2353.0-1_amd64.deb 165642362 BLAKE2B eb0b06534dc38427e4b9e6be0feb4d298764dceed350bf3c99191b983b7fee9d00ea7206d4c603f9d882066c5b9c029137dcf98f6309764a98f922aeb7f6b520 SHA512 1b05f9af1c2cfac04026156d25d309681b0d538a312de25c398ca43f24496cefb52e0c0d693e1ee7115e2cc97b8ac136d93dbbabb747c635ef3cc484c8c8f02a
DIST microsoft-edge-dev_122.0.2365.3-1_amd64.deb 166044182 BLAKE2B de33a2a3687221748f39cc934e8620d751c0110d96f03d7819352761847f7e57bc55e54fc0b6c17b3c961f3ad1544b86f1e952956896a79c6995fa23707e8924 SHA512 dadfd0470a9e934d490074549fb63e07b66dc3cc81f76d3a34621b1d4cbbe134a8b4dbd8e48600a29d46ec65ee41338900710dad1b07651725f24dbe0699957d
127 changes: 127 additions & 0 deletions www-client/microsoft-edge-dev/microsoft-edge-dev-122.0.2365.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
# Copyright 2011-2023 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/en-us/edge"

if [[ ${PN} == microsoft-edge ]]; then
MY_PN=${PN}-stable
else
MY_PN=${PN}
fi

KEYWORDS="-* ~amd64"

MY_P="${MY_PN}_${PV}-1"

SRC_URI="https://packages.microsoft.com/repos/edge/pool/main/m/${MY_PN}/${MY_P}_amd64.deb"

LICENSE="microsoft-edge"
SLOT="0"
RESTRICT="bindist mirror strip"
IUSE="+mip qt5 qt6"

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 )
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5[X]
dev-qt/qtwidgets:5
)
qt6? ( dev-qt/qtbase:6[gui,widgets] )
"

QA_PREBUILT="*"
QA_DESKTOP_FILE="usr/share/applications/microsoft-edge.*\\.desktop"
S=${WORKDIR}
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

rm -r etc usr/share/menu || die
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die

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 suffix=
[[ ${PN} == microsoft-edge-beta ]] && suffix=_beta
[[ ${PN} == microsoft-edge-dev ]] && suffix=_dev

local size
for size in 16 24 32 48 64 128 256 ; do
newicon -s ${size} "${EDGE_HOME}/product_logo_${size}${suffix}.png" ${PN}.png
done

if ! use mip; then
rm "${EDGE_HOME}"/libmip_{core,protection_sdk}.so || die
fi

if ! use qt5; then
rm "${EDGE_HOME}/libqt5_shim.so" || die
fi
if ! use qt6; then
rm "${EDGE_HOME}/libqt6_shim.so" || die
fi

pax-mark m "${EDGE_HOME}/msedge"
}

0 comments on commit ce72fff

Please sign in to comment.