From: Jeroen Roovers Date: Thu, 16 Apr 2020 07:24:51 +0000 (+0200) Subject: www-client/vivaldi-snapshot: Version 3.0.1874.5_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=502e91301296ea755f5b7ce66e2e0261144a9e4f;p=gentoo.git www-client/vivaldi-snapshot: Version 3.0.1874.5_p1 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index d2927ffacf84..b549bb35c7fe 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-3.0.1874.3_p1-amd64.deb 68618496 BLAKE2B 0c66d55d14fecde3f DIST vivaldi-snapshot-3.0.1874.3_p1-arm64.deb 61710772 BLAKE2B 7c5d2825c5e97d13cfd7d52d1b2a52e28815faa636fd613114ce38822b8376eb2c6443eb1bf3babec664cfee68046f409d793fb0e4d54f662fb357c9f8e0543e SHA512 099b1b0cb465f08956d62a14343f62c84625d89da4ab6dd4072b78ac45b4b2b8e7ccafca7385a0cf9e8bfd8c9a16ee94664ff8a89a15193b9aace5f1a0da7a94 DIST vivaldi-snapshot-3.0.1874.3_p1-armhf.deb 61046984 BLAKE2B 13091f2d58e727e690098386dce92ac038f3d824eb67188895d0f5a93d66577225d172f52af6496b5fe630f4693a95b335acf4d0f61f3d64dbc5c62dbaaa32a1 SHA512 f719765ff9a3eaeca12536c810fe1735abe3235ee771c9ff3ac92f6646b34eeb3dcb608654f1313a21f8cff29ac6c964c372ad76794526e55ed970dd9544775e DIST vivaldi-snapshot-3.0.1874.3_p1-i386.deb 67363556 BLAKE2B ee29bf461df8eee2fa4d71b3a3fb92760bf898ce68958b5bd97d00b31962549c6edcf5a0aa9ef56dc9c33f8aa3c8ac946536d837ea3056bd412f7dc615a28e83 SHA512 e33317ec47fe60a0120bcca5c588f2a6d94bcb27612c7d69efa86d8c75132dd9f18d9c881505fac689579ad975523dd5cf6ac5ec93e4b82f0961f35c51e4dac6 +DIST vivaldi-snapshot-3.0.1874.5_p1-amd64.deb 68674000 BLAKE2B 6ac24c404f10ae7369ad7a6049dc1c88c08e7febef23358ce1a2642e3b2450d1e8f026202e70f7d5252bc03c2b2b2f79fb716dbe94803fff24c468d82c754935 SHA512 19b8c2664b03587a70d07383797f95373392723efba9699636ab989393a1b706a9d3c54e25dff5dfa9c8a559755b3eb56e6acb4232a68768f26ec73df4536b0e +DIST vivaldi-snapshot-3.0.1874.5_p1-arm64.deb 61689396 BLAKE2B 3d504d916c8d2830ef7b584312f2ccdb178c440418f96f9ae3bcde2d174da5abe1b6376aa252275b400dbde2cbae695a0a7a6234f3682d56cb787424500c77b6 SHA512 715891f48924ee9ce2697e08929a382d195bbe5deec7ab96f739f70dfa171ba634e1a4169cabb92981ea294595ea21ebed3bb1113dd71cb12803089deab11ffa +DIST vivaldi-snapshot-3.0.1874.5_p1-armhf.deb 61050016 BLAKE2B 465926e910958018acc259f71305d25c0a7a2995b819736b7c225ab29ff2ec9b90685e398bcd148574198f4b8ffd80e162d3c1524f9d7872fde7c3beafde35e8 SHA512 84ae1f1cc0c5125f05b1199d06f12fd74af6a5c9cfdc9611bca8c8cba26a2e455133631bdfa31e516613df0ebd85db236e641addc23d3835038e6b5c0464a560 +DIST vivaldi-snapshot-3.0.1874.5_p1-i386.deb 67358204 BLAKE2B e634e40aaccfa6f645e49dfcaeb36dc379d1f8e346d2cc8dc115de79748a580cc428931388c974087566e6d5368868d6500a10effd9b65f46633115eb07d74f4 SHA512 0f1fb2092ba65e86daf68a0498f3463b05e18b8a2b15f645d2ec120341b0c1acc31d21919961b89bdc57bb15d77065bd9652579f236c3c89266dda865dba3381 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.5_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.5_p1.ebuild new file mode 100644 index 000000000000..db3613b057e7 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.0.1874.5_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2020 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 ) + 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 ~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} \ + || 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() { + rm -r usr/share/appdata || die + 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 +}