summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2392.3.ebuild205
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.25.ebuild2
3 files changed, 1 insertions, 209 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5fb31ac49bc6..2608b2eca3c2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,6 +1,3 @@
-DIST vivaldi-snapshot_4.2.2392.3-1_amd64.deb 85156812 BLAKE2B e4a6959a6285a8d3e062e7c3c6239029523fdcf6100f0d204ef6758d1cbdc3d9941d28d26d8b0d85241f8a7c058f4f7d9b92f8df5cd093a27c33522f6b0ef344 SHA512 577a7812f478ffbaefcd1c6acdda7ed0c37278c0862a0b027417ebcb7327c59ae5506085d5ca2e15604bbcc8ddd0007707b7ad4ee05dad4e7be23906a8fb593e
-DIST vivaldi-snapshot_4.2.2392.3-1_arm64.deb 80715664 BLAKE2B 46765b85166d5ff214c4f548ceb840d02cc1cff027819f64dc75c5b10206d5cd775f79bfaae6eb550d3f4cec67522a261a99bb27be8d976a4656f0b76ddcc590 SHA512 92e21498c94bf56e3df69c9f9c3d49513682edc796b5c3d887af3885251dc8c610c14157d26a8715952e9cec9a8b5ad301ae6e6b0a74586e793e70bbd969e9c0
-DIST vivaldi-snapshot_4.2.2392.3-1_armhf.deb 76571240 BLAKE2B 8bf8487a2dd51944d6fe4ce894c12f8957a197ca59f697770fa38506fb387bbdfeaba4a40603144b8dc5776f91b205b8af6552ac0b3532dabf41c5a5d8ebfada SHA512 cc9ccd3bb705de8ae7e29f6c9bbce4d6e5da7926a34d6143c21f8d265cc6174548cf0b20e76ddff6799eb29ad4c83f5f4b28f81a8a5ae877e04391ac1423ee42
DIST vivaldi-snapshot_4.2.2406.25-1_amd64.deb 85953972 BLAKE2B 04372c526bd698a587b53b10f1c6b743bfa753d37c81fef7f8740f887d70d20e0d0c9a7779818c078784708a08ae8ac83dac8e6457061952ad279850125d328a SHA512 2752aa871a22e8a0fd800661fff3345646df82eff93fbc969dd143942f007e00ad74bda284b08a3407daef9f81db534bb0ea861de60beb8f699e86efeae49c48
DIST vivaldi-snapshot_4.2.2406.25-1_arm64.deb 81324916 BLAKE2B 968f6ea75159baafa92cfdfa7a0d4f01abe4dce5ebf65f017d897983f4192474840875bd77ce052852fea578e11321a1ce8f068d4d64201181147bcd07b8e78f SHA512 fb689f1e265eb3fd6d9c18132cb1c057b6ea09f68a245f631ab3dafd1fc56120f1902178aaf0baab57ceee68afbbcf7f433935492fe7c02bb685925e98c02dd9
DIST vivaldi-snapshot_4.2.2406.25-1_armhf.deb 77330136 BLAKE2B f9ca49a22d8ec7e82e608fc26d50c4eeeca55348c0e16780b608024b814229e374ef0fade34b77678878a888a1ceafde50807a07a9b51cedea6146e20fae81b8 SHA512 5360ca1ba72c0e8db4917416adad65d500ef7c28935b0f9b62371cb4997a22fc3a4264ba8d27d7d7ff8a1d6d0d7ac9f8aa2b7c233eb1677648d90dac1ec01d51
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2392.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2392.3.ebuild
deleted file mode 100644
index c2409d01a97f..000000000000
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2392.3.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-CHROMIUM_LANGS="
- af
- am
- ar
- az
- be
- bg
- bn
- ca
- cs
- da
- de
- de-CH
- el
- en-GB
- en-US
- eo
- es
- es-419
- es-PE
- et
- eu
- fa
- fi
- fil
- fr
- fy
- gd
- gl
- gu
- he
- hi
- hr
- hu
- hy
- id
- io
- is
- it
- ja
- jbo
- ka
- kab
- kn
- ko
- ku
- lt
- lv
- mk
- ml
- mr
- ms
- nb
- nl
- nn
- pa
- pl
- pt-BR
- pt-PT
- ro
- ru
- sc
- sk
- sl
- sq
- sr
- sr-Latn
- sv
- sw
- ta
- te
- th
- tr
- uk
- vi
- zh-CN
- zh-TW
-"
-
-inherit chromium-2 desktop unpacker xdg
-
-VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}"
-VIVALDI_HOME="opt/${PN}"
-DESCRIPTION="A browser for our friends"
-HOMEPAGE="https://vivaldi.com/"
-
-if [[ ${PV} = *_p* ]]; then
- DEB_REV="${PV#*_p}"
-else
- DEB_REV=1
-fi
-
-KEYWORDS="-* ~amd64 ~arm ~arm64"
-VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
-
-RE="\bamd64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" amd64? ( ${VIVALDI_BASE_URI}amd64.deb )"
-RE="\barm\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm? ( ${VIVALDI_BASE_URI}armhf.deb )"
-RE="\barm64\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" arm64? ( ${VIVALDI_BASE_URI}arm64.deb )"
-RE="\bx86\b"; [[ ${KEYWORDS} =~ ${RE} ]] && SRC_URI+=" x86? ( ${VIVALDI_BASE_URI}i386.deb )"
-
-LICENSE="Vivaldi"
-SLOT="0"
-IUSE="proprietary-codecs widevine"
-RESTRICT="bindist mirror"
-
-RDEPEND="
- dev-libs/expat
- dev-libs/glib:2
- dev-libs/nspr
- dev-libs/nss
- media-libs/alsa-lib
- media-libs/fontconfig
- media-libs/freetype
- media-libs/speex
- net-print/cups
- sys-apps/dbus
- sys-libs/libcap
- x11-libs/cairo
- x11-libs/gdk-pixbuf
- x11-libs/gtk+:3
- x11-libs/libX11
- x11-libs/libXScrnSaver
- x11-libs/libXcomposite
- x11-libs/libXcursor
- x11-libs/libXdamage
- x11-libs/libXext
- x11-libs/libXfixes
- x11-libs/libXi
- x11-libs/libXrandr
- x11-libs/libXrender
- x11-libs/libXtst
- x11-libs/pango[X]
- proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] )
- widevine? ( www-plugins/chrome-binary-plugins )
-"
-
-QA_PREBUILT="*"
-S="${WORKDIR}"
-
-src_unpack() {
- unpack_deb ${A}
-}
-
-src_prepare() {
- # Rename docs directory to our needs.
- mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die
-
- # Decompress the docs.
- gunzip usr/share/doc/${PF}/changelog.gz || die
-
- # The appdata directory is deprecated.
- mv usr/share/{appdata,metainfo}/ || die
-
- # Remove cron job for updating from Debian repos.
- rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die
- rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die
-
- # Remove scripts that will most likely break things.
- rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
-
- pushd ${VIVALDI_HOME}/locales > /dev/null || die
- rm ja-KS.pak || die # No flag for Kansai as not in IETF list.
- chromium_remove_language_paks
- popd > /dev/null || die
-
- if use proprietary-codecs; then
- rm ${VIVALDI_HOME}/lib/libffmpeg.so || die
- rmdir ${VIVALDI_HOME}/lib || die
- fi
-
- eapply_user
-}
-
-src_install() {
- mv */ "${D}" || die
- dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
- fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
-
- local logo size
- for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do
- size=${logo##*_}
- size=${size%.*}
- newicon -s "${size}" "${logo}" ${PN}.png
- done
-
- if use proprietary-codecs; then
- dosym ../../usr/$(get_libdir)/chromium/libffmpeg.so \
- /${VIVALDI_HOME}/libffmpeg.so.$(ver_cut 1-2)
- fi
-
- if use widevine; then
- dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \
- /${VIVALDI_HOME}/WidevineCdm
- else
- rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die
- fi
-
- [[ ${PN} = vivaldi-snapshot ]] &&
- dosym ${PN} /${VIVALDI_HOME}/vivaldi
-}
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.25.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.25.ebuild
index 0d8477eddd17..b00e9ee4c495 100644
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.25.ebuild
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.2.2406.25.ebuild
@@ -161,7 +161,7 @@ src_prepare() {
rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die
# Remove scripts that will most likely break things.
- rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
+ rm -vf ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die
pushd ${VIVALDI_HOME}/locales > /dev/null || die
rm ja-KS.pak || die # No flag for Kansai as not in IETF list.