www-client/opera-developer: automated bump (139.0.6051.0)

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-10-21 11:17:18 +01:00
parent 3e42749f5b
commit bb10cf3c3a
2 changed files with 151 additions and 0 deletions
+2
View File
@@ -1,2 +1,4 @@
DIST opera-developer_138.0.6038.0_amd64.deb 145483810 BLAKE2B 8a42a25a5f5d6265c7e27565e746e2cf2bd50145d27f9c7ad7d3a6c64caa8cff561ebbfe140d7794f77d34d8f3abec8c80969ebd9c750034b26f890e6000967a SHA512 d8ade99eddef03e2c470351acadebfa68943216f5dfa5d6d6c872d1897dd6c91b9a3bc38045f32fd51a789b2fa90aa19f4ff0f9c0aa7131fae8f92133a8c3440
DIST opera-developer_138.0.6038.0_arm64.deb 154459740 BLAKE2B 3599f0c75e8c09b270201a38b1915f6687ec6ec66b7d49bb01c925906a1822412e20370fc7064622b2018410702a8949cf590a20e5670b575923de54728846f6 SHA512 d55f4f84a31bd984b06770a454e12b729857f1b5c4df2d079f60de8b8a60d2264606a00a76c0ea488f1b58ac4ae2adf99b9d4237ae11625f0432c9243fbe88f3
DIST opera-developer_139.0.6051.0_amd64.deb 146953004 BLAKE2B e5a504dde8a710583fd3d54cb51e7701b013102aea532b00edaa740c1302eb96bdbbfe322476c14d2da7861b9c915b05d325469ac102f8b8e21072422050dcc0 SHA512 3701319eb7d999688367f773de58c5e6979027ec3cbdc24194fb93fb3047e10156120718a4821c087d69a2621b4c1da61e6acc1a001a49323a6754c78c6bd713
DIST opera-developer_139.0.6051.0_arm64.deb 155497376 BLAKE2B 89646989aa08098f7ad0271d16a457d51b7988807b743e812b33615a6eeb2b5bf83ebbd77d5823778be7ee6ee8e8e3b4e8d107b3691a367eba09e8f8eeff2775 SHA512 ed9be9d7bbb55b959388b899f9e9b74d967d6cb4a36d0e68d07d70324e5bf61189279829905aa16afa02274f801a0eb3258a910be3054e6c552958e142edbad8
@@ -0,0 +1,149 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CHROMIUM_LANGS="
bg bn ca cs da de el en-GB en-US es-419 es fil fi fr hi hr hu id
it ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
zh-CN zh-TW
"
inherit chromium-2 pax-utils unpacker xdg
DESCRIPTION="A fast and secure web browser"
HOMEPAGE="https://www.opera.com/"
SRC_URI_BASE=(
"https://download1.operacdn.com/pub/${PN}"
"https://download2.operacdn.com/pub/${PN}"
"https://download3.operacdn.com/pub/${PN}"
"https://download4.operacdn.com/pub/${PN}"
)
if [[ ${PN} == opera ]]; then
MY_PN=${PN}-stable
SRC_URI_BASE=( "${SRC_URI_BASE[@]/%//desktop}" )
else
MY_PN=${PN}
fi
# Commit ref from `strings libffmpeg.so | grep -F "FFmpeg version"` matches this Chromium version
# or use Chromicler to handle bumps.
# Does not _need_ to be updated for every new version of Opera, only when it breaks.
CHROMIUM_VERSION="153"
SRC_URI="
amd64? ( ${SRC_URI_BASE[*]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb} )
arm64? ( https://deb.opera.com/opera-stable/pool/non-free/o/${MY_PN}/${MY_PN}_${PV}_arm64.deb )
"
S=${WORKDIR}
LICENSE="OPERA-2018"
SLOT="0"
KEYWORDS="-* amd64 arm64"
IUSE="+ffmpeg-chromium +proprietary-codecs +suid qt6"
RESTRICT="bindist mirror strip"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
dev-libs/expat
dev-libs/glib:2
dev-libs/nspr
dev-libs/nss
gnome-base/gsettings-desktop-schemas
media-libs/alsa-lib
media-libs/mesa[gbm(+)]
net-misc/curl
net-print/cups
sys-apps/dbus
sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxshmfence
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/pango
proprietary-codecs? (
!ffmpeg-chromium? ( >=media-video/ffmpeg-6.1-r1:0/58.60.60[chromium] )
ffmpeg-chromium? ( media-video/ffmpeg-chromium:${CHROMIUM_VERSION} )
)
qt6? ( dev-qt/qtbase:6[gui,widgets] )
"
QA_PREBUILT="*"
OPERA_HOME="opt/${MY_PN}"
pkg_pretend() {
# Protect against people using autounmask overzealously
use amd64 || use arm64 || die "opera only works on amd64 or arm64"
}
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_unpack() {
:
}
src_install() {
local deb_libdir="x86_64-linux-gnu"
use arm64 && deb_libdir="aarch64-linux-gnu"
dodir /
cd "${ED}" || die
unpacker
# move to /opt, bug #573052
mkdir opt || die
mv "usr/lib/${deb_libdir}/${MY_PN}" "${OPERA_HOME}" || die
rm -r "usr/lib" || die
# disable auto update
rm "${OPERA_HOME}/${PN%-*}_autoupdate"{,.licenses,.version} || die
rm -r "usr/share/lintian" || die
# fix docs
mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die
gzip -d usr/share/doc/${PF}/changelog.gz || die
# fix desktop file
sed -i \
-e 's|^TargetEnvironment|X-&|g' \
usr/share/applications/${PN}.desktop || die
# remove unused language packs
pushd "${OPERA_HOME}/localization" > /dev/null || die
chromium_remove_language_paks
popd > /dev/null || die
# setup opera symlink
rm "usr/bin/${PN}" || die
dosym "../../${OPERA_HOME}/${PN}" "/usr/bin/${PN}"
# install proprietary codecs
rm "${OPERA_HOME}/resources/ffmpeg_preload_config.json" || die
if use proprietary-codecs; then
dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so$(usex ffmpeg-chromium .${CHROMIUM_VERSION} "") \
/${OPERA_HOME}/libffmpeg.so
fi
rm "${OPERA_HOME}/libqt5_shim.so" || die
if ! use qt6; then
rm "${OPERA_HOME}/libqt6_shim.so" || die
fi
# pax mark opera, bug #562038
pax-mark m "${OPERA_HOME}/opera"
# enable suid sandbox if requested
use suid && fperms 4711 "/${OPERA_HOME}/opera_sandbox"
}