www-client/opera-developer: remove old

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
This commit is contained in:
Stephan Hartmann
2021-05-05 23:00:31 +02:00
parent 7ce2931970
commit b165349eb4
2 changed files with 0 additions and 133 deletions

View File

@@ -1,4 +1,3 @@
DIST opera-developer_77.0.4023.0_amd64.deb 75698732 BLAKE2B 1661d7684ad9257c1d3e9228b78d4d45f2e4c1e88d13e170819faa8c47a32a764ec94397c07cd6317f47a2feea5a92b18f367d9f495ab2fabe8b7e3319233f06 SHA512 2d26ad97ced8635850c71e9bd4240f00128c4f3e1bbb38fa6258ecf2a514f0f8cfa49b58a88f13434e7bb828aced75bd87d322b313a381b9cd37f0824466d668
DIST opera-developer_77.0.4028.0_amd64.deb 75684516 BLAKE2B e1228e322e7be085bd25fb43b64cfd3f0d49a03c042c6e5f54f57796062c3eccc5f61a9e417efb9afd4425f7384f5c7cbd8fd8bde67d79af2b85285801f6cc11 SHA512 886c10a325c89f851fe666cbd4d3b317147e43439a9b6bdff8da2a15214ac96cf74c511ae91b94580a2d60933c410309d3de2dd18814ad8667ef7d6a5a1fe0e5
DIST opera-developer_77.0.4032.0_amd64.deb 75682812 BLAKE2B 777d935e76df59efb1be6997f222ab5ad64b64ec6cc8cbfc797f763f190feb0b539569a0a7025df8eca0ed4c4d4f05b226a461e4efb7c16ece3cd5e0c9952c70 SHA512 bddad890f4c2190922d0bb4734cab21696f402fcdf9da60dc4bd20f1fd15e4b0a34888fb33d6e1918502ad38ec305fd5a08301242c8806e24bbc0ae6db4aea20
DIST opera-developer_77.0.4046.0_amd64.deb 74348004 BLAKE2B 62640a0086622995505acf5e5c9d27127b1553424faf58668d1a672bd5389f89215ae9a1881529bd73f0f42968ef95bf1c3e01fcab452f1be59c1b1fb676887c SHA512 a3703961b85eb30cf6d0bbcc02783b7e33d02607bfc4429c93f8f6837a3c1706d117c6e7aa0c793539c73da2410ff81dfcf10f781f74034d629f855f14b88175

View File

@@ -1,132 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CHROMIUM_LANGS="
be bg bn ca cs da de el en-GB en-US es-419 es fil fi fr-CA 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 multilib pax-utils unpacker xdg
DESCRIPTION="A fast and secure web browser"
HOMEPAGE="https://www.opera.com/"
LICENSE="OPERA-2018"
SLOT="0"
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
KEYWORDS="-* ~amd64"
FFMPEG_VERSION="91.0.4449.6"
SRC_URI="${SRC_URI_BASE[@]/%//${PV}/linux/${MY_PN}_${PV}_amd64.deb}
proprietary-codecs? (
https://dev.gentoo.org/~sultan/distfiles/www-client/opera/opera-ffmpeg-codecs-${FFMPEG_VERSION}.tar.xz
)"
IUSE="+proprietary-codecs suid"
RESTRICT="bindist mirror strip"
RDEPEND="
app-accessibility/at-spi2-atk:2
app-accessibility/at-spi2-core:2
dev-libs/atk
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
x11-libs/cairo
x11-libs/gdk-pixbuf
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXrandr
x11-libs/pango
"
QA_PREBUILT="*"
S=${WORKDIR}
OPERA_HOME="opt/opera${PN#opera}"
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 -p "${OPERA_HOME%${PN}}"
mv "usr/lib/x86_64-linux-gnu/${PN}" "${OPERA_HOME%${PN}}" || 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
mv lib_extra "${OPERA_HOME}"
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"
}