summaryrefslogtreecommitdiff
path: root/www-client/vivaldi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-17 11:36:49 +0100
commite2db47eaae00ec33f8971db44b68645c5d3b9590 (patch)
tree3ec0cf16ddb5854017e134fabebe14bf8cb94a34 /www-client/vivaldi
parent616579b5d773c50af31ee56f00105d96ce641ca2 (diff)
gentoo resync : 17.08.2021
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest12
-rw-r--r--www-client/vivaldi/vivaldi-4.1.2369.11.ebuild2
-rw-r--r--www-client/vivaldi/vivaldi-4.1.2369.16.ebuild205
-rw-r--r--www-client/vivaldi/vivaldi-4.1.2369.18.ebuild (renamed from www-client/vivaldi/vivaldi-4.0.2312.41.ebuild)2
4 files changed, 214 insertions, 7 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index cbe868322097..a628f89e2650 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,13 +2,15 @@ DIST vivaldi-stable_3.7.2218.58-1_amd64.deb 78992560 BLAKE2B da8f3eacd8d0c826006
DIST vivaldi-stable_3.7.2218.58-1_arm64.deb 71046428 BLAKE2B 8f0dd3e845f2e4587d238c8f48447e514ac7605acab8d67f30c30ce2df04fae600382218087aea68f75621887f5a71506389c81f9b31614e20d3d7611d7bfe0e SHA512 2126c24ae8a7e4370f4ced2b37580871394de1f38a02b88d24c974ee23c13a4264ca8c11e0c5b7ad542812531898d9ee425657d9c7eeba4e08c718c07c7337bd
DIST vivaldi-stable_3.7.2218.58-1_armhf.deb 69900368 BLAKE2B a85b97405c80dd10907d9b0b9846b8c2b1101346cdce4b19ddeb1192de64c49056e086903829b30b9e6bb4928c3de500138cda460596dff7c2505fae0661d6ca SHA512 2d37b2080dbacbd6986e9d346be4e0aefd48a25f039668e2c1e697a025c294e4f945fdd3d86ae34688335e0d2b496355461756ae650e0b0fd212fbd983494ae0
DIST vivaldi-stable_3.7.2218.58-1_i386.deb 76040556 BLAKE2B 4710993024a401a8b9e25dd5cae55d5e5077423a7f7bba7af55150675d7848427f6bdca1fa8666f338b7609cbb11254c75df901e3c33fc6b75c5824c17808b71 SHA512 d5a8658d80aa8a4b5ec38491f3a4f6fb16c5a0de7934d4f7f518efaee36afc1d9585695c121f5cd65d961ae134c7cae0cd6bf0b07858ef2f906d715ca424ead4
-DIST vivaldi-stable_4.0.2312.41-1_amd64.deb 84277076 BLAKE2B ce8510c543837484ee8965e14736bb58dc8d3075132f91260540d0ece800aea2cb4f23c3ae5bbe9bef7bf5f46433aa46d54dbdafc8ba39501cba35e5e7362c18 SHA512 e5032b90f7b02ee6048461a8cab2d606a65d3606c9eba5d78683fff3be28fc3fb2a753c58c36f966eedde00bb70a772d9c492b3e0ee1d3b85f28855ee1ae383a
-DIST vivaldi-stable_4.0.2312.41-1_arm64.deb 79731100 BLAKE2B c14a931f593350c9fcc8570649bc1eb4423ae57353722ff1efdaae0b40e54e09b824ed912137606ae8692bf1cb31ce28cb444e1e4f3a4b87ba350227dddd2d65 SHA512 97441983c680d5808434a60b985122d7e7740c10f2f14d38d24f472c339984ef69f4d52b3a4a7a1b28c100dc5589cfd68420c16eccbc6fa72a10a8add9b9da97
-DIST vivaldi-stable_4.0.2312.41-1_armhf.deb 75855988 BLAKE2B f2210d7dc9115b6dd285fcaa273e99bcc21c1ef8590222ff9d0ca0bd4dd9d171f7692660cfde3413b5700e97668e52aa13628d4cc65692a72c45774689fa2900 SHA512 c123c8730bfd2b70cc9ab673df42ae5d2434e0284bdae949e4f439c91bba17292981839abe7b62227d39f17a5a92b8434de04b0657e9e4b02b0414032cde8c16
DIST vivaldi-stable_4.1.2369.11-1_amd64.deb 85123092 BLAKE2B ac26efabb9fbd4bb7ee7fec29fab5a775feee72b9d570af497c0b68e16bfd32aac777f9d4403ea46097403d01bc78724ebc356e2b9b58d1e82595d8e28216808 SHA512 563608daaf13fa45e955adbc3118b5333e10095b88289e11fe4930bf6d0690194cf261f674782ef340a2d9c3b3b7bc13c6781ee17a5df539992e115adf01f441
DIST vivaldi-stable_4.1.2369.11-1_arm64.deb 80693356 BLAKE2B 3493d13de4a9124bee575f63c2216cf191917e8131fef5ea84349c9d4768cb02690df230820adc39b2d5e58e37008e69aa864b9d1fb269da3e6b94b0362d0147 SHA512 c4e47a62923f17fb77ae799d5c073a2650c4d95d6822f992c97f71650d3d476407efd561487223ecbd112aa1ecb64e1bedfdbcd0b44e476900ed58753960c74c
DIST vivaldi-stable_4.1.2369.11-1_armhf.deb 76550248 BLAKE2B 24946708b7d2d51fe6c02a20d33ecbec052c6b36ed239df65fc05a28ad8eab8777da514823ba22af562acc6c83a52b116f782eb43ac520ad226a2f893e5e587f SHA512 1f5f9e4303b42d192df26e3a135ef8f13ab49d0519ad1764d39371924b8bcfde577c67d7a69bfccec72d18137dec598e60fc24e0071e97fe96b20d5897e23fef
+DIST vivaldi-stable_4.1.2369.16-1_amd64.deb 84504976 BLAKE2B 46a06ab16bd528c2ca90a658a089345f5e2607409919cfe520f3aa3432a89506eef0f54a4e416fcbdd5c14fb98bfbb4047672d8d906e75f08bcfe4d20f4d23c0 SHA512 a0e463315cd47acc1176d9ef0f4a9ece5e980216e10b59b7ad1fd931bb7a4b144afb8ed915ce1bcbbfa337cbfa06720f1771d16a82bd0105bffdff94c2ed8f98
+DIST vivaldi-stable_4.1.2369.16-1_arm64.deb 80661148 BLAKE2B 6decaeada6ccb58968ef9951ba89fc516e9f8279cc2c236eae615b5e67d3edc625097ae79ded78642621c687ee3c93c479af313d15a3c22b57609347858568be SHA512 58178237b1bcf2645ac117cb202a8703bb91d1b90183e1c66e42707e06bc7045275e32e7ceae06b166aa00a1720cf40b9e331b6b79f10026c70f47302c9bcfa5
+DIST vivaldi-stable_4.1.2369.16-1_armhf.deb 76577948 BLAKE2B 98c839a0204a182e5ccbce600e73831436cdbdfd610247715c4e6436f26471831bd7d81f17cea8bb549ae3ca2f70edca60c2f14bb9f7a30a28fafc52f946f34c SHA512 fea8d399c7eb6b24b31863e7500a09509d8acbf643a71c730690b01ea97e21589c86a59ddb0e8e54022c99c828cd2761acb19b4312829a205b295a656b29e1c3
+DIST vivaldi-stable_4.1.2369.18-1_amd64.deb 85138584 BLAKE2B 0f115fd22136e6c56b7a0beb94a37c46bb294cb3a10542c81e1375b89659a6b424e41075f3997bef3d471a0b27ecd1229ab53c2e72c3e2a31b1900a9c8fd7bae SHA512 72ef29bf5e0455323f5ea96ee3397b5d2346d6027a709c2ec39333df5716ba86ce96a94f78a3e749b351ecaf904a9203155e8b426c8ffb4734b55ce655da6039
EBUILD vivaldi-3.7.2218.58.ebuild 3553 BLAKE2B 3b6cd7c057d571f6a40d6578fd6a973cf5462aa7b64a854b5b6c88ea56b855311b8f23e1ca34a3c1350929fdaa6aa029c693783665cb034f4e759bf4f57e208d SHA512 757316d9fa2eb0d653591bde29b1a3520aafe713475d61ce3f71ca7f709119448ccf172870a1c0fd3fbe9890938dbeb47bc5f01c0b02b6c70accc10f74402fef
-EBUILD vivaldi-4.0.2312.41.ebuild 3549 BLAKE2B 91580e4afcd928523049e88050387f7f18bca8c311d1dc9e82e4a369a125a786a7ee9fc1986bf98bbc9e98e00b50ab42ac9d0198d6e0834159a814c89197c2bd SHA512 bf2443fe71ff0f4289b766c012099b738647bd1782654754ff951d25c6ec85ac1c52a894a12db07f0b8b3dcc52748c3a212c673948c7c747f9c6f50e4cea28c8
-EBUILD vivaldi-4.1.2369.11.ebuild 3550 BLAKE2B 5d1cc6e8b1158e15e310fa8be06df5d9914ab8c705361b29425a1a18813d4cb84d800a0b80cfb7c5aea6b28ac67a47b393d8fd145d306f3ba81641cd54d0a8f3 SHA512 e9b8fc4ddc652a5cea2ad12ca09b8f45f833275493e2b108cbe8ccd15ec6a9776c0a6c293dda022d6a1ed63946a5d541566290784d86f0e2c49ee5c4af17c95f
+EBUILD vivaldi-4.1.2369.11.ebuild 3549 BLAKE2B 91580e4afcd928523049e88050387f7f18bca8c311d1dc9e82e4a369a125a786a7ee9fc1986bf98bbc9e98e00b50ab42ac9d0198d6e0834159a814c89197c2bd SHA512 bf2443fe71ff0f4289b766c012099b738647bd1782654754ff951d25c6ec85ac1c52a894a12db07f0b8b3dcc52748c3a212c673948c7c747f9c6f50e4cea28c8
+EBUILD vivaldi-4.1.2369.16.ebuild 3550 BLAKE2B 5d1cc6e8b1158e15e310fa8be06df5d9914ab8c705361b29425a1a18813d4cb84d800a0b80cfb7c5aea6b28ac67a47b393d8fd145d306f3ba81641cd54d0a8f3 SHA512 e9b8fc4ddc652a5cea2ad12ca09b8f45f833275493e2b108cbe8ccd15ec6a9776c0a6c293dda022d6a1ed63946a5d541566290784d86f0e2c49ee5c4af17c95f
+EBUILD vivaldi-4.1.2369.18.ebuild 3538 BLAKE2B d53b5f982235ec2965c651d657606ef3a9a77446dd41ea67a365ea8048be5420d6a71b4a298f2c0180ff483a98007371418d9a17099787736efc33b4651d2554 SHA512 fff81a32f1357d44947ec374cf12b3bf54bf01b2956db739eb9d08ed770b8719cd6d27047a38cad803381c0d676b57e878668f3d804f76b30e7b8963d5038fbd
MISC metadata.xml 484 BLAKE2B 8c52aa5485213206999f40c7f99771713b3252cb6bf535bbe41e72da75f3075af1745cc9b44666cbee69b5fad3715bcbd540353980cf6ff302752dffdfa379e9 SHA512 89ad56615e6e82251ce8e04eb081cab53e6656a379622fffaa11bd21426f536ac5632ac7df6df270257112b7f81ed5b5babda6a99fbd1f2657daaa883f3f099f
diff --git a/www-client/vivaldi/vivaldi-4.1.2369.11.ebuild b/www-client/vivaldi/vivaldi-4.1.2369.11.ebuild
index c2409d01a97f..ba5f6dc05f73 100644
--- a/www-client/vivaldi/vivaldi-4.1.2369.11.ebuild
+++ b/www-client/vivaldi/vivaldi-4.1.2369.11.ebuild
@@ -95,7 +95,7 @@ else
DEB_REV=1
fi
-KEYWORDS="-* ~amd64 ~arm ~arm64"
+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 )"
diff --git a/www-client/vivaldi/vivaldi-4.1.2369.16.ebuild b/www-client/vivaldi/vivaldi-4.1.2369.16.ebuild
new file mode 100644
index 000000000000..c2409d01a97f
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-4.1.2369.16.ebuild
@@ -0,0 +1,205 @@
+# 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/vivaldi-4.0.2312.41.ebuild b/www-client/vivaldi/vivaldi-4.1.2369.18.ebuild
index ba5f6dc05f73..d0a0e9f4ffc0 100644
--- a/www-client/vivaldi/vivaldi-4.0.2312.41.ebuild
+++ b/www-client/vivaldi/vivaldi-4.1.2369.18.ebuild
@@ -95,7 +95,7 @@ else
DEB_REV=1
fi
-KEYWORDS="-* amd64 ~arm ~arm64"
+KEYWORDS="-* ~amd64"
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 )"