summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-09-06 17:48:56 +0200
committerJeroen Roovers <jer@gentoo.org>2019-09-06 17:50:49 +0200
commitb823ca4c9e4913f0e3c44d040f0846be82fbfda4 (patch)
tree275b35775a232e48c70bfc2fe00c88a7bc8d1c6b /www-client
parentdev-python/awscli: bump to v1.16.233 (diff)
downloadgentoo-b823ca4c9e4913f0e3c44d040f0846be82fbfda4.tar.gz
gentoo-b823ca4c9e4913f0e3c44d040f0846be82fbfda4.tar.bz2
gentoo-b823ca4c9e4913f0e3c44d040f0846be82fbfda4.zip
www-client/vivaldi-snapshot: Version 2.8.1657.8_p1
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest2
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1657.8_p1.ebuild114
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index f653870a9984..ec16f2156e14 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-snapshot-2.8.1649.4_p1-i386.deb 62799772 BLAKE2B 57a2d19d4de637ead7
DIST vivaldi-snapshot-2.8.1650.3_p1-amd64.deb 64441352 BLAKE2B bd58e560f4119cd9b25795ee2e32d890795cc816cd8d7865dbed3039bebabe88dcc521b75ebe9b2182eda75efdf0619a21d4854fb6d5d3bfcc5312481f9abc43 SHA512 eaebd3a2d718490d73f5b02c37c4bb0f04c68923268325df8f1cc79474ffacd07f48dbe5789a3c3ace03a0a19e2395c147996cb5c199dc4d13af8d190b655fc8
DIST vivaldi-snapshot-2.8.1650.3_p1-arm64.deb 57594708 BLAKE2B e60c2dedb9d8cde365611ee4ea6b69d6c31ab430901428ab6e6d28421b6444fdd93547405f297b32ac42d00e49c9ff405b36d2c291f748d1be5b84091ca7f5e0 SHA512 70a110bd62ef0222aa532945815c8a73b9c6e7dd213dab07ee4bff9aa3c0989ea78608fa84645d4df9c8c510bd45e83372bd896bfbfd14bc232fd05c4a9c4212
DIST vivaldi-snapshot-2.8.1650.3_p1-i386.deb 62803076 BLAKE2B 31195dfcf5727e484c3b7b172c8ca3acefaf81a595c81b179cff1937112b0d92a527c197b326e14d81a530bfd5cf6de2bda0ba112cf64e669028670a993a906e SHA512 ea08c75a538250881091291e98bae348dbe4e0cf5ae2a494c63c5c21dc84fd5b9b4389f72566bb666d4661dcc63f8585afc454094c17c282a66c3aca4b83daee
+DIST vivaldi-snapshot-2.8.1657.8_p1-amd64.deb 64435440 BLAKE2B b9f4c90dd3a48bd58a2d5d16bac4f7f8f1ac19bedd13bebbfed530df6e41550d17ffbb335109f8565b58b652033148b6524e17eaf1977f72ddb71a5426ebbc9f SHA512 e4950b3afd5b75e43dc1251134c677e4e25958ad1c6836906e3c13e2091c7a3d1b657a27303f98127710932c493ea8986542215fca3c7295dadb69923e3a7cf5
+DIST vivaldi-snapshot-2.8.1657.8_p1-i386.deb 62724372 BLAKE2B afec699ed1b59d5ba545d6facc6993719ec906f67068b2b8fac6c06f993d3b7b72eeac2479b66c8a8348fe1c9e67ec7b0a9a67b218871fa424e3db43a2019876 SHA512 ffec22b9df7947e6063d8c25aa0ea8182aafffe025193f58e819f2cbb7a008ec2534e1834a0753e8ed2928af6a5fa04864793b189031d528f2939da777c4fbf7
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1657.8_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1657.8_p1.ebuild
new file mode 100644
index 000000000000..d13b8e785846
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1657.8_p1.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+ af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy gd 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 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 )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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
+
+ eapply_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}