diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-07-19 12:03:17 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-07-19 12:28:17 +0200 |
commit | 792460d30c343fb492bc3bff1b794607fc06bca9 (patch) | |
tree | 3ade5834774e0ec0c5462a37071f7f1ad586903b /www-client | |
parent | mail-client/mutt: amd64 stable wrt bug #661436 (diff) | |
download | gentoo-792460d30c343fb492bc3bff1b794607fc06bca9.tar.gz gentoo-792460d30c343fb492bc3bff1b794607fc06bca9.tar.bz2 gentoo-792460d30c343fb492bc3bff1b794607fc06bca9.zip |
www-client/vivaldi: Version 1.15.1147.55_p1.
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.15.1147.55_p1.ebuild | 125 |
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 3aaf8c634e34..0aa90d4d99a4 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-1.15.1147.47_p1-i386.deb 52488994 BLAKE2B 2433330782f45f00c0b5b85ee DIST vivaldi-1.15.1147.52_p1-amd64.deb 52873960 BLAKE2B 2339c66888dae4754fb9ea8bf1cb84297a7b0bfdf60cfcd2f348fc7cfdea65d112f53fc65df59cf56d979bb6b508556de0e9d97488e6107e2de22bc00957638b SHA512 c999eeda13cc4855103b303cdcd4d0411d55ac726f8415a5ae9c395a949a3cbf59826bbffaea27b3a85cc24cc58a1a1b24b48687e826d7a28e392da9df5b57db DIST vivaldi-1.15.1147.52_p1-armhf.deb 46843430 BLAKE2B 9d6d7dfc4357c1d057bcd1e04984dcf6f4c1a7132e69f5ddb88c59bb0790e9a48c269b17cb3dd16ee0e1195bbd8d3dba31819b76cbbd2b551fc2077596360c97 SHA512 f16ecd1be10cffe486f71c857e4e9ae8f6f3da48778260ddd4f3a5736b5ac772fc1dff4f23ef40a463d3fab72c276df0e7019f18e781aa1cc9a914afa18095cf DIST vivaldi-1.15.1147.52_p1-i386.deb 52486988 BLAKE2B 17b32ff290880683775dbc724bd6a9703f1bfd7b37d1199519ffb3d01e75a1fe58d842341660baf5d0e7818bf5e76bad78ae498670ba3aeefa4d883125c39b87 SHA512 b05ae7569c149b764c253b80c58eb60672ac3b28d368d1012bb339b771acd074011b2a1a12a8fbb9e58fdfb1173dca97de1f5e7f1243985e638db63ab48c7aa4 +DIST vivaldi-1.15.1147.55_p1-amd64.deb 52880244 BLAKE2B 5bfcc57713a586b7534bbc2be88c4ade155d6af15be4b9626b73b3b9ecbd90cfaefd53fce5865a8c1eea863dcdd64c8e2f3118705294b7b0a4911055b1da698a SHA512 0d9e2971bd471e4a4e045421dde6eb1bd3431e0d843ae806e8068c75a8f5137e24367eb708201ae2f9ba127045462061632fe43660f193a6e0c3cbbe0728b8de +DIST vivaldi-1.15.1147.55_p1-armhf.deb 46831370 BLAKE2B a9f61c8ce04921884f418a1ec708fd9011ddf7521a9dc23f44f6b93bbb2356a40b705e1add1ba527d437512b3482749e7eb4e2703786af988091e6f45ce2e3f8 SHA512 7dbcfdd12b51cbf1849933e1104fac69f8cafbef8bc78d4776dca030809ca321c4fd12733f1a176d527fd89cf128010f5a282637917c12d99ce4bb8c4808d04d +DIST vivaldi-1.15.1147.55_p1-i386.deb 52490106 BLAKE2B 4437ae3263286477da9507393c93f502c63d3ccbba223ca3b702407ea1e3a79a165790505f8f25a319e1b8c0c6beec2fc1ef1a2e0d67ce73dc8e532b136c063f SHA512 ed42481a1db6d6bf163ba3c2e2cbe6a90eefa730b93d2f2122502cceadf0ea601ef48d687bfd63a87c57be930d986b92da2ac3afa7340ca1bfa3346ee840c24e diff --git a/www-client/vivaldi/vivaldi-1.15.1147.55_p1.ebuild b/www-client/vivaldi/vivaldi-1.15.1147.55_p1.ebuild new file mode 100644 index 000000000000..6792e850ebb4 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.15.1147.55_p1.ebuild @@ -0,0 +1,125 @@ +# 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_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://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 ) + 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/${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 + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-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 +} |