diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-02-08 11:40:33 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-02-08 11:40:33 +0100 |
commit | e9a872d8540dda9cb93c2c6b90299360ad59e9a8 (patch) | |
tree | afa27277ad840b32fdb5095f3e0eaf3b8af65a18 /www-client/vivaldi | |
parent | net-analyzer/mtr: Old. (diff) | |
download | gentoo-e9a872d8540dda9cb93c2c6b90299360ad59e9a8.tar.gz gentoo-e9a872d8540dda9cb93c2c6b90299360ad59e9a8.tar.bz2 gentoo-e9a872d8540dda9cb93c2c6b90299360ad59e9a8.zip |
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.7.735.46_p1.ebuild | 116 |
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 8cdecef9b2e7..b04a1129eb62 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.7.735.29_p1-amd64.deb 49026302 SHA256 13f8b9e68bc3f99f0efb3c7eb65 DIST vivaldi-1.7.735.29_p1-i386.deb 49333884 SHA256 ba3c41be62b56b186f62c3140f5b023f27d4547b5db39ad7cafae755834e96ec SHA512 461e76dc6a17ededd1453ad71522461020b0aa4fdab7ca2a0f21fc6a1a7d80ad7e3b6e3c4eca016cb60673a905d2099aae4121160fd791bbdc7c209f14d27584 WHIRLPOOL 708188365fed06f8c3c1dfdc0ef84c9b036ecb4c37366d05bea84272bf78bc1a51549a29a4d94227242442d5077fbe7db45a022def1f8d815e7d5aae23a6296b DIST vivaldi-1.7.735.36_p1-amd64.deb 49037372 SHA256 7c739c0b784ed9f7f387c0dfb6b18da028c69428806ef76987b185c5458c16be SHA512 0a5174c10f07d04fffbc7325e57703f865c0dedc9f839d0c14ceda0f3372ff79c7100457fa2cb4e5c0e6304f94652797b47aad3eca55e9100b28e7fa79bdfec9 WHIRLPOOL 83d6cd1893d72943b859c998ef10973e2948bde6880584081cc62a209961bd8b0e3ae0adb063a3ec8db83c38fa81e74705309463989e9dee7e40261086820ece DIST vivaldi-1.7.735.36_p1-i386.deb 49350138 SHA256 fb9aade5ec417ca0c9fd1ffa256a154aefc123eeec23c2ecd2b204ab5bfd2f35 SHA512 a80e028cdfa4d6d01262504eda33c9b3a042f6a2e97407a48f0836451229f4fdf8c7898be98eace76ccd10c743e58963f6f63f37b9409f6bddbd70f42166ca91 WHIRLPOOL c8011d4e5c5d2a3fb93b493f218e0046d55e56bc1cfe4d30cffffdc8f1d3f00e82770237e64aca92e0d7799bd8df14a8010d16f491726240bf17d9156275b1f4 +DIST vivaldi-1.7.735.46_p1-amd64.deb 47603688 SHA256 bb15313f9d7f17bc135b5a41df0aaf83b1bdc1867bf3fe4fce5757a0bbadebbe SHA512 efda48a1e9db6e630b53da7c98b19bbb9950ac1f78b89703d8ad7ea9c3a104a34c11b30741dfc54f431ee945603665a1764a8ba1913d098a50ca239fe164d4d8 WHIRLPOOL 69333df807b04e9113be19041bb96cfbb39e5d9d9cd73af7f60342e43ffda5ace6398ae13609996db4801f446393dfcfe76f5fd1dc04223c075467f0648f5c5a +DIST vivaldi-1.7.735.46_p1-i386.deb 47903366 SHA256 0aada8e99560c60d0a49ee3ff8ef1c5e38e2ae8bf1f7aa59b72b5871ad64b1c6 SHA512 004a81181165c9f0704929b3c377fafa25e177e005e187affe47265bede9d761dcf8894c43bd1b94832b36d14c7468a4bbf0b767036cd34d38063b4c147c889f WHIRLPOOL 6883686a0115f9cec6d7e8b41b313aadec29bb437ac1a3c4839ac6843a85ed1455756aa87ea20a25b3031f894ecefc56b7034086622babb924c05627f799c756 diff --git a/www-client/vivaldi/vivaldi-1.7.735.46_p1.ebuild b/www-client/vivaldi/vivaldi-1.7.735.46_p1.ebuild new file mode 100644 index 000000000000..18e5599a64e4 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.7.735.46_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |