diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-08-19 11:21:06 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-08-19 11:30:28 +0200 |
commit | 876450332b9ce05a1521a4107286c0fa4123a106 (patch) | |
tree | 387615b0689d07a777542355aad351a7d9f14355 /www-client | |
parent | www-servers/gunicorn: keyworded 20.0.4 for sparc, bug #737618 (diff) | |
download | gentoo-876450332b9ce05a1521a4107286c0fa4123a106.tar.gz gentoo-876450332b9ce05a1521a4107286c0fa4123a106.tar.bz2 gentoo-876450332b9ce05a1521a4107286c0fa4123a106.zip |
www-client/vivaldi: Version 3.2.1967.47_p1
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.2.1967.47_p1.ebuild | 125 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index c2b24e482f88..3e1436ae5f00 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-3.2.1967.45_p1-amd64.deb 71942736 BLAKE2B d5890d91c02f9855ffa15dfe8 DIST vivaldi-3.2.1967.45_p1-arm64.deb 64218204 BLAKE2B f16dd0d536a2ea3f3f16df323f96dbf6849b8fc0627d9577f57f9a544778b9f45ff50f9d5bfdedb09cefd60f2fe1a68dd9255ae0903b00a66e37edf2b8234b54 SHA512 444a1c40ed6f848009e4a4629bc364f79c2d8d933bb423ca055ca714753bdf85848c48b01008171d18d15511a6e3e08789de0ae882e4039b9cdeb27f8665e246 DIST vivaldi-3.2.1967.45_p1-armhf.deb 63712312 BLAKE2B ef8a628fd0897819be4b3070a15ce25008fecd5231951f478a5a7928090101132acab16723a0354a0c28193201652e08cd77f662abc40813cff316e60636c613 SHA512 1ff5faf4785b123a5ca434a191ee3d761de7e65827f5d296ab55ea9ed54955976afd5b07b25bcb03cefb0c7157d5e0c7cfea9e884727b2b9df73ea7c3f007e16 DIST vivaldi-3.2.1967.45_p1-i386.deb 70228232 BLAKE2B c24b9451c55486e4e631a137e4136f6267f25cbfd7d45f26ab0fa1052a64d5ea0257db6688e541e63068fd75ae931279dd98a9453193a595e13515a7a71b064d SHA512 f6b805a4554e333cdb360266c34412168e305de2f8c99c8515d3ce66a0758a0933e04ec8c91abbbb21264a7fb8b5ab0ab172327a0453c524d01ecc4efd38abda +DIST vivaldi-3.2.1967.47_p1-amd64.deb 71853076 BLAKE2B ed79da0a11cb676496b3c9ce03bc61ec0fc2ad2aeda75704caf6520dd372a038332413f4191751fa8b35c64f3ba7a82cf407f77b4f656c5f6a3a569e0664214b SHA512 99532d00da0d1831c64362dbb7828c8d064c4548b650305ed142627aab241b8c3cc1629640b1ae6c6ae20c4b24d0b4d82dadf15ef0f739a2ce1b7e031a20b227 +DIST vivaldi-3.2.1967.47_p1-arm64.deb 64630720 BLAKE2B 777ef7ac03176f5786cdcbd77223f5ff6243aad6e3fe34dbf6dbe4e9c886fab6b9f3a88fea06bb9c6f61dae5ad172fc9c02f4d3c049be7aff204c3e0ce3a4d87 SHA512 4ef35dcf6acef23b39bf7746c020515d8adf43290057e6bb8a25ed7af8034e95b3e2afebf0cd056de0e21c3ec5dc4249c0055812756785cb4982877a4cc14e2c +DIST vivaldi-3.2.1967.47_p1-armhf.deb 63645748 BLAKE2B b7acb3c7672306ad8defc903b5c73dfe20e8de42489c3638d62999d249c25ee4749937b3cff55cab3d91d12365261673046f644f0f124fa6adf660ed24a58f16 SHA512 63db5f2786fcabc37f5ee23ab5ee2c5b79d945bd93b394dfd8ad5005211bc5eca8708bdedb987097f94a8615e8197e7ca978a80bc5205c8d1c0ce3517f11763e +DIST vivaldi-3.2.1967.47_p1-i386.deb 70102476 BLAKE2B 399da7d7d080ff52ee40f2f119f9864ab34141405a83c4d6924cbf23143a2e428d6b7d9e8ffbe5addaf18a1b97077bf116f7446fa0ee7609747ae4b33efd2947 SHA512 bdb5ef6ee869ba25f7e9fcecbc03b490833dc547fe8c854ab4709debf8e298353fd93761f3da0a920f3819b765ae55f7c477745e117653f532de247bae7089cd diff --git a/www-client/vivaldi/vivaldi-3.2.1967.47_p1.ebuild b/www-client/vivaldi/vivaldi-3.2.1967.47_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.2.1967.47_p1.ebuild @@ -0,0 +1,125 @@ +# 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_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.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${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 + + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${VIVALDI_BIN} \ + || 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}/${PN}-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} |