diff options
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.1650.3_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 70146bfdd498..f653870a9984 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-snapshot-2.8.1649.4_p1-amd64.deb 64432432 BLAKE2B b995597237d5b24d47dde29dfba94d85459943571c7f770329248cfa1639e11e3a9df0d23a62f8aa9814c27d5208500c5ddd029e04f2b669ebae1571de5e5251 SHA512 d29dbcdbdbda401ec2e867e258763f3d90ca5da5f4c2207c45ec027292200ced738e060a5991d3827c50e037dd55557acaf7e5abeada44769b93584a86169793 DIST vivaldi-snapshot-2.8.1649.4_p1-arm64.deb 57632240 BLAKE2B ad3439a2fec9c9a08bfa914ab60b32fe31f633e42317e8b7477b3613aab14411418ecdb22cf2b63e28c836d5b73974f49c93ac0ecbf3bfb0f0dca2066ab5da8e SHA512 ad05996779d31b38c21fdd2b9f787a97fad7c00dbcc267f77a3c79d68a79af8ed410efbdecd52ba679f028c7ca50be8da8e71bf29eb655f83b556c808b05d711 DIST vivaldi-snapshot-2.8.1649.4_p1-i386.deb 62799772 BLAKE2B 57a2d19d4de637ead74f69390e9cedf07c4c2951b4773fe25566c10bc1c993ebb3ed702141efc286034b054297205709241703f57f2c916061302ff87a791f47 SHA512 63ae466a9aa6a983c8b221dc9a88b96e50aa54bf9adfec1e472c780c891cdb0b8035495cbc74488319ab9da59c424e5465de429b82407e699531112a497e5642 +DIST vivaldi-snapshot-2.8.1650.3_p1-amd64.deb 64441352 BLAKE2B bd58e560f4119cd9b25795ee2e32d890795cc816cd8d7865dbed3039bebabe88dcc521b75ebe9b2182eda75efdf0619a21d4854fb6d5d3bfcc5312481f9abc43 SHA512 eaebd3a2d718490d73f5b02c37c4bb0f04c68923268325df8f1cc79474ffacd07f48dbe5789a3c3ace03a0a19e2395c147996cb5c199dc4d13af8d190b655fc8 +DIST vivaldi-snapshot-2.8.1650.3_p1-arm64.deb 57594708 BLAKE2B e60c2dedb9d8cde365611ee4ea6b69d6c31ab430901428ab6e6d28421b6444fdd93547405f297b32ac42d00e49c9ff405b36d2c291f748d1be5b84091ca7f5e0 SHA512 70a110bd62ef0222aa532945815c8a73b9c6e7dd213dab07ee4bff9aa3c0989ea78608fa84645d4df9c8c510bd45e83372bd896bfbfd14bc232fd05c4a9c4212 +DIST vivaldi-snapshot-2.8.1650.3_p1-i386.deb 62803076 BLAKE2B 31195dfcf5727e484c3b7b172c8ca3acefaf81a595c81b179cff1937112b0d92a527c197b326e14d81a530bfd5cf6de2bda0ba112cf64e669028670a993a906e SHA512 ea08c75a538250881091291e98bae348dbe4e0cf5ae2a494c63c5c21dc84fd5b9b4389f72566bb666d4661dcc63f8585afc454094c17c282a66c3aca4b83daee diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1650.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1650.3_p1.ebuild new file mode 100644 index 000000000000..3777ea957e1e --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1650.3_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 +} |