diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-09-11 16:15:51 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-09-11 16:15:57 +0200 |
commit | d39e2052e19044796679ca5d6e1f112aef72f639 (patch) | |
tree | c2ba6432be16bbe5e32573174eda26811f0ca87a /www-client | |
parent | media-tv/kodi: require fontconfig 2.13.1 (diff) | |
download | gentoo-d39e2052e19044796679ca5d6e1f112aef72f639.tar.gz gentoo-d39e2052e19044796679ca5d6e1f112aef72f639.tar.bz2 gentoo-d39e2052e19044796679ca5d6e1f112aef72f639.zip |
www-client/vivaldi-snapshot: Version 2.8.1662.4_p1
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1662.4_p1.ebuild | 115 |
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 5256646611f0..774c1479e4d5 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -3,3 +3,6 @@ DIST vivaldi-snapshot-2.8.1650.3_p1-arm64.deb 57594708 BLAKE2B e60c2dedb9d8cde36 DIST vivaldi-snapshot-2.8.1650.3_p1-i386.deb 62803076 BLAKE2B 31195dfcf5727e484c3b7b172c8ca3acefaf81a595c81b179cff1937112b0d92a527c197b326e14d81a530bfd5cf6de2bda0ba112cf64e669028670a993a906e SHA512 ea08c75a538250881091291e98bae348dbe4e0cf5ae2a494c63c5c21dc84fd5b9b4389f72566bb666d4661dcc63f8585afc454094c17c282a66c3aca4b83daee DIST vivaldi-snapshot-2.8.1657.8_p1-amd64.deb 64435440 BLAKE2B b9f4c90dd3a48bd58a2d5d16bac4f7f8f1ac19bedd13bebbfed530df6e41550d17ffbb335109f8565b58b652033148b6524e17eaf1977f72ddb71a5426ebbc9f SHA512 e4950b3afd5b75e43dc1251134c677e4e25958ad1c6836906e3c13e2091c7a3d1b657a27303f98127710932c493ea8986542215fca3c7295dadb69923e3a7cf5 DIST vivaldi-snapshot-2.8.1657.8_p1-i386.deb 62724372 BLAKE2B afec699ed1b59d5ba545d6facc6993719ec906f67068b2b8fac6c06f993d3b7b72eeac2479b66c8a8348fe1c9e67ec7b0a9a67b218871fa424e3db43a2019876 SHA512 ffec22b9df7947e6063d8c25aa0ea8182aafffe025193f58e819f2cbb7a008ec2534e1834a0753e8ed2928af6a5fa04864793b189031d528f2939da777c4fbf7 +DIST vivaldi-snapshot-2.8.1662.4_p1-amd64.deb 64473408 BLAKE2B 75dc4cfcb844fc4fa6730a125084c3efb644f435ccca553312a3b71a21ea60f5eb012f315c087edfb3349a3123cab8acd2b1d5e9f2aff18a8d9e764eafaa9677 SHA512 62914638e2e6cdef5f9075b977fef693492793173b45cb5bfea7ef44419a0db6ec1d0d9a77dd4ceda999029b5d5dd574210363a44ad72bad62f4af1fd937eb36 +DIST vivaldi-snapshot-2.8.1662.4_p1-arm64.deb 57681488 BLAKE2B b2c2db3da90fe5cdd30b9d5b43153066499f38f9ba49e68f2903f9ea9ea85617406fa81feff8f0785bca008d4d3ed639aff5799fbaf1a9dc211e410f55b97d1e SHA512 816795edf23cf863dbe3aaacdf9188f6c11172d20edc9a1138f2e20d963d95fbff1dc587fe47ce057b571bbcb50aa31f4b155199151b47ab568fddacdea1cd26 +DIST vivaldi-snapshot-2.8.1662.4_p1-i386.deb 62760156 BLAKE2B e5595de66d5940d14e53e0c78f25c7347378be18ee9e3af8563c5f75518f99df62a4383df63582f49765500c31f9996e23bba3b7522789e574da3f91ff3ad573 SHA512 f4e28e7ab6558a2189a2916d32f9f391403b97d4156c317f1e33bacd05efc5a8448b04b4dc0371c09717b6669531ec6ca3623401877e8e873859fad881b74f88 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1662.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1662.4_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1662.4_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy gd gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml + mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th tr uk vi + zh-CN zh-TW +" +inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm64 ~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+:3 + 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 + + gunzip usr/share/doc/${PF}/changelog.gz || 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 + + eapply_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} |