diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-01-08 09:30:57 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-01-08 09:37:06 +0000 |
commit | 926bb5c7aa6e2193318c703812a666617fab540e (patch) | |
tree | 274edde5b8ac0c3f7080db896a2781d4cb2f1a5b | |
parent | dev-python/pymysql: Bump to 1.0.1 (diff) | |
download | gentoo-926bb5c7aa6e2193318c703812a666617fab540e.tar.gz gentoo-926bb5c7aa6e2193318c703812a666617fab540e.tar.bz2 gentoo-926bb5c7aa6e2193318c703812a666617fab540e.zip |
www-client/vivaldi-snapshot: Add version 3.6.2160.3
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2160.3.ebuild | 202 |
2 files changed, 206 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index ce7901b84e93..7d643c9548f6 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot_3.5.2131.8-1_amd64.deb 76855420 BLAKE2B d59f6acefcfaf130be DIST vivaldi-snapshot_3.5.2131.8-1_arm64.deb 69080380 BLAKE2B 2ba552ddb7e517ce6ae4dfb2a206549a0aa344d6b5a11dccb7738788a12e3640e58c4614a29e081d8afeb854bafdb3d26632e9a68e6ed5151eaa15c3d0940185 SHA512 ed9aac855a9cdee0b2cdd5c4f53b9fdf2ce059d71d927caba358e1f4aa143a7656daf6a2e372e1d6f40bfa20c826afa7b37b6611ef2caab04a76597d0f97ada0 DIST vivaldi-snapshot_3.5.2131.8-1_armhf.deb 68159604 BLAKE2B ad8a85872d0abb106856f5f41014b358ba6c65fb0e2b9e3bfe7a8d4d0f2b1a3e12573f19c3ff3d7e30208c72803b9cd9bd4c7bdbbd75a264bae1343093bfc9e1 SHA512 72e236246a1969a18e4b9c26a84eeea3e575f63ef0b93ed2a0898c2f04a9f3848f4130de34cfb57f9f1da2236b6b6c7fdfc567fc77d9a0f99516fff7b4d66013 DIST vivaldi-snapshot_3.5.2131.8-1_i386.deb 73628540 BLAKE2B c9bbdc00353fd02931a7c007070c29406071437b59d56b6adc17855446e2e89dcddfcc534ea6dcb5a8b6c207cbd3d9a660cd484959d4e1f27d7fc94b6048c242 SHA512 06d6259cda2f2011ab22b1caee09c8957089a5bef0816bee124630803c4bc5e3b3314e357412226988a2ed47cca48784c79d5ec5ae6c5e90dccb943e5f4261a2 +DIST vivaldi-snapshot_3.6.2160.3-1_amd64.deb 77539500 BLAKE2B c674e6145379cfea70b05a2a572c6ef33da3b77e52ad04b94fce54ea4bece09317aee5f474ef201ea35f6e71eb212a3d9751662a1bdd8b8fe8249bedd7c6d7ab SHA512 c05bd21c093e8fb6f595a6a1b4a19e0f08bc3a122f52ee935dd920ba8244ca1b1da012749bf22e891dc96d62ffc9357b76ac3d8ae976ab233ad019a5cd7d8ff3 +DIST vivaldi-snapshot_3.6.2160.3-1_arm64.deb 69765872 BLAKE2B fed663612c53a93cfee896353155b56935273af2d8377bb98c8efeda089ae3ffd3b509f0fb7bbeb617570e39cdc2e08185cececb8004558e52a56ce3eb41228f SHA512 0768a32e3a7a63ae6e7ffcf02ec9fc1308d29dce45d9107f79a12d3cf03ef4679e99bd77509d9642ce60e9c71bda2786719fbafc664e680d4ced6b10e8864b34 +DIST vivaldi-snapshot_3.6.2160.3-1_armhf.deb 68592504 BLAKE2B 9c9571110da3427a3f89d0994c2f3d006a310e0f14f4868f503febaf11e7c1b42b95a46f2ac46b601af9e2bcff6899bfb2265e12822f8d4b1a3306a1c9eea3c4 SHA512 e15c4fc58fd2211cdece0ae119cc4af2d1c72a81ee5ec770d5714d81ed5995247a9d10ec8c9f8af50cde4f74ab77b3c518855d768fc60154958deefff16db5ce +DIST vivaldi-snapshot_3.6.2160.3-1_i386.deb 74246948 BLAKE2B b7ac2a25b8dfb7aa0c6e6d974933bc2714e1c274ae9c62d68391780bcbc1fb8f0ca66ac9ac86a5e5fa188aca8f5762d6fc1e13c9cdfe8b0c5792927123c5ed1c SHA512 56330e75e6b0cc187bbefd833eb21453f858db0334e3632da7afd6565f65791906f794ff2bfff04341aa0dbf14be6aca2d7fe84fcf314c2037c0c1edfd50be78 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2160.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2160.3.ebuild new file mode 100644 index 000000000000..e3d12da4e30f --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.6.2160.3.ebuild @@ -0,0 +1,202 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CHROMIUM_LANGS=" + af + am + ar + 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 + kn + ko + ku + lt + lv + mk + ml + mr + ms + nb + nl + nn + pl + pt-BR + pt-PT + ro + ru + sc + sk + sl + sq + sr + 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 +} |