summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-05-13 21:31:48 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-05-13 21:36:41 +0100
commit7334ac4699d81806553b560f4b7d79b0ad93d90b (patch)
tree05cee346c18ae6fa12dc33b25615ff1163c92985 /www-client
parentwww-client/vivaldi-snapshot: Add version 3.9.2289.3 (diff)
downloadgentoo-7334ac4699d81806553b560f4b7d79b0ad93d90b.tar.gz
gentoo-7334ac4699d81806553b560f4b7d79b0ad93d90b.tar.bz2
gentoo-7334ac4699d81806553b560f4b7d79b0ad93d90b.zip
www-client/vivaldi: Add version 3.8.2259.42
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.8.2259.42.ebuild206
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 6aae14cac2d6..b304973d4f18 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-stable_3.8.2259.40-1_amd64.deb 82413948 BLAKE2B 6fe2e50c6bd43fb6375
DIST vivaldi-stable_3.8.2259.40-1_arm64.deb 74026148 BLAKE2B 2175c0bd6ef0dc42f54f3ff2078472b380f0b3e6ef4ba5244630467d98b8171a04ab2d7ad935c84370a5ad6c3ae0b24e3896091811c2d219c942ea92b2929e27 SHA512 bf68b98a361752d3931fed6af71617c6e9f6bd7b381039f38a75c0d3e2c6046001483e9143bb912fad686d4ff508b0b45dd44df5dbfa7f833bd032936622fae0
DIST vivaldi-stable_3.8.2259.40-1_armhf.deb 72656120 BLAKE2B 73e2f18279abaef940dff25c854c61af4e9dbcb859990baf19b499d6d00e0d343b275984b86d9a8e512950ef0cb0495e45a8ec75957c403d08febffc6d8cdd21 SHA512 5ebfa627de4699b9fbfbd6fe0dbc8863059257f76c2311ac1e9af29b8b2264112b07114daa8d529669cd3e6b1ba81e15d8cc942e33f78e6bb33d6268b63216e3
DIST vivaldi-stable_3.8.2259.40-1_i386.deb 79541852 BLAKE2B ce94b7b8d8049aacb1aa34fc4a8c965625b6978cc7224dd004bda457d9e1856b9d54a9a05c844e4ee06d96942da81c49a1c658eb9bf3d88b0bad7a934a645e62 SHA512 258e16f2a9c3b4b57b5060233e9524e6fc3c71bbfa6285089be13cb0b9250e0818af8da1884f94c7326ab29f5f08e73a2640185a4d7894497da725c5636ec020
+DIST vivaldi-stable_3.8.2259.42-1_amd64.deb 82450108 BLAKE2B c5de31fc2b87b8dbe52ac196b32fdff5403cc0c4f82b907cebea93ba5afe4e355efd9c1b10ddf806db44648616957dbdcfe4f2ff54f30c20ccb2f1b75e33332f SHA512 2f0b3056937ccf5ef7b418c43de4fbbf913c492c09dc8b8e9382359f63aad848f04171895a212691d6ce06b886d8f622a023b305cf075e4890310dd3fe976774
+DIST vivaldi-stable_3.8.2259.42-1_arm64.deb 74055056 BLAKE2B 40a26f034f238284e98432e89eb5bcc828d8321ea14c17e0a2257248df830f8852a9f29b017ba68a6336177dd0eb12bda39942f1c8d52660382f147a0211d33d SHA512 3c3736edcd38c42dd6c1cfda19ace0d6c1595f4899dfb48b43106880688d69f8c8a535c8362b1ad71052d3038f44eb025641abacb9226748b5a56a3dbe233719
+DIST vivaldi-stable_3.8.2259.42-1_armhf.deb 72659844 BLAKE2B faf0d951fa249ab17c98269ea754300ae91880139aa0fb6a8fdfb5c241e7b70a3bf6ae726a2fc9dc36927fda8e9ff7dbc10300dfd1b282624c261b615f05ea28 SHA512 90551f20dd9af42ccc5453ba037bcd17350747ef83bdfa55b0e73fc749831f7dbbe1d9c2f6ba4f80aaea118c37124341fe49a5274b7ed905a2e5c0ff2c776973
+DIST vivaldi-stable_3.8.2259.42-1_i386.deb 79514812 BLAKE2B 465711e5f40ef3b17ff785ec2fc7c6c6ee95f909ac81a075a79ecdd2934fda2c816aa1b90f3a4888f7976cad65c28553b32727d884724dfbca722eeb1cec0261 SHA512 912a787734530f20e8e82ac254f02b90f4bb208beb093b542c6ecd8ea7b71ccaa9d549c36bcba9910ab4dce1bdc72475586296f7bb1b765fbd5f33c8a93d2bfe
diff --git a/www-client/vivaldi/vivaldi-3.8.2259.42.ebuild b/www-client/vivaldi/vivaldi-3.8.2259.42.ebuild
new file mode 100644
index 000000000000..77a7917d61e5
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.8.2259.42.ebuild
@@ -0,0 +1,206 @@
+# 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"
+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
+}