commit: cecc00893613cdb309d019fa79f6e0e62513f8c4 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Tue Apr 24 20:43:35 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Tue Apr 24 20:46:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecc0089
www-client/vivaldi-snapshot: Version 1.15.1147.32_p1. Package-Manager: Portage-2.3.31, Repoman-2.3.9 www-client/vivaldi-snapshot/Manifest | 3 + .../vivaldi-snapshot-1.15.1147.32_p1.ebuild | 117 +++++++++++++++++++++ 2 files changed, 120 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 6d283807202..a08ec81aeac 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1147.23_p1-i386.deb 53515616 BLAKE2B 34a81f65e35e732a DIST vivaldi-snapshot-1.15.1147.29_p1-amd64.deb 53970214 BLAKE2B f19df57c8aa2b804774245248aa67cea78b4a25356468e838834bc47a52a9f37cb4214b51cc884ce7dd8e998f598a771037ce5e81dabc4c2060bbdc9fa579965 SHA512 cd596222005e85bb05e550dcca19a5c4fb5edaea18234757cdafb4b896800504a5d63344f1b598001eb7ec517013ebb19dee9825a481ff5a6a7050610c02c151 DIST vivaldi-snapshot-1.15.1147.29_p1-armhf.deb 47706408 BLAKE2B 1911d890a73cbdd591b0f8f0c8279c9dc4ca958662c84de69326bf00b9b61c9dd35014e28429eaba914efbf963bb6885b640f399d81ebe6978e55be610770902 SHA512 4d3e1ad4d20d83b06d964cabc0098c8ed864d40b4867a56621500b33b28eaaf2c56813e17d8d4764b542d76faf06af5dc01d44341d3cde574b31946837856a65 DIST vivaldi-snapshot-1.15.1147.29_p1-i386.deb 53522702 BLAKE2B bc0a0660c9af23f790f13b6806f2559b8cd45748de8e387a81906e1361e7ff382b3fa1a33ea278704dfd5b012a418e1d26246cdae61a2537e970630523ec21d7 SHA512 2387cd8cde710d7dc3c728e8e249770b2f245a805d99517bb7b8b0fd41462ea56b82c0dc43acfb43f758e1595167e08e98dc9d8abd2bee5f41da06837b079ab7 +DIST vivaldi-snapshot-1.15.1147.32_p1-amd64.deb 53956742 BLAKE2B 68ca119d425be887744d0e642ca9d671a8b6b0ca7b752eeef22c58690238f960cad8e11d5530a82277091cbc933ba981774653664381cfc39da753ed42744bf3 SHA512 1802682d6a844903da7de7078a7e585707087ff7251cdfb0cde598a807fba93a54de1592c33bfcc885113b6009a5d22f6f1581a6782fcbfc24d6f8c27b757f79 +DIST vivaldi-snapshot-1.15.1147.32_p1-armhf.deb 47718932 BLAKE2B 31050570e943fce4f3a7ace86634350d19ec4eaf654da2ed89ebda1d73502add8d9bd29a581b48a5a9f3d52fe336a8f19eba2a24fd05682768bf06fb8614954e SHA512 54c545e1f847bd3e68331f28e1b991c579c70ad7aa0235398e8944d03f015152f4c9dc30ef103ade213e3f3911a5049903425f456d0334e4b600304b4b7b5144 +DIST vivaldi-snapshot-1.15.1147.32_p1-i386.deb 53516784 BLAKE2B 719849ffd149f12f90ae905eac5d4f3b615c4b0012527eaab9bd16d1b788d1516f89c69c478986e7569512d4b7fbe98bd65dbc989509afde344b5df8cb3e720e SHA512 3ce66e4d1a0a191f50669c023a651ad99af0400b9fd09204de595c3bbdc875e06dd8d7b83e37b5a071999743ecc17fd5a230774824f5218dd4c1b7d99e93a482 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.32_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.32_p1.ebuild new file mode 100644 index 00000000000..b70af0fb4cf --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1147.32_p1.ebuild @@ -0,0 +1,117 @@ +# 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/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+: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 +}