diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-10-15 16:16:18 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-10-15 16:17:17 +0200 |
commit | c9080a7abc9268b826783c30ee08fe1c9fea596b (patch) | |
tree | 8285042b05584bc9a83956ed57521355004620d9 /www-client | |
parent | www-client/opera-developer: Old. (diff) | |
download | gentoo-c9080a7abc9268b826783c30ee08fe1c9fea596b.tar.gz gentoo-c9080a7abc9268b826783c30ee08fe1c9fea596b.tar.bz2 gentoo-c9080a7abc9268b826783c30ee08fe1c9fea596b.zip |
www-client/vivaldi: Version 2.0.1309.40_p1
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.0.1309.40_p1.ebuild | 127 |
2 files changed, 130 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 6d7345aef690..b90754db1845 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -7,3 +7,6 @@ DIST vivaldi-2.0.1309.29_p2-i386.deb 56864360 BLAKE2B 82f243ef0a6976bc52a66875d5 DIST vivaldi-2.0.1309.37_p2-amd64.deb 57597642 BLAKE2B fcfdb5f04ac2821a975d0b7085fb81404fe70035afbd2ce50e2c322070ee1d8f16105eeddbaf416828283535db08f9e3b3ce32b1d3a70e7f1515e685713468c4 SHA512 b616c00be20e3790267c602e07834cc6e7b0ccfaf4aa32ac2d308ef41e3c35ace23c1bd9c5d96da18b37dc2faf4e8618c1c07c1f4c635282cd100dc746dfd3f7 DIST vivaldi-2.0.1309.37_p2-armhf.deb 50850020 BLAKE2B 55478da8d46061ca36f3386d05c60eb49b4039f9af48f4338d871f15a07e24828cfdf50a10bc6485f8cc1895d308d76896cce454036686f65e288064301b9bd5 SHA512 9327743f1bc535eb36c304fe6e05b1da7db3c424c73a9a47ed6657f9f621ecd433d2c7f6ecd5cb2a68a7058da241b8655dbf90495fada27a09e8c05dda20a3e0 DIST vivaldi-2.0.1309.37_p2-i386.deb 56890714 BLAKE2B 91170d73f569e7d5b973cffba027ad7ee98b342dde3bf4d51590862505039d551244d9607ac25d79979dc7ab7cbf27b1ef461fc89d2f0828c83e5c0b16ecad23 SHA512 370da0b01522d7b70854f1a73c05035d461088a097a13d6950e1d0b5ed0536c3fd50612c2d939e0ca834c2aed1481942e5baeaa247cdaeb70d6220c9ae3b2478 +DIST vivaldi-2.0.1309.40_p1-amd64.deb 56228348 BLAKE2B 6818250191c3b3a658d543b537e5dbb753a4570e1d56e690c45ff2a3daf519435e8099a2f0a5d5f76dda8a58b5fc2c944549f9b530411ea83fba76f9be44a209 SHA512 f7d52ea615615cb72f16ec2e42fb2a767b2dccfc74f01282a5709858876c0ea804b5299920178683b237b63861939b9f34a5d6aff9057b478498389f05c50a74 +DIST vivaldi-2.0.1309.40_p1-armhf.deb 49870528 BLAKE2B 3474634e3b9a648fb95068e96728ae90b4054c9c8af442e809700776cc2ecfe8583a203ff44162fc7dc3ea424f461b12522b308bd50a20cd3a00f0a9797d697f SHA512 3776560e41900acab5dcd27365cad872b1bfe1fd4d9c3a046b8b45c327bb78ac8f52f271d129d5360601bbb8d8743c3ddcd70fd2e0a8b9b2b146e5f8aa5683bf +DIST vivaldi-2.0.1309.40_p1-i386.deb 55518798 BLAKE2B bc32914d537cb07d306c54625ad90477c12fba604bd21d678624706d374fabfb3385d756dc8ea1bce2ac1b96432e99469bd03d2b41679b406399642e16fc28e5 SHA512 28cfc62aaf97f4c2774a6c98af0fe3b95c5ad78ddb2c77987f279a81835c0ccbe481fc3800acfe899ce0dfc0344f47c79329050bd06cb70253bd06feb950807e diff --git a/www-client/vivaldi/vivaldi-2.0.1309.40_p1.ebuild b/www-client/vivaldi/vivaldi-2.0.1309.40_p1.ebuild new file mode 100644 index 000000000000..5978d2dcb6e5 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.0.1309.40_p1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv + sw ta te th tr uk vi zh-CN zh-TW +" +inherit chromium-2 eutils 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+:2 + 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 + + epatch_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 +} |