summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2021-10-07 23:13:31 +0100
committerJames Le Cuirot <chewi@gentoo.org>2021-10-07 23:22:53 +0100
commitadd6a97aac22b1bff5e3998a093df6d190185c73 (patch)
tree270b78c23e81af214b8b6b19b408909e11792850 /www-client/vivaldi-snapshot
parentwww-client/vivaldi: Version bump to 4.3.2439.39 (diff)
downloadgentoo-add6a97aac22b1bff5e3998a093df6d190185c73.tar.gz
gentoo-add6a97aac22b1bff5e3998a093df6d190185c73.tar.bz2
gentoo-add6a97aac22b1bff5e3998a093df6d190185c73.zip
www-client/vivaldi-snapshot: Version bump to 4.3.2439.41
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-4.3.2439.41.ebuild206
2 files changed, 209 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index b42a279a0cbf..4c72afee2c14 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot_4.2.2406.30-1_armhf.deb 77344128 BLAKE2B 00f52492db3d66999
DIST vivaldi-snapshot_4.2.2406.40-1_amd64.deb 85985424 BLAKE2B c78a3a597ad0a8143549e4145f53389f2dd0bf6938b9c2dccb1d10fc00b98007e2a240d89e8e077b68e7447d6492b1d792d9a8d96465785e38e7c7fd967a096f SHA512 23ef49e82562e9e6396a7a8b3073c9868c506f8a1fcd8f0e03af5f11d8c4b0e1a20fb0b25b32300dc51dc7e8795a71417989bacae24f236b8a3e42e641c8e4c1
DIST vivaldi-snapshot_4.2.2406.40-1_arm64.deb 81306320 BLAKE2B 0f1e4c493d32dbbd674e6c3e26be8d4faeece9392b0a22b1e89951a004aa1f02cefdd20e8fb2ec06e4cdceaaf4ae95c2ad0071579fbf71955942d0acacea6dc3 SHA512 f8fe22b0c2014254044c599faaba24ebb2d7871d3a795837ce68394d0b598ae5d99149c6f764b57ce50c717ab049569f669d7f92536c4600f4dd7c83f1d92cab
DIST vivaldi-snapshot_4.2.2406.40-1_armhf.deb 77363976 BLAKE2B c08752b70e86f2141e2b3b79bda31877f2ddabfcad0332d9cc8cf1bbd6d1132ac69530c920f645b960ba5fe05ea8853670705db6da522c9ee6849b5bde0f47c0 SHA512 0299ecafb437e1fb07e9f032c66fd03a652f5e4ed18898a99b865a8da0697fe6ca8d890e0de79ecb0f1785a7068c0117f585781da4f82b9516197300e9143be6
+DIST vivaldi-snapshot_4.3.2439.41-1_amd64.deb 88036868 BLAKE2B f5f89adc1e55ff2982600353f5be130ee6b53a9bdf0a85e0898719b65018ae5b6bad7480b38680b4811d1ffcaa30f8e67bf8e19c189f3e6a952499b8eea5d53d SHA512 d5d6b2b96a9f9bb4b0a2cd5a84e01107e23ab06d0895209deaa0b4794d8cc4864c2f9a8d0702a1c35b8192cb1d15a7c1765177a2cc96c9ff3fe7bfd111274b3b
+DIST vivaldi-snapshot_4.3.2439.41-1_arm64.deb 82795244 BLAKE2B a2c39b06362c1d1f507b3bcc97d99309a25d313853e009192e6f51220f3195ef916758566987a7492354e4bab708983f7d191e56f9bc2e0fc4e4f8472afceba7 SHA512 1543d6a92b4577ef70f4749b7cabb21d90202afed06b1292b0c45a3f985d997ebac00959d9d739ed147f79efb653efc904fc721bd9376acb0e6915906deddbf7
+DIST vivaldi-snapshot_4.3.2439.41-1_armhf.deb 78980916 BLAKE2B 0f389dc4922683f3ed60922701b8904026a32c67ec2abd1320e0f95ea797cb4da04e3b9c38d04ba763cf01fb9b7adf9f6c3ad1010eb5df99492880d14dc8e64c SHA512 355059e74c3475c55397167a3905f142b739bf8c4786605e4a642f639adb575ee9d37b4471a77e383ab6dba8712761b33c4c24bba409a4dac747cf34a1acf65d
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-4.3.2439.41.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.3.2439.41.ebuild
new file mode 100644
index 000000000000..9fafe2ed2efc
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-4.3.2439.41.ebuild
@@ -0,0 +1,206 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CHROMIUM_VERSION="94"
+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-chromium:${CHROMIUM_VERSION} )
+ 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 -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.
+ 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.${CHROMIUM_VERSION} \
+ /${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
+}