diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-03-20 20:41:01 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-03-20 20:42:14 +0000 |
commit | 87d1171047f9b173d11b128bb03e6ad0c41946bc (patch) | |
tree | 4e55518d96edb7eac2c5fff4d8cc33d035d5e220 /www-client | |
parent | www-client/vivaldi-snapshot: Drop old 3.6.2165.32 and 3.7.2218.29 (diff) | |
download | gentoo-87d1171047f9b173d11b128bb03e6ad0c41946bc.tar.gz gentoo-87d1171047f9b173d11b128bb03e6ad0c41946bc.tar.bz2 gentoo-87d1171047f9b173d11b128bb03e6ad0c41946bc.zip |
www-client/vivaldi: Add version 3.7.2218.45
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.7.2218.45.ebuild | 206 |
2 files changed, 210 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 9ec45550fb8c..6299eb1376ab 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-stable_3.6.2165.40-1_amd64.deb 77600092 BLAKE2B 9a2f2ae41c16a2bd1b2 DIST vivaldi-stable_3.6.2165.40-1_arm64.deb 69850704 BLAKE2B c88641c0ea45771eecf2369f89f18b2991931ea67f545c93ae3426b5561613835132f5a285d5f267b2e0981c9ffb65402a0016ec29fdabf381e6a16abe06c9b6 SHA512 026c58ee3c34497f6c5f31cf96b9a202efdeb2713301d5699267ff8b8fb32618c6c70e685479862a9c223dcdc32a0ea024f7334c8a52e18c5ae8b66bb7fed97b DIST vivaldi-stable_3.6.2165.40-1_armhf.deb 68650992 BLAKE2B 932c8df157717d99d2cd7963217fc0ecfce87a2118448624eae410311b706af468c1d6f8c0baaa3f8b8d2513eaad92e26417ca10f5511f5f76cb6f5cc7835b7c SHA512 e319733feef35c6b506deb21a21e4f6ee46acfcc83788bfa91d10b723146c870ec5108e433c57bfba37a3ba84da2d4f876a066a17a8f180e61933968585aca17 DIST vivaldi-stable_3.6.2165.40-1_i386.deb 74317284 BLAKE2B b3b7a2a675128fea0b576dc7ff2b08218ee6c9796bdfaca91e8302f6d0de63173e8ab7f2f39232ffdc020779061724cebf599fd6e29f7eb1bf9277a271d52d3a SHA512 5628ea1ebaaa8b8a647b3e07c27aade8f45d448e21b38f19d9fc3749dc919a20f09df111098b99f5e6ec11146557f8742d5b40d3fe23e5bc02c4204fee7392c5 +DIST vivaldi-stable_3.7.2218.45-1_amd64.deb 78983248 BLAKE2B 0208087a99cecca72b9d4e9965a8a94289657a74a3b9eda240c45537e653a3cf5c6b33c73049d8089eb9b270cd9b13b4a159b1771e0143649802300f9afcc870 SHA512 3cb30b874964ace3283ffc5a5b146f64b60629bf1e2f279735709e8426b6d94e4213e8963676225d8d8575099b64fe18dcf54969b92096b6ca010b1fbdfe7bab +DIST vivaldi-stable_3.7.2218.45-1_arm64.deb 71064292 BLAKE2B 85737bbb82dc9b971996cabef7dcca334c3155616a2b881436376aadd141b1898b6438e984f4cc53bbe1f7496ef46ac14d17242314a817e9e0a49ce61301863f SHA512 b7211a09bf8c1e944540af4c7df256fd6402fd3a45604f02f71a343a63278b7a4ef3f05db62420089ec7f563d152270b40678e56a71ebee9b5c58fb092775dea +DIST vivaldi-stable_3.7.2218.45-1_armhf.deb 69883684 BLAKE2B 2edfa3bbabf646be447a3a9265a102bb0ddfaeed7562072c7a2a59e6b860c7d094a23cc4b6c8c07d69e96746244e0e8a4c2a0a42f806831f7defdc5149420de1 SHA512 b976eea6834070556a33d6c7e88a28dc42939798c86a2513f418583b31fc7af579f7f63e0b41bd3da2ecef3d1d9113f8e91e06f5c250b8e651af7b97d5574f16 +DIST vivaldi-stable_3.7.2218.45-1_i386.deb 76007516 BLAKE2B 6399b6f65e704c87ef643d540481922e3f2bcee81ab3ab897fe170bc25abacefd0bc922f86eb95bacfa053cb2e37284662a1d1d7e09be08792f8b7ca81fc297f SHA512 ab3ce6d4e7ced30c7261743d42f8b538b5feee1468a7dd551e25d11a5f7d35e777663c74e9e86290db682fa41fff1363d71eb73e4431c9b46604f7140b026e4a diff --git a/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild b/www-client/vivaldi/vivaldi-3.7.2218.45.ebuild new file mode 100644 index 000000000000..232d99b73e99 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.7.2218.45.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 ~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 +} |