From 9f2289e9a22ab93099a0434066d5042648207274 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sat, 10 Aug 2019 09:29:36 +0200 Subject: www-client/vivaldi-snapshot: Version 2.7.1628.12_p1 Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.7.1628.12_p1.ebuild | 115 +++++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.12_p1.ebuild (limited to 'www-client') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 5cb3547c4f3d..4ee7f6413269 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1594.4_p1-i386.deb 61820800 BLAKE2B 33826c95c1fbd592d9 DIST vivaldi-snapshot-2.7.1609.4_p1-amd64.deb 63404516 BLAKE2B 805e72623bb1038fca9756b02303960accc015a6d6d588c4168b6ba8fcd97ceba9b24f7caf58174f02ee63a22be184831d2ca289557c091080860be1436c2c63 SHA512 d77293acb3e854f4f7be73a54771473fb2d58998114d21773c468da403139991c64ba9c2b1e75e6243e485476bc85c963784e7be6a5d032877b22f88bd19e35a DIST vivaldi-snapshot-2.7.1609.4_p1-arm64.deb 56789920 BLAKE2B e29d843cf36f913e0dd9730d6532da987e67f5094236e612e98dd75ca7cac47e3f22b93a96a042eb1bfd7634519bae6f7d7accee4decd0404b3c3a3190e0ea5f SHA512 1e226331b9fd2f0419c149e9a9e2ffee431265f834bfd36e332272624f16ebfb41418968df86f5e9f11a0a61792ef8673ec55c65c17b57675fb67ff0960f921a DIST vivaldi-snapshot-2.7.1609.4_p1-i386.deb 61848180 BLAKE2B 01a59545d0dddad331d49b1d9b859151c3689f4c091bf02d252f412e81546e73a67c30e8359234541b7be902ae386d9e9e8208fd2ba46912bedb8a41887f91c8 SHA512 b10a16f7cc61e1f9c7e30d0a0e5e6c2ad93559c0ddfbb45d7134ce86cec55642c857996136c000583fdd9ebb4d592d796991aec0b5bd4447dc996c6e2648bcd2 +DIST vivaldi-snapshot-2.7.1628.12_p1-amd64.deb 63448092 BLAKE2B cabf73f8e0d266286a11b17307b2564d2fd5215233e0fb21d2d6586c36fe5d0e6fa2de7c4bc57a99c6febb8a69c73cbffe07f0385eefdf0e8bf0b97eb1b2a011 SHA512 d6a64f6147a17eaeec3861ea968353b73f6118c0ed4a66ef5a38cab4658baff0fceade395c426bf06a4d659e9df457d5ba0ee2aa3f5fd7bc395c6e339c7d6610 +DIST vivaldi-snapshot-2.7.1628.12_p1-arm64.deb 56816032 BLAKE2B d5db584bcd24dc703a49d513f7ecd635338156bc2913b941e5fe6ae0ca9ec46f7ecee9fc49b58115ec25638c873b6ca4ba55123e082da8b1aa5955121be9eee8 SHA512 d91ea6fe1b339b574454d9585dfd13b73648d5476de6fd5fd453029e072bf0fa835d371757b4fb31591cbf58c7dcc9a508869444fc43750ee79a07b920f2a3f5 +DIST vivaldi-snapshot-2.7.1628.12_p1-i386.deb 61887948 BLAKE2B 96c69a625171b68318f619221bead066a02201b61f1c2ffa9b90f969f6051ba33ce4802ea866aaca6e91dc3bb93b3d00140c003704cebaf43b7e206dc21ae861 SHA512 669dee11456da5f086b9cc4a9e8cdf2615cf1146c30b112d476d015ec3fd29d627c3ffc18e24e17ba4b322667a77da3e716a2311dc1c4bdef7480f28aad131d3 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.12_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.12_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1628.12_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 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 multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +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] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + eapply_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} -- cgit v1.2.3-65-gdbad