summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-06-05 16:38:56 +0200
committerJeroen Roovers <jer@gentoo.org>2019-06-05 16:40:03 +0200
commit1c5ec543471cd5c7e39730d35cae162f32aba726 (patch)
tree46516f8b0d56d6487b539f082a6d40bc52932be3 /www-client
parentmedia-sound/gogglesmm: version bump (diff)
downloadgentoo-1c5ec543471cd5c7e39730d35cae162f32aba726.tar.gz
gentoo-1c5ec543471cd5c7e39730d35cae162f32aba726.tar.bz2
gentoo-1c5ec543471cd5c7e39730d35cae162f32aba726.zip
www-client/vivaldi-snapshot: Version 2.6.1566.6_p1
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a17526465fd1..b5c36a02e7a9 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-snapshot-2.6.1560.4_p1-amd64.deb 62534328 BLAKE2B 6e83acb739560e677
DIST vivaldi-snapshot-2.6.1560.4_p1-arm64.deb 56424484 BLAKE2B df08f39c5e374debbc2d08f9d375e2f422e3f35e1e6e9146a54fb502e980d505d54d6d1704b9e7b3262c5b283b41d5b1f0119092d19a6578109ce680ef884b79 SHA512 4ff497a5c0616b6513752438434f9698d081927b269e3aa260c19aeeb480915917aa69f846065fd62d7deec99d3816c35a3d608ca9bb7ac451649fcaa5b74eba
DIST vivaldi-snapshot-2.6.1560.4_p1-armhf.deb 55575064 BLAKE2B c8a69e3f9153ce414ac0dae778f60df9a121fb1f23a1af1982dd1a25728e6f7acd0984aa50d5bc02a55f6fb312e8d35f342c4b23797eaf3aad76a47fb17a2d18 SHA512 2898c44255e0619bb1c1e74fff2a4c82a936c656c342c25279b08b609f758f460be98401b4e63a05f6d2bd8646948c27e713ce4a2b75f4b8018511f23f23039d
DIST vivaldi-snapshot-2.6.1560.4_p1-i386.deb 60990056 BLAKE2B a2ae9a4c97295aea74e6417f0cae0c00d8c12dba7e08e6bec39de9542c921ccfae8a33491e27e8de3c67c26ae7da6b0eb201813a2d68eacc41821f9d6e8910c4 SHA512 3196998e329ab24b0e631d2b3b63270dd229e013ce3b2d7baa985149514af09d0cadfe9fd6c41cb770afc816ba61b3b0446549f8c9c9c4ee4c31e38c6dde50d7
+DIST vivaldi-snapshot-2.6.1566.6_p1-amd64.deb 62531012 BLAKE2B 9bde451dbdf658e5e6eeea3d25241bc2a254e9e8e5f5d823d2052fd26a7985dddf963744d775d296b88a3ec85003b58d9ae302ba70a5a701804611a43274ec2a SHA512 5dfeefb6af502d5cb51a8981d389a9b55c94d3843386bddaa56348182b696f9225ad404ded03855993f4502fb5aa0086ffb4ee941c425164a49c2493f6595ac4
+DIST vivaldi-snapshot-2.6.1566.6_p1-arm64.deb 56455496 BLAKE2B e5f5f369422b26fb42fd069df30c87e7f8e64595acd8a8874ea3ac740bf6ed189c58233897cd7d4ab7005ef2f685b7334356fc3fbd90d9b914b677c8792245d7 SHA512 6ae1f1d4dacbcc278c96038ae201972fc94ad627a4a88ce9b9ba11e94bd2f39d47c497d09dc99b7761ba83c82fe5bd7c439950e96d98f8bc02fc496334d6dcf1
+DIST vivaldi-snapshot-2.6.1566.6_p1-armhf.deb 55602708 BLAKE2B fc532fe7eb6062d371b650a91be6da5105ca5a28baf8f8ef7abb3034e965d0fc3783dbef3e77eee4cfd355318659398a03f3d9f632863250a4c59cb772a468e4 SHA512 2f51ea7e16590b8bfb6a8073d6a7272c01b55a27d2584bd83e1d51637233c55fb0953020cd301351567ccb059e99b426841b69a6cd0420c18d5d362a8462a777
+DIST vivaldi-snapshot-2.6.1566.6_p1-i386.deb 60996704 BLAKE2B 0d6d53d5bdb93919ba367182548159964059aedd95bded24c0059e268af89799febc59d718678096182f9250851e6d83f25b29fb8c8b1555055bf2c3869f3766 SHA512 5105eeef8f743644075565150df2f3f404cee6dd9834460aa9bf2bbbb038ea5fc26476f7b173b5e25c65a71937d968f38244e81a9cdeda3ce07f48bef76d7881
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild
new file mode 100644
index 000000000000..76ff637ebaa0
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+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 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
+
+ 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
+}