diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.838.7_p1.ebuild | 106 |
2 files changed, 108 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index e1de4efb6840..474bd9db7006 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.10.829.3_p1-amd64.deb 48798090 SHA256 2e150adf26637cbf31 DIST vivaldi-snapshot-1.10.829.3_p1-i386.deb 49421990 SHA256 14c2740a02f47adee4a3d21d11ea365b77bb126007f0a491a0a204a543c6ac9e SHA512 816b86de5c6355a3877cae01defe419d8d9f3c602fa706c0c6b85805215daac61dc4b559bece8c7dfff0e0eeeef7651b17a7313555be934592e4521166c62276 WHIRLPOOL 925e80569ebb98752a6911787ed6e6c21049c8f4060c9e08e62e9c2d8a1f9cde4b75aab32d4b3bd85463dc82abc2e616ab0e579d288c0f62c9bd6732e93945d9 DIST vivaldi-snapshot-1.10.834.9_p1-amd64.deb 48810164 SHA256 39c9a7f019d88b2310fdf8cd3033c879bee2ae7a375960711f02977d056910f6 SHA512 7deebb75b9671f30663c36419079dc300fcd536cdbd834b00c67faffe1883614b0609a1e3a444f129feccf6b09e1a8505a950828d9989a8492da1e798ef1b706 WHIRLPOOL abf69027e45c5d07470865c293b62e69c12278fe02a821476af315c8c478bc0da58a885e3cd2dbecf23bfd5a9fdc9de9e6565609747785a56edc9df8382d1122 DIST vivaldi-snapshot-1.10.834.9_p1-i386.deb 49425194 SHA256 b0a870ba3af9868ff85f177776808a0d6b270db2fc7c6ad9fcf85206d7f69d2d SHA512 d9719f3a5d5f87c8c88b2abd3585bd0e7bd0895b42d9ed326ed47800e4506fb252dbc18b6adfed747fed8d377969e35cdb0755235a91b7403b0c7e2563552c48 WHIRLPOOL cad2009671d5c30ac9b4863d41f6ab040e8045c037d7cdb2f0039f0244b13dfe8553f22f399b72ae5c6f17189b7095acf5541a123f66010bc052fcbc51ef3923 +DIST vivaldi-snapshot-1.10.838.7_p1-amd64.deb 48822808 SHA256 b8cd9bdc8dcdf0fe4ad5f68de2dd3884ee327b1e49bed23c13911304f9cd1734 SHA512 fdf650ea093727cde181c6a315b37c91d854520a7821970a9dd8dc04e278432818df994fc7e0564d15372e2e936e4f19477458b898e2195e9e034d6ebf2cfba2 WHIRLPOOL 82ded6a6bc9277547d7a0781094ec9e68cc600da40941425f12fe4ad7746f0fa741a67a62649ae5cec417e247b43c9b5def733a4770c37ea59240ee3b4ffe8ff +DIST vivaldi-snapshot-1.10.838.7_p1-i386.deb 49430522 SHA256 c04f14e8cce68f5a3682cdba7a1e42a53e57f56ab8dcd034ae995dd25dd404d1 SHA512 d71e900671812e0ce9888222f3f94d03d613c39e3d457ad8259c5b74bdae9718bb4bbe0a543f6b04eb626078b01f3ef6522822720c57e3c935d395f72824a990 WHIRLPOOL d3e117069d7f107bee4a49f3549386995f4ba32e2f1c28add95c65dd92f58182f10ff517c519e6c71cfbf0e599b81aa7b8bfbb13585d5f9dc5caef47472643c0 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.838.7_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.838.7_p1.ebuild new file mode 100644 index 000000000000..7029ed11060e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.838.7_p1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2017 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 multilib unpacker toolchain-funcs + +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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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 + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} |