diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-08-18 15:19:34 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-08-18 15:27:59 +0200 |
commit | 5b4162a20799bb4561002d199b8f96e6f0cef71f (patch) | |
tree | ad23837b258b1fa86e606797cc63d3d8131d78d1 /www-client/vivaldi | |
parent | sys-apps/diffutils: Stabilize 3.7-r1 arm64, #737502 (diff) | |
download | gentoo-5b4162a20799bb4561002d199b8f96e6f0cef71f.tar.gz gentoo-5b4162a20799bb4561002d199b8f96e6f0cef71f.tar.bz2 gentoo-5b4162a20799bb4561002d199b8f96e6f0cef71f.zip |
www-client/vivaldi: Version 3.2.1967.45_p1
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.2.1967.45_p1.ebuild | 125 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index bba63302b468..11ece9a3e9bc 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-3.2.1967.41_p1-amd64.deb 71962128 BLAKE2B 5bbc16da29cc901381b6009dd DIST vivaldi-3.2.1967.41_p1-arm64.deb 64193856 BLAKE2B d2c72c55f8bc9414c325683ba001f91edb59fe7103f8a4599bf35ab87988b89511cece6fcd535c7db33ca6c9c68ced745794a6bcdcc7a84e417cf53d34f2b401 SHA512 747c1de2118a1c2760fba38ed93d2f92245971d33f23fa8728b9607c3f50baf9f1b40155c2dce9e5de8944d9383c60bc714d5b787fd8fdd43012c613a1aff377 DIST vivaldi-3.2.1967.41_p1-armhf.deb 63720968 BLAKE2B cadb74682e28dc3a5b9ff4700aaec5bcdbe9c8b60d06c15696fe566eec105475a84f0bdeb0a27b3ddcb74240c1535f2a82564b6f6bd290eae00842d38b67aff2 SHA512 91766af814953518aeec766a23b3bb6cc753441d7b7d416ee0a90ac3771bf79ff08d07bf0dc25e2728e0db4c61312becaf4d1a91bdabc57154911f4ac2eb4b9c DIST vivaldi-3.2.1967.41_p1-i386.deb 69549032 BLAKE2B 7b1f03f69136191a58e5dcfdfe20c27a658516bae0e1d69afc430440c4e6e0bb2ad4bc167fdfa06f7d37ec4fc701b67366f7703a24ad715533b2cd88e0d8c00a SHA512 091ed7def6d7abe60d6579b480acfc8151c5e0772c137f56a26530f8eeffe9c330d92292bda3db81c68c034b769990f8b76fc747628255ceff963bf82d5c3fbe +DIST vivaldi-3.2.1967.45_p1-amd64.deb 71942736 BLAKE2B d5890d91c02f9855ffa15dfe89c3fd29b22e6df0395836e2199cc4f7bf901d7f98253e7e702de7fe1477118c7152591e361720a6fe5648e22486ca665c314d4e SHA512 12eede3bc6544f8df75324faf247cdac752b4af874ea44bb06e73f6051ac67c9630e0fa492c04fc9308bc51c4d55da97b3f8387c6ed6619117da20f308180a90 +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 diff --git a/www-client/vivaldi/vivaldi-3.2.1967.45_p1.ebuild b/www-client/vivaldi/vivaldi-3.2.1967.45_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.2.1967.45_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 +} |