From c1edcc2233b50fec395df65dc68929b69649f25b Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 2 Jul 2019 22:19:17 +0200 Subject: [PATCH] www-client/vivaldi-snapshot: Version 2.7.1594.4_p1 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Jeroen Roovers --- www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-2.7.1594.4_p1.ebuild | 115 ++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1594.4_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index edd7f935e03c..a0528451ad34 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,6 @@ DIST vivaldi-snapshot-2.7.1587.4_p1-amd64.deb 63278640 BLAKE2B fb738b12d4fe9191f DIST vivaldi-snapshot-2.7.1587.4_p1-arm64.deb 56672572 BLAKE2B 48d5c024982ff244a4eab168b7afd30a28524d9abe7305c601af055a1f825141dc9800a794fa68210a744ec6a2cd00f8bd3ed3f8573e6a0d87b72cbfca803259 SHA512 c78a25dc54a5050c5a46b980a6c0dd5ebb1e809192714cff6779033b5d58ffc262a8de14c7fab3b4a5803f4f87870899fdfbf3e66c3b7f767b2a08b64a632c94 DIST vivaldi-snapshot-2.7.1587.4_p1-armhf.deb 55904856 BLAKE2B a6a5d866f910db980f03d8a3bf85850a7e9789b99949afd326e86ddf7a391bcdc5a16cd2d2b5ec2197605e230518e05411c9e0c160ab4d50b998fc71db192496 SHA512 00e877154f1a8950c9888cfa007a4b5e9d34beafbf7c31f27d2f75210ac66085083094d349b8d1753724408adee092fe71ad414872546674ba5b4fb333a76e36 DIST vivaldi-snapshot-2.7.1587.4_p1-i386.deb 61721364 BLAKE2B 5f3ff5a4bb7ad18e1db29112c7391d324ccdcf431e65cc0ddae383740487e4d4244b3e5346a3da1c815886422b23c3b3fa7ec0afffca88bc2d415e3cee1ce1a0 SHA512 e720c0bf5cf796cb50fceb1524a2105c747880caad93d6b976e88f82c0a4a4aa404100e76fd7289cc1b35e70101f96e86e8e48b54788546c703a20201953c86f +DIST vivaldi-snapshot-2.7.1594.4_p1-amd64.deb 63360196 BLAKE2B d11ac4318a0f1e1fe705233bf877f7ede53e0769a75ca831f5d7c638f9fee0e1384802d2b75d927d08fb5f94da1ee89e4c3db089102a53b4a945dc271bd73a0d SHA512 8389367530a52078d6a7181bcfa52df0952c0fc1d405829f4cea2492f5619fe7eebda8560329ab734062e445337ae3470c577639962fb97ba77eb3758819ef20 +DIST vivaldi-snapshot-2.7.1594.4_p1-arm64.deb 56749152 BLAKE2B a396261e4e66c532cdf912807bc3ebf9d2674a9abfd4fd3eae6c307f7b1dbf9a5ca610d913944adeee8358130769370de746f18f63aa530b4106e8da48e2a61d SHA512 395b4cf6bd373a0d2eceac1058c4abc6443d977c3d5ab1737147c9c011703d1d28bad62be4d9efcfbfe74373827ff799d2da5a45cdcc8dbdab250ba044c47218 +DIST vivaldi-snapshot-2.7.1594.4_p1-i386.deb 61820800 BLAKE2B 33826c95c1fbd592d94f284d66b261b656643877291182553cc46258da773329888fed803ee3c3577599d4b04d884f2799be15e1cc42bbba681edc6787866598 SHA512 46b17e2143b811ab5c869df1af5bc6b1f78ebe495c3076a5bb58d4e0b5332abacc4b11d2678c763b555f178e48b4a36f6fdc27e4a1daab0305198eb83a3bf259 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1594.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1594.4_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1594.4_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