www-client/opera-developer: remove old

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
This commit is contained in:
Stephan Hartmann
2021-07-20 09:34:00 +02:00
parent afa1b89ce7
commit c094e9bede
2 changed files with 0 additions and 134 deletions
-1
View File
@@ -1,4 +1,3 @@
DIST opera-developer_78.0.4093.0_amd64.deb 75190012 BLAKE2B 342eebc815364866eb93dbe231b7a24a09f130809de8266c0ec0d9808aa2e433200fa4cf51d823564020e56973d831c10fe54e72a8f34822be4eb917145b83ec SHA512 e470122a7490c9009a28469b21108cafba232ef040027e8faea190551a97b1dfe60a7e2caa092d6d4459cf67b3cb22aa5d0da73384fb4528c24a6d925f840691
DIST opera-developer_79.0.4100.0_amd64.deb 76878004 BLAKE2B 285aa5b687280a0d76e06ce40d7ae3b20e172e3b8a1d8da7b66b4f029dc203581cca7e4b336373bb3d78a5cb66ca50ae38a535770225f75197cf4ebdf4248ea5 SHA512 346ad075121e114d3efd96e8b4dca5f5e502c71dc9bd25ed6c5699e5b8a2d100e74b6bfad3d2bc7ba482025856c155f88c85f5a0ec6ad50dcdecde6d6238d1f5
DIST opera-developer_79.0.4105.0_amd64.deb 78242532 BLAKE2B 8034f10c0eb04d50367bd929bcb1d7ef8ef432ac15f3f8ce5c03a1c456814d0db89b2411e1d92703951d2a545f454329d7121a9b52d10931e4115e9fac9fa2e7 SHA512 9852c04e6659f63f6602a34b466fa4af1fc9ef11f654f3f3db348c27d9964387eb550cdbf40f718452e741e57beba76ca7511f0f36c45f0e8c6fc81b3719690d
DIST opera-developer_79.0.4114.0_amd64.deb 78296160 BLAKE2B 459d37a4c08654f2e3ec1b7ac8b61384ad263b5cde08d8a6fee50c57fc8534db3167d6a6e1791f53fabaca59fbecb99accada01126b53294b55309fc8bd3ba93 SHA512 8f66ad70df8ef978cec906ee2f4bcc811a5b23bff9769ba27450aaedfca3e30be7ece88e33d07b4404624fe8a49c0d73883aa0c48cffe1c9896e7960494ebe9d
@@ -1,133 +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="92.0.4515.20"
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/libxshmfence
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"
}