From 2356f7a3d788f6b23854ed4d7df7b5c4e91a59f1 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 18 Sep 2019 20:16:09 +0200 Subject: [PATCH] www-client/vivaldi-snapshot: Version 2.8.1664.32_p1 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.8.1664.32_p1.ebuild | 115 ++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.32_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 556767ad45b2..d4a29d9cdd1b 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.8.1664.26_p1-i386.deb 62744600 BLAKE2B 803c6e27139be9ae9 DIST vivaldi-snapshot-2.8.1664.30_p1-amd64.deb 64467296 BLAKE2B a1c45f51d315501ab577bc9b9ec56c8e89713154fecbe62663a8efd3d2d9c37cb54138e96559ac9d2800026a80912cf730b510eecbcc862eae7a906eec955596 SHA512 53bb709a770fcf471068189b43015c09802f5f293468f2719d8ea90e07f100376e05194aa06dc111958dece3e5e14082ac013d8da87b91f9e604e4a10fc9b926 DIST vivaldi-snapshot-2.8.1664.30_p1-arm64.deb 57664724 BLAKE2B 07df61c87867e7cdf8fb7482625e29a97caa99e6453d5aa95e8c4af3eb3745abfba2da4c8846cbf0f3b2fca298c099b4e2a7c677f72b215be9b59d7bb8bed007 SHA512 e49a5e90e667eeaa98ed51c4870372dffcce9d860a52065784742d082627f72144fdc109c3c13a512cac689e4f9689de27a86ab1c7367fd05bbe9d36e35adf18 DIST vivaldi-snapshot-2.8.1664.30_p1-i386.deb 62742736 BLAKE2B 067b98fb0ba966d7ee35e522134747fe13f6ef4db0917f2a2e950a09e65c8c4c9e1ed24bc9fe4c3f7b4852c7900417b1056b63e3915137c9193c832cc31028ae SHA512 ab618338ede0851503b1ca3179c9056e1ab2b82c937a4aa3eed98f7c2ec3ef3450cf20ba9521e324697c3e4c4daa63dfaae40f4821dd43a8f0aaf9100f9c3e8a +DIST vivaldi-snapshot-2.8.1664.32_p1-amd64.deb 64455104 BLAKE2B 169802cf91877b35f038c0612c870f98a5498611c924ea90c09613235f6a97e0ba3fef66d52e42f7676c0bef6805029afcbdc3362c631e9fb37d6d2c3154f1ee SHA512 d0847204ea0c54efe015b3f54580221909a00f40bd2cd1db421be094d534299595f1bcc999d10d516af592625a8ff30731836b0a116cd11d921a302fa509d8b1 +DIST vivaldi-snapshot-2.8.1664.32_p1-arm64.deb 57678736 BLAKE2B 15193cb5d1c1a8cfd2aff7eb5fed5bff16b82e9ce35264d54799b59074a783272b33b5ff3039ae6060261a39c9f76b1248d66b50f351bf6b8f0e2c61d153cdf8 SHA512 dbd6a4313ed09b871208f45321a00ad12a31dfd0bc90dd83b87eebc8162960b78cd325d44441164046b5b9d7e74fc616b0d17443ebdb6bc11ba8b1046079761c +DIST vivaldi-snapshot-2.8.1664.32_p1-i386.deb 62764248 BLAKE2B 02db5f3f762bc468bdec49d327dc377c2575ae02714d6fdf83d14c745d72d96312af0f0862f8fa6edbb4ba43184fad13fd45b9da95bb54882d6016ee05721f05 SHA512 dbd483268368221d3602a6b907427334cbf499e24f6c5431c0b48b83b20acc92bfddd730228b375792ea6e2e6f68071e290cdbc356f049d1408511e34d2e2a77 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.32_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.32_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1664.32_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 +} -- 2.26.2