diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 2 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.10.867.46_p1.ebuild | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 189e904a83ff..241e8e7ef3aa 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,5 @@ DIST vivaldi-1.10.867.42_p1-amd64.deb 49254574 SHA256 5a4333775ff0ade1e348dfcc8fdd2f31ec8af8ffc477baf317702bbfdf0717f4 SHA512 1f0042b0a89550a34bbe29848f635364808a072bb879ba4637c18beee4c1612c24798b97417f68c797215ca7df7901a4c888cbdf9bd2348e33974a4708e40469 WHIRLPOOL b88dd642ed2ac0ff1b29db6362cf844d1edc3ba210987b9850c6ab9e777d1807b7d04c904bb42b7f7aab05c253825a28e22812634b7b66ff0c9c9531e43b8ffa +DIST vivaldi-1.10.867.46_p1-amd64.deb 49224610 SHA256 4f2b4e4a20ad95391cf08427924afc1e616674e7c76e4758fd9653186d4a8400 SHA512 30a31738bb1cee29cb10d7d8b3e726f86c9aea5060033b9a8a9f92e62c2272868dcc64e8b6a03744fd7eb77c2797ae754da1d9484603dcc1885a30016e82a286 WHIRLPOOL d99d3093e6cc17b4dc66792b611c992a516c085f51a6a5c9329f7096ce3d1bb11a0169d39a907d36fed04670520dba2e7ba2209fa3e0a977860428d10c82337a +DIST vivaldi-1.10.867.46_p1-i386.deb 50187162 SHA256 f25c6403831f91a7c0f680f3c1d87f0d27b29c138ee32cae98b33f51939cbb41 SHA512 971e217b298076a159e2eb54791eb7eb12db408b9611a5c6789c8142a8750da2b2ab7bc8022ac3cb021b19b4087c45f79ee26096f1a42af5650319881d99fa9e WHIRLPOOL b36f9bc217f91049bdeb7ccf490165fb2141bf91f3c868a6729a7dc001eaf2718a643f9022b931940f4598b6a14ca56a852e2df1333a22286d4068d1d73efc6b DIST vivaldi-1.9.818.50_p1-amd64.deb 47502088 SHA256 701ceb20f6f802c4a7162c08a528b679e6ae0215c49b5e78ca12191c3d2fe3c6 SHA512 e21d0c6592aa7d9a1fe378cb9db37b503a1b269604a286d0968ebbe8ab17dec00443aa8fe265d13138f58cf2ac1efbc79238cea32277b07d7b11408017e93114 WHIRLPOOL dc289755ad9a1c2efe41a3a6eac8925a893a02c126d63edec0c2cf830aaca969b44466bdc533d0f9fa8fbe00354796536c2a9dbb01f9bf4a010cf8e921cadcaf DIST vivaldi-1.9.818.50_p1-i386.deb 47957224 SHA256 4ca0306a9336124a4ab23049be8e16f2aa5c9f48ce614b4cb551477843e952ce SHA512 858cde8ecaecd17bc732457c828e5b02e7e85d659685ef1b263c190c5430989701fad9dacb3c8f5eef8c99e51254a689d486afda8568e8c15212878b0ba9f73c WHIRLPOOL 5e569d027a4fdfe2110d95d9fd1b7342fde9cb3b506f352f9194e783fbf4f9ab03921944636dec879145bc1fc0e01516ba6a22440e0ea7d2832dbc51c565206c diff --git a/www-client/vivaldi/vivaldi-1.10.867.46_p1.ebuild b/www-client/vivaldi/vivaldi-1.10.867.46_p1.ebuild new file mode 100644 index 000000000000..e1012c4fc05a --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.10.867.46_p1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# 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 multilib unpacker toolchain-funcs + +#VIVALDI_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${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} + +DEPEND=" + virtual/libiconv +" +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} + +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 + + 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/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 +} |