summaryrefslogtreecommitdiff
path: root/www-client/vivaldi-snapshot
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /www-client/vivaldi-snapshot
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest5
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1369.6_p1.ebuild118
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5d7a7b25f3af..75b08a7d5c7a 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,5 +2,10 @@ DIST vivaldi-snapshot-2.2.1350.4_p1-amd64.deb 58468342 BLAKE2B a27bb0aaa22cfaa81
DIST vivaldi-snapshot-2.2.1350.4_p1-arm64.deb 50278814 BLAKE2B 27be904f2563cbcfb85d21982cf76c14406a4ef07a4cba37014ca9c8045e3f2e67105d1891cc0642cbf0fd350ac50420e38517fe8aeed0042ddc0ce96ca41744 SHA512 d846f46a9482a60ba65ea900ba34a71afd95915501c04069e174bfc83e4e0f6ea3753b9755b18825ddb0a9ffd3d953d1292f66b9be0b9a3bb8090381c48f9192
DIST vivaldi-snapshot-2.2.1350.4_p1-armhf.deb 51212312 BLAKE2B 26a382946d36f93a0485205d04aa17d66a3de91a717ed261a0de0a12b066eb74f4b04fba8773edc27d8d8b65f1ababbe95b7d891f0bda31f7eb1c882a53cdd75 SHA512 e86fdcc8e4b72e26294dd709226e1eccf45820646a6c7b17496d92aef142919b209b82d3135a2fbc22bbd0218bf703c63c46f68e32a50d5ec1ef09b317821b04
DIST vivaldi-snapshot-2.2.1350.4_p1-i386.deb 57355788 BLAKE2B a6ca6cbc6b7366c1f0782d803f925c3971315f81a82cd14d383fc8443bb386eabc612eeed77392b67636199afd8cc0fb446b1b97dcdefb90c162e9e650dba5fd SHA512 b0890a7b951a6c95c3c4575e407571cdadcabcb99e116619288875c1eff83e7c5010e1cbd3e27dd29e07b3aface3b8b4f9de41534e6d12460b2c9f700ceacd77
+DIST vivaldi-snapshot-2.2.1369.6_p1-amd64.deb 59221952 BLAKE2B 5261dd12729f18d77889ed553a45c9cffff3fc153c4c294d374f172c424247e6ef90c72f7f68896d9d62cdf209da7a01e94a8d1e83c9645fe613a1efebae3183 SHA512 2230124019b62ce38d3911408b1dbddbb07c94554b2402125bdd8de0474debe8f3bb9e9a63cee85afd53c48a43e5d706bb7263dfb2de8664075eaab36cb92c9c
+DIST vivaldi-snapshot-2.2.1369.6_p1-arm64.deb 50975912 BLAKE2B 60c66e90247bd8190429f49f84c38745ced70eb4f2cde23a5ff51636e3fcc2201a5d3848daf6dc6fd1e702f531a569d8055828e80c433feb92a906bde9ca484e SHA512 570b5255c7d6f36040a3192fa2673bd14503ddbb34db9c5e5df0a1a28dad3bb9397a94acb05fcb9d5c4adf635fb07f2bfa7964df8cef4dfe0449ff739df354a2
+DIST vivaldi-snapshot-2.2.1369.6_p1-armhf.deb 51830560 BLAKE2B 6125419badcf777bd9cc33ce1c9c58700d3e5c987c029f9ae4ccf43d30563e481fa949328617f6c467b4a250f69f520b15d5debd8f68a6f6bd951289b1a8db5a SHA512 faebd9dba6c2dda8367ca1b1875312a453171485836b6317c288720414d3c1198b2a1e42274b1d69072795c83dbafcb1d35aebaf441bd095be3cbfd56f236dc9
+DIST vivaldi-snapshot-2.2.1369.6_p1-i386.deb 58078738 BLAKE2B 8c6f9ab0a0e28d1262e951de6f1c67bde69e96cf932dd41372febea6d123ef15edfc3d00812c9d1b2a07ebd653fff44e3336852f379b4e416fc40f2c650501af SHA512 754b768b9b460899f096d65e3c12dbf1c35f7d268fccea924e9d34aa9102c5de688b82fe3fc5402b2e4eab62c173739631b8b51393c13cb050126b1f354b4648
EBUILD vivaldi-snapshot-2.2.1350.4_p1.ebuild 2621 BLAKE2B e882d2ad4124d27fd3b7f5ebb7428bbf73d7b9576c303c890e03a510d9218585c006838022eba6164651615aaedd6d9984240fb06f42097e69053c74fbdd5f37 SHA512 8ba29ea3575a298ece9825ae5eaeedadfe4bf7bc47c9495191320293869a524b8bf656a7ca718cfb4eec8bd1735273cb0ed830891728a9f786620401e1fc4721
+EBUILD vivaldi-snapshot-2.2.1369.6_p1.ebuild 2621 BLAKE2B e882d2ad4124d27fd3b7f5ebb7428bbf73d7b9576c303c890e03a510d9218585c006838022eba6164651615aaedd6d9984240fb06f42097e69053c74fbdd5f37 SHA512 8ba29ea3575a298ece9825ae5eaeedadfe4bf7bc47c9495191320293869a524b8bf656a7ca718cfb4eec8bd1735273cb0ed830891728a9f786620401e1fc4721
MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1369.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1369.6_p1.ebuild
new file mode 100644
index 000000000000..91b5d4fe6abf
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1369.6_p1.ebuild
@@ -0,0 +1,118 @@
+# 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_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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+: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/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${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/${PN} \
+ ${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}/vivaldi-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
+}