summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-17 15:08:14 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-17 15:08:14 +0200
commit2454f810476017fbfe224a7766f95ee0e06ede5a (patch)
tree719dd258e4f2cef68334606ddbcc2a5056e73e09 /www-client
parentwww-client/vivaldi-snapshot: Old. (diff)
downloadgentoo-2454f810476017fbfe224a7766f95ee0e06ede5a.tar.gz
gentoo-2454f810476017fbfe224a7766f95ee0e06ede5a.tar.bz2
gentoo-2454f810476017fbfe224a7766f95ee0e06ede5a.zip
www-client/vivaldi-snapshot: Version 2.0.1306.3_p2.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1306.3_p2.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 62803da66dbe..a982fa9ed792 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.0.1306.3_p1-amd64.deb 57477946 BLAKE2B 0a9e2f2e15c86cf8e
DIST vivaldi-snapshot-2.0.1306.3_p1-arm64.deb 49814650 BLAKE2B e3bdde022eef618ae490d920554eeaee1bfe824609337931bb7e994d02678a2852054c09c5174ea0b63c8c350afc2b2916484b7890baa39727e1299f5996aace SHA512 c347da12103cc686829424cd9b5d4a7f573d7ea213bbf7ce1b8c687610184fb675b766e13e631f7a2a024a511ab615d60f811420c5f11d08a8db7f0352505061
DIST vivaldi-snapshot-2.0.1306.3_p1-armhf.deb 50878726 BLAKE2B fc4c6b7874e9e7e0021e5f3d51982e435d3c2c96bfc54cae3ce9718489a3a4f927d0f6440d0fa3a4d6f363cc0d55909acaa81dc97f9059a286dc9d7419ae31f7 SHA512 7058fae722da501c614b5359654f5c0217d6aca48a33a1f6e39ead8cee49030d79dd8c22ee99ff1c10594dff8d7fe422be148169d9d5f8a59e04c65603bdcf24
DIST vivaldi-snapshot-2.0.1306.3_p1-i386.deb 56681770 BLAKE2B ccf259a37b7af300d8ba5b7e80f81d45415366bc37d989cb65c1f8ef296e41e5aaf7330e2c23af76cb2339137d32ee0b932eada1ee0c7e59faa8b325ec059995 SHA512 e02c052e3cf5cea9316a59d8d484c3bc23c73782f14ab5717e4532256fe0cc48e4fc13b8ed6ee284920aba1647e4de0f4191e4c20616496083c7709e3253ba99
+DIST vivaldi-snapshot-2.0.1306.3_p2-amd64.deb 58852118 BLAKE2B fe7c2b2536ff817f132de59250f337073e404c36736914610d6e4004ec8fada176fa58818f2de3772a04d9ca937445e4912413213bb9698d6abf9b2bf76e0483 SHA512 f68bfe1564184dc261e6261149e2d2eadda80a1c394457dec4c46900697706bbe38d7968ec7f2e1dbaeaf697e8d3f352c10124ce077186208d999edde6b59679
+DIST vivaldi-snapshot-2.0.1306.3_p2-arm64.deb 51150050 BLAKE2B 2802c3cdb31535a8ccef33a5082f725399050aaad63677424f17db38be31c39868c54767437bca0aeda027535d45cb34dc416bc005bbb72b90d73540fa8d567d SHA512 a75552fb12e2386b06da0df9a0fa26c60d4e8716a135834a53662c86aa15911b0f5ae662a878da19a44202f12ddd9cc1f5960786b9ecbb194f9591eb2b21f1ee
+DIST vivaldi-snapshot-2.0.1306.3_p2-armhf.deb 51998494 BLAKE2B 7908789351a1191036c6528319d0332931ea91ea11571f87d0b9d6096c8c3880d92e2319b5ae2210972030e4f58c870b7616d486e1698276364598363b8e7013 SHA512 fb648822039a04117f80f3a9c9658aa60304d596370b41c43a523d6b32e6ee32531430f1f981c245ee97170cf62f2800c5120ea62c7512eaab07b3b57532b0ff
+DIST vivaldi-snapshot-2.0.1306.3_p2-i386.deb 58084772 BLAKE2B 4a2e334e5a8b8d324380e0f589c340ac71d6b8406fcb40aace7939c2e2db492098240879cf4545707ca7a685a687fac5d000bd39aa87f741120830ec0a395ff6 SHA512 2cd7fc20c64359e91ef46f8c5f7c936e36d9f3cfa6c6379a60ce4cdb519fa33d6b4d4dad0a18631202f3553fa8457030403a2463ed036fb9e3d6427d7ff1a3ed
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1306.3_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1306.3_p2.ebuild
new file mode 100644
index 000000000000..20db390fedd8
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1306.3_p2.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2018 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 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
+
+ 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
+}