diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-04-18 16:50:38 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-04-18 16:50:38 +0200 |
commit | 1380fb6b5270b65bee741a9d2de87715e3c8edb7 (patch) | |
tree | b76ca8a7b1e1fd0f1a7f5560fc1090976e79b89f /www-client | |
parent | profiles/arch/arm: Unmask schroedinger useflag, media-libs/schroedinger is st... (diff) | |
download | gentoo-1380fb6b5270b65bee741a9d2de87715e3c8edb7.tar.gz gentoo-1380fb6b5270b65bee741a9d2de87715e3c8edb7.tar.bz2 gentoo-1380fb6b5270b65bee741a9d2de87715e3c8edb7.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.9.818.3_p1.ebuild | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index df92bb9f20b1..59060ce3e031 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.9.804.3_p1-amd64.deb 48327278 SHA256 069d45a441ce05ef7f27eb486a86 DIST vivaldi-1.9.804.3_p1-i386.deb 48941644 SHA256 cd9c5a7e08cf7fe19eef8ca2f4eabccd57dcfa9cb9c6d62de961da66e639d9ad SHA512 f367f92dba5c8b429e75b61acd73f8719a69120d386309f902313de0d7d3400cd3a672e33752bcd87f4df12ec25e024a7303879cf19f0452ca595826e2f10b9c WHIRLPOOL df05347e0657f7bd497ecb3775e209169122647922ed9e5761c1c7c49b70072c3b2e430f96808d0a910cf154fca955fe1affd2b3e0359e2ee729205cb35537bf DIST vivaldi-1.9.811.13_p1-amd64.deb 48864276 SHA256 594a11c4afa4b1b1c8703e06a4f8f575c094f6e41207a68dc8799c19eb2d785a SHA512 8310fb72cbea7f87a22f317cae957348249c0d2cea5fe29fb2ffb9101909b38b09326a867c1489234d34b688528e05627bee0a02b162b619d0ea7becf7b51484 WHIRLPOOL a4ff9db418205c243186ac7f3c086f08858259d51f21163c9da3ef6b48742683b88658b057bd5c7b4bcf5cf7460e9d38629ff50ace3058d23e3f6d4e885a449c DIST vivaldi-1.9.811.13_p1-i386.deb 49379170 SHA256 70da4aadff78de790b56283a0ce023e297081dc8a97fcd081ccf0fb840840120 SHA512 12087ca044e1dc3e922a82136bcbf985912e1a2fb6a48fc0be1f111c6678a9ad15c545d7797b0dac7fc87dde26e14dd9031199b8d3bbb7f6d036e000801510ac WHIRLPOOL f00912ac9481677dc0ae1a8b0359874139df1543bd0f886813e8af80c4957e7fdc719e9ea55dc315e03d171fe50bdb23ab9c77ee75304a3f77cada7f0d187902 +DIST vivaldi-1.9.818.3_p1-amd64.deb 48847826 SHA256 14e5ccaf714417ad5dddd9e7db85eb127df6794d2b83871730203a02aadf7c94 SHA512 4b338d0754171303ea3c9cab519880b77a7ee47cbd053361bcbca4f046284867601fbb151fedb35aea05ad44665009b54986f594bdf4e2ae73d77f3da02fe99a WHIRLPOOL 4627a2b10b0122d0c2fd5ec3e4b925abcde8ebe7578d89345c189d7dd81d379066a2a6395c6bbd86a59314f5ee53f78ab2ab0f019d8b8efa538bfe52fc0d4820 +DIST vivaldi-1.9.818.3_p1-i386.deb 49435816 SHA256 702b4d794067350785daf1c6610eee6d1ae1b141f23ddf7fc84a35b89dce23fa SHA512 1508c4e1fc56426c112bebf7c319dd90f93cc9b2f00e8d2b38fa95713c45931dadb38736a9796cd2189e87c434400f12d88166599d3af702ef3134de3bff08bf WHIRLPOOL 5ee75b46334bf4bd805e990864269c6e0df0d40e9efaf2652d23033f893625e98cc101b3f6214e7bb332da02372a99ac6fdd7785f3e24885e6c18e87487b6208 diff --git a/www-client/vivaldi/vivaldi-1.9.818.3_p1.ebuild b/www-client/vivaldi/vivaldi-1.9.818.3_p1.ebuild new file mode 100644 index 000000000000..5d07a6a24a74 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.9.818.3_p1.ebuild @@ -0,0 +1,115 @@ +# 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_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + ${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/vivaldi.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}/${PN}-sandbox +} |