summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-03-21 16:21:29 +0100
committerJeroen Roovers <jer@gentoo.org>2019-03-21 16:22:19 +0100
commit45062974fe5df4920807562e781915b4513bfd68 (patch)
treeb263ee4b3d0a6dc46295a4b11cb9580fc3a20fc1
parentwww-client/opera: Version 58.0.3135.117 (diff)
downloadgentoo-45062974fe5df4920807562e781915b4513bfd68.tar.gz
gentoo-45062974fe5df4920807562e781915b4513bfd68.tar.bz2
gentoo-45062974fe5df4920807562e781915b4513bfd68.zip
www-client/vivaldi-snapshot: Version 2.4.1488.25_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.25_p1.ebuild119
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 161ef4c2775..f850adbf6e7 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,10 @@ DIST vivaldi-snapshot-2.4.1483.4_p1-amd64.deb 60423372 BLAKE2B a33ad8d3ff51d9660
DIST vivaldi-snapshot-2.4.1483.4_p1-arm64.deb 54197168 BLAKE2B 55210ff5a93a3c3ad76732651eed625bcec547275146b473d87b460f71761825b6ee256fdf01e58569e8404cb5e6904755602bda26dd7fd46695e3a32270d873 SHA512 6b9343e31a0fde207d1fac4ae5fabe3139888721f499a415b3ad38fd12887ec72f2d9ee716d85f94eccde5294f1f865d5682468d24f15e7bf4ec2610dbe31615
DIST vivaldi-snapshot-2.4.1483.4_p1-armhf.deb 53269452 BLAKE2B 4986084ab0900b9836bbe55f5a57baf737434a49450a81285dd7b532497b43c002f1532a935ef59a0b349d34718b785c4ca084aaa5b678b9d51d35dac83b0da5 SHA512 fc1acf7dfb0bb7e59ace96f1d788e0e426c7370ffc901798dc583f9d38410c2a311a6346bc08979c160c006537ab5a4aba79ef78ec8dd4db462e6216e4a34190
DIST vivaldi-snapshot-2.4.1483.4_p1-i386.deb 58491544 BLAKE2B 8859fa716217f3c387d2c75cc58199e929adda6e3a09e77a93ba633513b8970b185e0984b7149bf449ec2cec087263d9bf2e6f06c89309bf614275c8431c6701 SHA512 80f59d9a6d7578e6b24e1f2b4ed851d66a7c217b3bf1620684159034f28e8d073dc5c24fdacfe30b8a548fa4465a0e93dac1bcc65c05238ce36342a04fd32210
+DIST vivaldi-snapshot-2.4.1488.25_p1-amd64.deb 60475324 BLAKE2B b138b107d19968fe3010cd63fab7afb5b4045645df8a93664cb480af5e453e2ff7d057d232fd1c6ef224dd990be064e362164070c247be5de834d5ec700c3f40 SHA512 2d3d5af810be84ccfc1727851748441091b9cac1576205ff21122b74acb5d45ee04e9e3e5d547965a46ddc9811fc797285be9fc2c7160bfcf88a4cfc53fcc793
+DIST vivaldi-snapshot-2.4.1488.25_p1-arm64.deb 54242268 BLAKE2B ff5242db54992f97a60d4c27821bc797e9075f4c3330e1cca038aabdc0b165d1fdcc887036c5596b826abb037d2e0b42a1104ebfefd3fc07965bc0c7cf4b849e SHA512 2ef48a9e50b7bde04179fcf84b670516fd8af1123267f57146ad572bcc3f70713cdf69c70be1b2975a40ddba431707fa56748914285018af67dcce132cd1a86a
+DIST vivaldi-snapshot-2.4.1488.25_p1-armhf.deb 53318456 BLAKE2B 6505b3b92a8daa0531752abb47d24ed04928eb3898b0d79da753b31213015cf6d0859e984a9869e1191c71b93f74b55dbc09daaab4db2795255e6a914550b2b5 SHA512 290844dbc3c08e05d24e98eb956823930884bc8f17f729eb1d3d30d605044d9ca0676fd881f0be45b9e26503dd6ba0efc0786fb2a394cac83ff850b6372981fb
+DIST vivaldi-snapshot-2.4.1488.25_p1-i386.deb 58535212 BLAKE2B 033a2d77a26a124efb219886e1afa48e62fba69610efd9edb0a5c137149c5bc72388bb8c57c1b53beae717c14d150c87feb403a370ad5ad138bf151c0079dd88 SHA512 e47a3acc78fb1f9b41d177b3e600420df53bd9e4891782289521d6e511f0838b5d675ab77d58a7b78999c0d65bd232e4ed1e23d3437e9902c75deb2226b8cdf6
DIST vivaldi-snapshot-2.4.1488.4_p1-amd64.deb 60446284 BLAKE2B 3018d0dde1d283ce07e1ce0148e65917d92a4e9c86f0ea10ff6344bffa7120bb22fed136b9c47e155e287336c787a52e8d62bef560073f0ec484d080f16b281f SHA512 2fc44b8f3de2205b13cee31fa162bd50ccb6baad675d020738364c0860475515cc74e3e4afb84dee69e164facf37039099fd8b559afaa6749705a7490ffa260a
DIST vivaldi-snapshot-2.4.1488.4_p1-arm64.deb 54229320 BLAKE2B d12049ad241d070d613453e93f97c0eda31cce103c114276ff8cb6cc967695cc9b0605f27d9dd7b2d5c217a662e8205a0217dc464d5eb65df67b201bc48afcb0 SHA512 483be1a1f8850420ed484b0b9ea044f05863cb9aa55ba2dd6b6cc0b61387cadc72c0b9e849183ec086c55c5d698c989153f9df1369b278bdb3a97a3cf89a8a45
DIST vivaldi-snapshot-2.4.1488.4_p1-armhf.deb 53316756 BLAKE2B be45bdb212a504efd32208df4f830dd35119c013da0e16c64275999748239d20f226ebb3b8b084cf8f9b12699cba37c96e8828aa02208a45bff0cef3f2a81abd SHA512 46a595659a807c5891038f1812def98e22989c6ce217a11adb258a6c53749e5ca6549e2a8e8aabacea3c0a71658516bf9786e5381633ab0fc698d42dba33afd5
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.25_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.25_p1.ebuild
new file mode 100644
index 00000000000..91bde2d5746
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.25_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+ am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml
+ mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq 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+:3
+ 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
+}