From c1a54f008a7e7aaae74ba278400e9d9c0736e6d0 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 14 Feb 2018 19:42:37 +0100 Subject: www-client/vivaldi-snapshot: Version 1.15.1099.3_p1. Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-1.15.1099.3_p1.ebuild | 119 +++++++++++++++++++++ 2 files changed, 122 insertions(+) create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1099.3_p1.ebuild diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index f77f39a49f2..f8b0b61b27c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1090.3_p1-i386.deb 53030952 BLAKE2B e41461d06aec3d474 DIST vivaldi-snapshot-1.15.1094.3_p1-amd64.deb 53493344 BLAKE2B 9461a42a8c124cffca67eef511d571ec42bfda7a4b28a6fadca71b2ffe51027ce231fba103efc7a9883a6250dd9b00c0dc39cbe35c39722c90002538bb1d8eb2 SHA512 59f000ded4b7b38a1709975380d1ba53a2a419223559b5e0f9820197b275e11db142c9c9539576b40650ca8f4068cec66c879877c2700b23caf5b5e7bb37402e DIST vivaldi-snapshot-1.15.1094.3_p1-armhf.deb 47288992 BLAKE2B b4f43ff658ecdfa0e0f2d36fb3dea43f03e7b3f6cfced22dd4081031124df451cdb51c85818051b15b878b5a4c43c0fa2b020bb0a328fb0311e448d812150e93 SHA512 6f2c9a09a92459fd26d97a605a4b39af9f190162113164feb47028cf7176e0a3244613982b4e734513e1fce79707b47a99c6bed23cc45d8c7e2ceb7ea4834d98 DIST vivaldi-snapshot-1.15.1094.3_p1-i386.deb 53039128 BLAKE2B 0a07cc1e97d9f76fe41ca7a73b6c7ee3e358b73ba54337f14166d2c61cf7de6eb4a6599b61b107ab063e005a3f91adc0e9df145d5aa0c6b1293f8c0e2c11a6d0 SHA512 93cdfe9c8359cc779c32c167a5453d46ecab3333cb33a2a2992fd4636cf4722b3cc58342180a6d782acd1eb25fa3bbe36895e941c2e5f8ee2dfd17b1090920f5 +DIST vivaldi-snapshot-1.15.1099.3_p1-amd64.deb 53496850 BLAKE2B 7b3d11970055876707729779511a05d58fc838247e392f9275c24a54a1a9fc781f38c11df57a60f59e5614e579565993a8e973d1a602e41221f85d1aac9dd683 SHA512 04c172ce69fc3ea293164c72acfb0fe8497773fc952ed4dcd305586a88aae06064d0c7e8e89ddeeecbcc20fe368c64486ded3cd2f1e714a4e78cf0d154d78db2 +DIST vivaldi-snapshot-1.15.1099.3_p1-armhf.deb 47287988 BLAKE2B 2aa23c15d0700c92aac6333400ea62b77647038e40a22141369735908be5b9c1478d5f66855c8130a553890b55e15db4cd3566183ac1ec064a4f4a6af1bce26a SHA512 6869c105ea623e08b9d68480dba03e94807cb0848e0d69c3432f61f7a9fd069de3553a5d26be49fd8286fea88b26b102079a75a6e9d1a0f37697286b4fb83c0b +DIST vivaldi-snapshot-1.15.1099.3_p1-i386.deb 53044498 BLAKE2B 975bd2608dcb2a15c8963a4a6a333727fa9f57becc98ebbcbacf3ddee66439462947b70660c318727a99fb852013c00c6e61f54ea70a903ac9303e653dac182d SHA512 a39ec548b9fe5526df8140a8c724b52b34a38e4d02b32ed0f14cf1cef429392a39f244d978336c3cf7596be3db96bff421deb22adcc1c4e7e09b82f9839e2c4c diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1099.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1099.3_p1.ebuild new file mode 100644 index 00000000000..ee9ad44cb61 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1099.3_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk vi zh-CN zh-TW +" +inherit chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + >=dev-libs/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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+:2 + 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 + + 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 + + epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} -- cgit v1.2.1