diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild | 115 |
2 files changed, 119 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 41d3f586ae7c..a32b5553c607 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,7 @@ +DIST vivaldi-3.4.2066.106_p1-amd64.deb 75692172 BLAKE2B 6311f405833e99652d3905c08591535bd09ae2f290bf6cc147011f6e7e6099975c355ef44bd99488950cbd09b85aa2dd17448c1337942c18077fbea57c77984f SHA512 da3db40bda4cb709f24764531fab9c1e13c00fc4eda22a27a3f06320d5b3f85aa6b49aa35df8cd1aa17ca27d2019ac74151d504fe3c23bef50cdcd0771aca613 +DIST vivaldi-3.4.2066.106_p1-arm64.deb 68074616 BLAKE2B 90677ffe9f7b76a45a686dc1953c4eccb956a438c1c5afccf8e7af2fbdf3a22b5446fb4932c309c57ada545af2844f45a4c4fb3ec9c5731c7fe6ca29ba96aa27 SHA512 a8c44bcb0643f5282de37935161dad0e0cd278ead1ea1bcd4ee7a907ab630c41e5d88bb271c4221e3e8ca87fd5de0df9a902121ed7cd7266dc9f6942eb1d4f95 +DIST vivaldi-3.4.2066.106_p1-armhf.deb 67022536 BLAKE2B 5ee874dc41c484aa2130ca20a1a68b48178f7a55db1c56c010b4319448aada2c0c4e0b2d7ab36dd85d37cf4f789e25ec57679a3b6ea87c086e537025ab56199f SHA512 3fc1f20dcf7c0baa2c7a021b5e9d3480f62a04eb65697712df1481f85ef7afdc019a94e2873964ffba870bda525d5b84dbf3201a7e660428576e00c4770c067e +DIST vivaldi-3.4.2066.106_p1-i386.deb 72096496 BLAKE2B 6728eaefa74d4ee061d75d510817ccd7196455bd1e1f0347c90f7528358c33c7f81bd6e46edaafd94e0da1880e633dcf0aeee795eaeee3b88497a06f3ba9533b SHA512 cac85271513bbcc4af08c5e53c2652b4ac616ce7a11b5896af1c856879cd354298243314fb3ae535d059145cd412f66177b93d9e28f63a741411e04db4030ad7 DIST vivaldi-3.4.2066.76_p1-amd64.deb 75666120 BLAKE2B 52c65c30f051347a0f5fc344275cb88f61b449b2628c1ef2c5289f7768abe09cdfed15b28bfaa23af86947e098f9f7503fea4f4ca35b993468f66d57b4c184fb SHA512 8abdb35940698709915eeaf5b83c37cfc06c62807bf67544b1b3601df855b77c2ed3e05e4067e561af3df7f53f915e984420a2cb5fece6ea406f742d6b46af67 DIST vivaldi-3.4.2066.76_p1-arm64.deb 68043100 BLAKE2B d110e91508228f671925b44cd5d1a0bd5576cf6b9be2a6ff354faab770302421c34779b787c319b61424d8ec6c9d27a3cc78c59eade654d44a07d55bbde3451b SHA512 ad2b9edb2b48c2a1bdca1711de62a18fbbd6ee6890b6d4f34785531b5b55ec5f49bd0bb70d6d05a23e34360138ab1954126f5d9ed8f8a0465a624175b999cab7 DIST vivaldi-3.4.2066.76_p1-armhf.deb 66987876 BLAKE2B 52a81cf66d084fddd29d62590a5d6496f4ac1216c20369b1d22a81b4232c31e3251327e3328b287967499ac69d714540bb55910a0d9117effb35886e95f696b5 SHA512 66ed509a1aee1de65cde070a6c140fa586e04d59e1f80af5d358c046778336389aaeb4c59675b0b25bfbb1497de70163eb9986699a8b8c142ab30eaff14afb85 diff --git a/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild b/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild new file mode 100644 index 000000000000..446810090bdd --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild @@ -0,0 +1,115 @@ +# 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 + +#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 +} |