From ca82c458fd011cdb97fdfb5cbbb7c27df7593f55 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Mon, 28 Sep 2026 18:26:00 +1000 Subject: [PATCH] www-client/opera-gx: prune old versions Signed-off-by: Matt Jolly --- www-client/opera-gx/Manifest | 1 - .../opera-gx/opera-gx-135.0.5973.94.ebuild | 137 ------------------ 2 files changed, 138 deletions(-) delete mode 100644 www-client/opera-gx/opera-gx-135.0.5973.94.ebuild diff --git a/www-client/opera-gx/Manifest b/www-client/opera-gx/Manifest index 0fefc0e736dab..064da3a4d1ccf 100644 --- a/www-client/opera-gx/Manifest +++ b/www-client/opera-gx/Manifest @@ -1,4 +1,3 @@ DIST opera-gx-stable_135.0.5973.126_amd64.deb 184446192 BLAKE2B cc308bec01c1e967005590355fd7ea099719c06af4a761c02b52191becab36426f81d3ce307c09f444df3a3deee8c0213764f916436eec4d795ae426aca342ad SHA512 ce2fbfee1719e5792897d5766418eff13416099907f84122e300d0f2925e86677d578483ca48f14b94e561d054ec9209406b561a018b7565f08466fc7bfa6204 DIST opera-gx-stable_135.0.5973.135_amd64.deb 184338226 BLAKE2B 08d9b9e753362fc1be099ab82f8105b3cf3a67c9770eadc65b90aae861d3b6d04d1bc20d27ac8a7a960a06d6605c5ed32a8fb1f236fe9c35e96e7f42beeee8b4 SHA512 71b8103767cc366262cc2e4f95650728c45a67a1a755c645691b243c7a7b22db024a1e4d5a9294e051b5d7e8f533069bbe5375a9ef8c755800f96200bf126745 DIST opera-gx-stable_135.0.5973.153_amd64.deb 184341354 BLAKE2B 69db2e9b8665f35788a3b9817412e2cdba34b43bdaeefcc6d35a5543d99703571cba3ea22430cb88aced1932fcacf7164d67fa79eafa225b1437a21516ab13b2 SHA512 5997da1efef5ae3ea3bf42e6d6b4954e8b8d2519309506ace0c962f5b9a24e09def848d1ad44a7b96c02a5dcf70a62cc50782c8e43b1c1211218196889c64499 -DIST opera-gx-stable_135.0.5973.94_amd64.deb 184261578 BLAKE2B 02e1bc2be8fe943535728c10fa53da272c5166d0f4e3bbb00cca8351d43beffbc32f62e1b969aa12b685c0894e813bbaeedb78d1b2c4726cafe15d10a89d0f5d SHA512 ea8e4d797eaebb58d345ee08c63735cd6004d85b38b4f0cf5d6d97b51122bf10f229fba668d60cf29c30369c7e9af74312aa3845fe30eee3689c21f942b813d6 diff --git a/www-client/opera-gx/opera-gx-135.0.5973.94.ebuild b/www-client/opera-gx/opera-gx-135.0.5973.94.ebuild deleted file mode 100644 index 35a2fbbb6ba22..0000000000000 --- a/www-client/opera-gx/opera-gx-135.0.5973.94.ebuild +++ /dev/null @@ -1,137 +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="Opera, but for 'gamers'" -HOMEPAGE="https://www.opera.com/gx" - -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-gx ]]; then - MY_PN=${PN}-stable -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="150" -SRC_URI="${SRC_URI_BASE[*]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb}" -S=${WORKDIR} - -LICENSE="OPERA-2020" -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}/opera_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 - - # 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}/opera" "/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" -}