diff options
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.3.519.25_p1.ebuild | 105 |
2 files changed, 107 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index c9a583a5bc3a..45bfff972b86 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.2.490.35_p1-amd64.deb 45329780 SHA256 7689a5659194a7ed076e6ec5dd5 DIST vivaldi-1.2.490.35_p1-i386.deb 45932234 SHA256 2608270bd3992af0349d7b3fbd6f768b922492232f8848a2f669874859eb0ff0 SHA512 9a268b214583ba205e6cde1a086c14a87049bbeab709e732df6581ecda9e6379c3492bac88ca636c7fe6f4c86f171004d25b1a5686cc77990832da9c43918791 WHIRLPOOL 6c92d80e05209acd1bcff91ec5f193eece79a5789efa00db903dad6cec4f1b6f267716654b244d0e790165efb5acd04cf720a69b94ec8846c68ea6554e504990 DIST vivaldi-1.3.501.6_p1-amd64.deb 45361346 SHA256 1dbc5336b04559f121b40b8a603b9a52db0f7542575c3e3c8c185a5cd28ae88e SHA512 b12a7e3a05279749c2b75f979432dd7a0c6399a5de81f58ccbebe40efbf794085cb8fcad2c82acc5c8573b77b11fee3b836d6d73cc99cf44d3692c8844a51d43 WHIRLPOOL e9fe1eb619726dc6ed137df9b3bf16089ce8774cd5910ea49464910cdec732890f866285ae7a5f94e69cb30c42eb1e46571a5bd1167e11b751845c716c95a61a DIST vivaldi-1.3.501.6_p1-i386.deb 45857902 SHA256 f0325c217dbe42bb5ab5de5c70c9b5ba592ce689ab0d3fa36d17638fda414789 SHA512 51c0d747cedc510292ba4895c7078e02044e836ccdb50abeadf370aef7f7de177c68b5436a1dddb9f9a82edc9f1da0a33a384d0156b3a427efcd8e0f0e2e275d WHIRLPOOL c67bde7eb035a8fd13e9c8a96f8b262c802eeb25bc1dfc690ed60ae0e8f2fc1d1c8d094873c76f765666cc46185926e47b95df58054efef4289b2af02146e77a +DIST vivaldi-1.3.519.25_p1-amd64.deb 45667900 SHA256 d3a92ce5c47ed3d23ef37a811017487b14d8f4b6266e9f542f2483ffc2d745b8 SHA512 13edc243cc2db67fa0aa170a1d13f253d7e8b25a141d19189b0a7a0191905085a653cf5df18b6fc73a9f34647870a512c54f2e54c0b3e308ff25e2c732a450ae WHIRLPOOL 035b72e67402114d70ec18eff0f50beb0c150ffc12159ecd21b9ff7820997a07f6094a5256e749062bc9e8ff5518f59b051c866b08393ed417a96aca99a81645 +DIST vivaldi-1.3.519.25_p1-i386.deb 46256660 SHA256 53b94144673a4fb9061983dd8b5a5d5f2f2f5b7d76c75005af3b9e633ef95e81 SHA512 a66b77f203fed329e3edd2a0164944744ad318eee36a9d6353e71ae0bfe6fd8d95926c03278749ca68e97e91568834d0d0b47ee8d3260961ae5bc0f7d8de3b82 WHIRLPOOL 0b214e0094abe226aac29f900c7dfcadca9d1f521ab4ab42a74551fda0fd5ac5217fa1dd16f45960a6a1b4213863df1205ad01a14838940285634a3a695566ac diff --git a/www-client/vivaldi/vivaldi-1.3.519.25_p1.ebuild b/www-client/vivaldi/vivaldi-1.3.519.25_p1.ebuild new file mode 100644 index 000000000000..0017184e7e93 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.3.519.25_p1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en_GB en_US es_419 es et fa fil fi 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 eutils multilib unpacker toolchain-funcs + +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}-snapshot_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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} +VIVALDI_HOME="opt/${PN}-snapshot" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + sed -i \ + -e 's|vivaldi-snapshot|vivaldi|g' \ + usr/share/applications/${PN}-snapshot.desktop \ + usr/share/xfce4/helpers/${PN}-snapshot.desktop || die + + mv usr/share/doc/${PN}-snapshot usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN}-snapshot \ + || 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/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +} |