www-client/opera-developer: remove old

Signed-off-by: Matt Jolly <kangie@gentoo.org>
This commit is contained in:
Matt Jolly
2026-01-16 16:32:24 +10:00
parent 4b05149c75
commit bece0ff1bf
2 changed files with 0 additions and 144 deletions
-1
View File
@@ -1,4 +1,3 @@
DIST opera-developer_126.0.5742.0_amd64.deb 136331468 BLAKE2B 8949af64fa75f31833d34cc0694adbb2a90b05c2dfa20077d96c2030bc38ad5e62019d1b87b9be24569f7c5295f1edaa50f909c6c7317539fa89751b1a6375c6 SHA512 71c07adb74f6841b018b39593f35f46b7fcde42917031d2b7a58736f7ec5cf13eb38e810ec8c2ee85be47c205825b668e45f8b5f6be71f4b905c50f2278edf3b
DIST opera-developer_126.0.5744.0_amd64.deb 134376524 BLAKE2B 9cfdaddf3bfd57680bc00615f72d09ef194315489b919081c349b503a35d304b573047d4c7dca266464b2de326a1330cccc1adf61a87f4182c2218f3ec180f36 SHA512 81a4acc02f54b0a3cf514822676bd516ca90d7aaad3c5972b9acf8c80ecae518a8af85108c9af5221b2da4dde7d2d3153ab8fc1a32909746e722eb94a33b4a97
DIST opera-developer_126.0.5748.0_amd64.deb 134430440 BLAKE2B 225f3c848edaff7a534d8189ad86e42a299dd6f1ba313ce17f1da65da3f6a2af9aa6164c9eee5d7dc44b95d597b8146db72ba2f0a505a42861f1aa087fb281f5 SHA512 3ec90c7ce1fe09929442bd61882d77db6dbf012a6c27001e55ffa965d7c11014bc6cb6457f6686015a52e07bd00962e75375149807b000ca84a978052759a120
DIST opera-developer_127.0.5776.0_amd64.deb 131716384 BLAKE2B 6d89b15a337b53737a0c2780605e3042eff653c3f6b37fcf3907c4d104929b80eef74b54b75eb8cd7451b0394ec5733e0091e1eb9b3a55d10477bd4036e3759f SHA512 2fde9c1c090ab460a1f353b8b64e6d54f14daae379efb85533456b8cc2b0d0e9eadd4c76f2bda4e4b9d9a8e3452d90dcf01d99ad53d481be3bf31dcf147815c3
@@ -1,143 +0,0 @@
# 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="140"
SRC_URI="${SRC_URI_BASE[*]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb}"
S=${WORKDIR}
LICENSE="OPERA-2018"
SLOT="0"
KEYWORDS="-* amd64"
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 || die "opera only works on amd64"
}
pkg_setup() {
chromium_suid_sandbox_check_kernel_config
}
src_unpack() {
:
}
src_install() {
dodir /
cd "${ED}" || die
unpacker
# move to /opt, bug #573052
mkdir opt || die
mv "usr/lib/x86_64-linux-gnu/${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"
}