summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-09-18 15:05:34 +0200
committerJeroen Roovers <jer@gentoo.org>2018-09-18 15:21:56 +0200
commit9862be031c3e325d418b1a8a463ee0ee4a17c231 (patch)
treef748fe40b7ec111f31b7c27b7079a7e1e4951561
parentdev-db/mysql-connector-c: Adjust openssl 1.1 patch to correct parameters (diff)
downloadgentoo-9862be031c3e325d418b1a8a463ee0ee4a17c231.tar.gz
gentoo-9862be031c3e325d418b1a8a463ee0ee4a17c231.tar.bz2
gentoo-9862be031c3e325d418b1a8a463ee0ee4a17c231.zip
www-client/vivaldi-snapshot: Version 2.0.1307.3_p2.
Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1307.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 a982fa9ed792..2540c3f20318 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-snapshot-2.0.1306.3_p2-amd64.deb 58852118 BLAKE2B fe7c2b2536ff817f1
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
+DIST vivaldi-snapshot-2.0.1307.3_p2-amd64.deb 58867132 BLAKE2B 4f020f7dd17c8890bdc2cb55be098a7176c7351e6eb745c579570d194f27012857c09de31311d8ecc92b2a1e675d9fc5c7680c78c7aa59f17e49f9fd38e7104a SHA512 4d74bccfe398aa5181f1d00a0bdf606d45cc2a9df3b224ee44b1c838e321ad4555ca8e7f52006faf4711a25ec99da5b18a9a68bb138eefde18a1f4b43484ac0b
+DIST vivaldi-snapshot-2.0.1307.3_p2-arm64.deb 51148442 BLAKE2B 7de14436d4fe9ad50efe62c4848160de5a73b69ddb63639103b7ef9e3b416bcfb2f0f0f8577c4ef04565df531e3332ed24649a5fd39a551a674b8e83cc613c06 SHA512 235140f7cc764e1aca96129a354de9ff2252e9bf7a1c0e7fa9473d6d8645de079598567c3f53fdde14cab9bb7625cd8cebe43a843e58deb2fef50afec9ba67d4
+DIST vivaldi-snapshot-2.0.1307.3_p2-armhf.deb 51986440 BLAKE2B 1ea51b9a450bcf6a666d728b95e9e737e370eb3297bce5a93e324ac4c7417dc886a1e83b792fad6c02d6cf7aab76fd53b54ba5d60d1b8eaa43ded807218a4270 SHA512 4f7d0692a04909aa425f50c35710c9636706b222790e7362601c4bddf16e38a1bf027d9a79c5b0c5ef57bcb5495edb0c6e28d1e7b3ba94f4de02cd5b26acbda9
+DIST vivaldi-snapshot-2.0.1307.3_p2-i386.deb 58076314 BLAKE2B a60070ea7b9301c38e71b09a7cd5148a767b5fd8aa010e57fb82fa8cc85606a01e6046f733be639bcb3032a386ef31a1181cd356b8f06f241e6c5edb120712d8 SHA512 0e25195fd9be97011f14c8fbc80cb8b09da8c1e320c04cae9c63845761dc716736fe4f67e7fe85501e8f9616a14307dfd607c6abc9bc1548f3ec24b389454e0f
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1307.3_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1307.3_p2.ebuild
new file mode 100644
index 000000000000..20db390fedd8
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1307.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
+}