summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-06-19 16:28:48 +0200
committerJeroen Roovers <jer@gentoo.org>2018-06-19 16:32:40 +0200
commit26813dc043783608882d0c6d88b876d6c2b5a689 (patch)
tree35822a375ba549b98dfbf52a74f4b60efcfc6455 /www-client
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-26813dc043783608882d0c6d88b876d6c2b5a689.tar.gz
gentoo-26813dc043783608882d0c6d88b876d6c2b5a689.tar.bz2
gentoo-26813dc043783608882d0c6d88b876d6c2b5a689.zip
www-client/vivaldi-snapshot: Version 1.16.1211.3_p1.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1211.3_p1.ebuild117
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 6f8018f2ed92..7eb9cb95f643 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1195.3_p1-i386.deb 53584334 BLAKE2B 4214406a36e5b34cc
DIST vivaldi-snapshot-1.16.1206.3_p1-amd64.deb 54026030 BLAKE2B 8fe73fb90f43d1835afef932be441c915c8d8acd930b69abe3b2266331b788d34f7cb41f5d692f2f5161ae9c993ef2bb4985eff2fbd8de17cbe6f84962d76e33 SHA512 f9c220abc42ac73eb0e7042054cc0c70dff75e072abb0793e421c71c0655114faaa047619529e64186e75ecc3d5551dc4f1282dca1b0801ea8d01b1d3763e365
DIST vivaldi-snapshot-1.16.1206.3_p1-armhf.deb 47758616 BLAKE2B e10a813393e78ed6645b1dda41ec742f275c881769ecc2576364c4c1f0d693959a39c2b924d9a1706a0f431e06ff7cb8f3717685a16b2533f30af739132a474d SHA512 18a1260854e3b8960c53f26239be67c60a87081241456167544c7ca39630cf840ee102093bd69156dce85983821048de71a89131cb4cf4c1b2b083e68d74ffdf
DIST vivaldi-snapshot-1.16.1206.3_p1-i386.deb 53606248 BLAKE2B 89768824c38ec599d6ba72c918b67784c80c262229121b05ebf0cf22094673a96fb418b6ea825bd6bddd3df555c0911a43baddd4261f95eb7ea842f71192e11e SHA512 4facab8b7d56e6c093286e19b75b1afea9ff09cb93b31c6920641dd7fa5b7cd418295eadb01b9c90ea57ba8654b7605dba1002a8fbb0d8a8afb553e488753a58
+DIST vivaldi-snapshot-1.16.1211.3_p1-amd64.deb 54027082 BLAKE2B 34451b43a326d267077db033447d623ec487f5dfbb9302aa6eb5352f20daeffab9a56476d663dfa86a392016287b0be1f3983d09adcd6ccf65b6652208a81494 SHA512 78d4d927b591322b2a1740a94915d21ee03f84995f9f7812537fa1eb1ed0d06a1e2ca8e4e0e4cab81fb59d84db48d0d23fb51d632d8d1f2f4d0a093887daaa53
+DIST vivaldi-snapshot-1.16.1211.3_p1-armhf.deb 47762786 BLAKE2B a97a1d06e3ec6d288e9eb5635608282b60a4941f6bf81de66a103b86694b6b8574a951d69c9e9e5842fda29749194bf8eb7d34c7467dfd4e93831151d29e0184 SHA512 ceb059df54a98d39320da439af5a21f4172ca8f473c81decca53e9359afcbe9360d50e581fdd51a560e7a3aa4ef9654d9fac1d18cc979deed52ca122b2f8c1fa
+DIST vivaldi-snapshot-1.16.1211.3_p1-i386.deb 53589270 BLAKE2B 764ad967ba10c5595a63597d65a85efe6dd9aaaf1422be59923dd85b9c61c58be0731241ea138bf8abb25418171f4a095a6b6277f9d28eaa2b9557aa0e0e1e20 SHA512 82d78ef30bd555d1da9334439b0764fd0717478bf07aa3db4435da7fdd7b04755aa19d5ce039f7abf4133bd9c6f63595de130f058fca28ce8fc170cffce06b90
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1211.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1211.3_p1.ebuild
new file mode 100644
index 000000000000..0b21131251e0
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.16.1211.3_p1.ebuild
@@ -0,0 +1,117 @@
+# 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 )
+ 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 ~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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch
+
+ 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
+}