summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-07-17 08:05:28 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-07-17 08:07:53 +0100
commita4ad376e7895d6fef0a26dd582e17703ebf9bc75 (patch)
tree5a3d6373280a80071a7e69689fedba06a3b7b666 /www-client/vivaldi-snapshot
parentwww-client/vivaldi-snapshot: Add version 4.1.2358.15 (diff)
downloadgentoo-a4ad376e7895d6fef0a26dd582e17703ebf9bc75.tar.gz
gentoo-a4ad376e7895d6fef0a26dd582e17703ebf9bc75.tar.bz2
gentoo-a4ad376e7895d6fef0a26dd582e17703ebf9bc75.zip
www-client/vivaldi-snapshot: Drop older versions, sorry x86
It looks like upstream is not supporting x86 any more. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest10
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.9.2289.3.ebuild206
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2339.3.ebuild205
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2345.3.ebuild205
4 files changed, 0 insertions, 626 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 9859f2202853..dad8f3a028f5 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,13 +1,3 @@
-DIST vivaldi-snapshot_3.9.2289.3-1_amd64.deb 83539836 BLAKE2B d8a9dcc850dbd4d15f1b80b05469b9e075a5e4d8b3b02dd008e6f0d4929590a5bc9ec28a35e000eaf51b915c2ad385a4080a2c04a70b4f19cadcc259cdb98718 SHA512 6c09de35d3c4e0f9b79c1fa1076754213b5acbcddb648731b9d214b1fa4820544842da2e11be6f71e547f431c3410479402003c6755664d2c36a1caa1cf6c23b
-DIST vivaldi-snapshot_3.9.2289.3-1_arm64.deb 79023788 BLAKE2B 163adf52c555f47ea1ac6b9f6e6ef457cf901a4be0b04590da482b22c330381437de9c23016759d5eb6d8da82061b451067840ffe097de3e273b569067d5d939 SHA512 5c8596448bdffd22bf6837b0fa966b049af8efa22a4da009f953e17743bd9497dc825589ea92bb672ebe1ce8a0003ace6f9a91f3d5e2c8d9092f9049d59ccc80
-DIST vivaldi-snapshot_3.9.2289.3-1_armhf.deb 75093252 BLAKE2B 0deaff270b851a9febdbae29102d5e5e0e221ddee7e285db1fe13fbb3ba8b44d82cab61220a66d12ab31fb36300236b107848c401e2e1203bfd5330be254ac78 SHA512 1fc4a6f6b5abca3e45b7208c8416029c40641c5213fc472bf54ef6ea5284c7bfccfe1cdf66c623c88b7fe200fe8d7356c99a9baacd85944b0818006d9d54fe02
-DIST vivaldi-snapshot_3.9.2289.3-1_i386.deb 82584664 BLAKE2B f5447df81bf87b128cf9e65443913f61b29417e2ade09407c4131a0211006b7779816d28ae777aaf8792bd3745e9669dbce03bdda83616e5a669333f9e520a06 SHA512 dedfa2249ebeae7a5f55a26235f25a351988e9ae9d6d6a383d4e5c2a0680eafeb3e30603e6476b0d814a9f5b1958b7e0894a4b60b47e5bb72d2af2e577ae35aa
-DIST vivaldi-snapshot_4.1.2339.3-1_amd64.deb 85079208 BLAKE2B c3d32b5ef68cf8e8f5a260911c10d38180c7efba5005fbb57f5ac36cf2a5e521766d502e51c80230b23557fae1cf1a2e7cfc1c531008efc500a2aab3fdc6b87a SHA512 355b40e4c74488628e762770c2ccffc975f703c3b88ddc4f03b1c89f04e6afaa12e8ddf5b0588d7d56b511477580dec6b4489b41fd0167af190aea0707037577
-DIST vivaldi-snapshot_4.1.2339.3-1_arm64.deb 80603108 BLAKE2B 7f39d0d6ae13276f54779e2d7a1818c3f03dcdaa693eccfe1e0b63c99d5b42bff7724bb452e8481b2f190e47e749413022563c26f2ac3735b364d2ce13974f41 SHA512 0cc4885f6b87a744f8296444532baa11bafa30554fb167e1dd1d38c4f9043ce4cd1f3c3d672b4693eacf34469e264c2579ea10dec0330fab8e82dc65723f8809
-DIST vivaldi-snapshot_4.1.2339.3-1_armhf.deb 76480984 BLAKE2B 9e463d3f5858762d5311349e9a61b8b1a5f3657645939bd6702dfe6ab6e97f484dc11135a9205d94cd0d9073f3eb121a7ece94ba99dc378340cc9eb856508a2d SHA512 f70d5d0d74ce0aa3a4eddc98fbdd52d45d4d77c955f9f0f5e4753e464a96b63609b77381e1c820f94652bc355fde1a8dc58d33bd6e40144265cf3cc3a5243792
-DIST vivaldi-snapshot_4.1.2345.3-1_amd64.deb 84486756 BLAKE2B d5dccb6a46036962ea15a0cec8a86af76b1c3532d1c77eb1cfbddad5cbeafe4c14ba0b8bfcf1e400b4e3e62fe99f8a9058b358fca2b0295be78db9c0d1416b07 SHA512 2281bb9ae1236cc97292401170e36d92d586f17fec83d4a60f339d926fd55c6c7d1c68e8a5a92d6242c95be656e521fb9b3b06c9804beeb94694e0e33dad6b17
-DIST vivaldi-snapshot_4.1.2345.3-1_arm64.deb 80613128 BLAKE2B a4450a40bda954d548716e66ebfc8bffb72e8fb45dbeeef59fe2baea6482954c78c17ea76b8d43fcc389121e88676fa1bc82071caec34658dfaa92701632e9b7 SHA512 41464c87b886f68a654a42994daa688a83fd8589616b476a22971c8c0ac605831d94155dff1bd168914b63cf356f380dc268c037c2c36beca3e96adbb88a5213
-DIST vivaldi-snapshot_4.1.2345.3-1_armhf.deb 76498924 BLAKE2B 5eb1a39b69adf07ec8e6f670a778ccd1046b4c26a66c3475e532a1adf410b6be8a1c98df90b320dc90611007dd6b50af1c666c2bd3dde74d659c7eeca88fad97 SHA512 7c54ac4fc8aec5e3830bba7d66261065ee1c0df08b7802f71e73ea9006e8c1a86a3f91fac7963b0445f3a8d4157c98b35f741455743d944e1ee0f77cff271fe2
DIST vivaldi-snapshot_4.1.2352.3-1_amd64.deb 85091424 BLAKE2B c5d0211ae23e3d46281860ec1d896a7705300203b6ef0d7dfc95457376daf54dc027081ba8dd9e689a7781d4002c9932a8c1822bf7fe69ac878f4c80b22d5fd1 SHA512 c8f9d891d001bd5a0b05155b1f71cf8083c940936c2a42447aa3367a3e87ae35e787f5ea594bd26b7b34a7ec64a8d47d7a3427636c6d1f1f5259a08a7822fd20
DIST vivaldi-snapshot_4.1.2352.3-1_arm64.deb 80640544 BLAKE2B 4beffa4351157bed1e8b87af926876bae7b145d35062d8320cef059d9959789f6b11fb7a41ab3fba2adc5f5639a161d6d56675ebcfcf998ccaf9a532c111981d SHA512 75c3871455b06bb338ecd3b44995a445ddd8fb47277cefc5126e044859ea42f295cf793c9d1817e1917dc1172992ea009635859596a9bf850cfa5e9fb5c2f876
DIST vivaldi-snapshot_4.1.2352.3-1_armhf.deb 76513320 BLAKE2B 3916f00208317b05cc6bb48481ed625e9407721b6e2f35c8f384703308e9da0edd476529d8b3ff57d647b25d7b97116567b005e800fc875cbdf0a48880aa5edd SHA512 04c77b4e6142b516a19bc2fdddced5000f30673e3997cf4fd380cb020f6cad64e1bfaed60d18d366b27d3b1a9a963e1a0ef669c418828a70e0e01cace1588a5b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.9.2289.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.9.2289.3.ebuild
deleted file mode 100644
index 232d99b73e99..000000000000
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.9.2289.3.ebuild
+++ /dev/null
@@ -1,206 +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
-
-VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_"
-SRC_URI="
- amd64? ( ${VIVALDI_BASE_URI}amd64.deb )
- arm64? ( ${VIVALDI_BASE_URI}arm64.deb )
- arm? ( ${VIVALDI_BASE_URI}armhf.deb )
- x86? ( ${VIVALDI_BASE_URI}i386.deb )
-"
-
-LICENSE="Vivaldi"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
-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.1.2339.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2339.3.ebuild
deleted file mode 100644
index c2409d01a97f..000000000000
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2339.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.1.2345.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2345.3.ebuild
deleted file mode 100644
index c2409d01a97f..000000000000
--- a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.1.2345.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
-}