diff options
author | Jeroen Roovers <jer@gentoo.org> | 2019-02-14 18:42:12 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2019-02-14 18:42:57 +0100 |
commit | a8325a7207089e20db9b6926e562165544bff6e5 (patch) | |
tree | f20abe36898c8d5eb75dc5dd35c9eebd365ba690 /www-client/vivaldi | |
parent | app-emulation/virtualbox-bin: Fixed installation with USE="headless". (diff) | |
download | gentoo-a8325a7207089e20db9b6926e562165544bff6e5.tar.gz gentoo-a8325a7207089e20db9b6926e562165544bff6e5.tar.bz2 gentoo-a8325a7207089e20db9b6926e562165544bff6e5.zip |
www-client/vivaldi: Version 2.3.1440.45_p1
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.3.1440.45_p1.ebuild | 128 |
2 files changed, 131 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index c2d7d8e40c38..2f6ed0c4058f 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-2.2.1388.37_p1-i386.deb 56996270 BLAKE2B b88d2d2c2f6223334177019eae DIST vivaldi-2.3.1440.41_p1-amd64.deb 58684382 BLAKE2B 04d0c9cac46992209e1c8d7a9d2af7923b6c8ffb7027b8a47794b8568bc80214f18bd6accdb8e573a58d97b1e3bb80f739cd865315e8f16793d70b49b3ecadb6 SHA512 feec83f14554565c0fc45995ff0aa59e6abd0d039ed663d8693917da169b01417a201ef5f721ed52f27200d4cb5745b43e582efedce2ede86ac552493fda98f5 DIST vivaldi-2.3.1440.41_p1-armhf.deb 51558774 BLAKE2B 7076a4dceb1fb66a1f0a819ff73347bc2eb61f75b3d76b94f88629371cff18393339eaee2a7dc205ee3eefb637e19f8880563dffaa015016ad633228fb91cb30 SHA512 5310405072777ca8a755366924e049a4ae7054136dcf2a4348848d8b0c42d97f68a4e52430a8c77e9bfecef908aa669ab0a23ce0e7f25f935946917bef8460dc DIST vivaldi-2.3.1440.41_p1-i386.deb 56936650 BLAKE2B 0c544ef013a69ab0c6808c007fc3b54b21df2c24db481c6cf0d470b88829211018ab801fd06628e6b0e575ba5be6d2ae7a49539f0859ad24c58c998a8510a42d SHA512 ec0c22fa54ac29d00a45c054f1e8245f0775ce1b7763e8a1e985a218fde637ee70b17523076f8f76c9a29b82d0c008da32e05d3c3e7f06f684d7d52c7124f2db +DIST vivaldi-2.3.1440.45_p1-amd64.deb 58670286 BLAKE2B 06f5630a604b5bb8ee0c8140306bbe28a837019d5749afb36858c3b269f426e3347bdf0b6f4f71eb543b5d158f8295a5096aeb3bc731343a504915e0cd63df40 SHA512 9fabdfaafbe5342a17758bf3f7057056777e776d0d773d42d1deda3f68536fb40908fdbf4f87d0f940997c8fe76015bd9024d9a429421cff2e0df912b45db297 +DIST vivaldi-2.3.1440.45_p1-armhf.deb 51547954 BLAKE2B 09e3ea6295a7664fd06f7f4eb3c60dd81e0c54db2eeba93780cd765e131fe1cf44f5a7686e77d91f0d3a8eac0e5b498e1cc5b32a64fdd323afa0bfdfb166bbfa SHA512 f2e913ba874b9380309c847b45632aec0f88f8f32f3f9bcc029f4fb6dcd461cee7dacb40a33b0be41feec93f9ab2541aa2ccc7bdd8cd8845bb0c9685157264a9 +DIST vivaldi-2.3.1440.45_p1-i386.deb 56918618 BLAKE2B eed8fb9f8667898c4c7e8254e4cf1e4abeb1df97c2c122df2e0cb08f24b18da417aa8efcfd3cdce6a192f607a94566ca0919b4a8de7b8220f0748681cda2653b SHA512 6acba48cb33c8077e74d25975aec91665f0b419e912673cb2abde12828336713c285f24e96345b4932765bcd4369b8e058c1218019a21cf5023a391f5599858e diff --git a/www-client/vivaldi/vivaldi-2.3.1440.45_p1.ebuild b/www-client/vivaldi/vivaldi-2.3.1440.45_p1.ebuild new file mode 100644 index 000000000000..d3152b11c32b --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.3.1440.45_p1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +CHROMIUM_LANGS=" + am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi + fil fr fy 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 gnome2-utils 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 ) + 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 ~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} \ + ${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}/${PN}-sandbox +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |