summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-05-07 10:46:51 +0200
committerJeroen Roovers <jer@gentoo.org>2020-05-07 10:47:07 +0200
commitebf266250d50d8a36107c0c692b6eaa7d009c475 (patch)
tree0e2774ae73afe8b69d3ba9d08942bdc91489f092 /www-client
parentprofiles/riscv: remove py37 from profile (diff)
downloadgentoo-ebf266250d50d8a36107c0c692b6eaa7d009c475.tar.gz
gentoo-ebf266250d50d8a36107c0c692b6eaa7d009c475.tar.bz2
gentoo-ebf266250d50d8a36107c0c692b6eaa7d009c475.zip
www-client/vivaldi: Version 3.0.1874.38_p1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.0.1874.38_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 2c72f1a147c2..58a1fdc2d413 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-3.0.1874.33_p1-amd64.deb 68858736 BLAKE2B 747abcedc4193d63a7d50958b
DIST vivaldi-3.0.1874.33_p1-arm64.deb 61919532 BLAKE2B 460241d09257af1777b09d53d0700ed1c9b23d1efbc6d78f51a3d511875a8b862f543212fc3bca89dd9066d4f4d68908c7f1de0693cc19fa4622bec393a0ae71 SHA512 37f6f7794ed43b7173071ce2296052d7efcca5cd903840e75a695df98de50a905c430871d01d3fee058b4648ca4b74f3ebb184c31258270f32ded380624070cc
DIST vivaldi-3.0.1874.33_p1-armhf.deb 61254936 BLAKE2B ff8e38b7b7d462442e994897fd2622ece472bb991bf7acdb372a7bda4fa959e437ab6cd8ad4ac0aca3419048d7f938b0f7d95ddb6e0942cb4a3403e1948b2fc7 SHA512 81e3e9decfa138a5db81f5aa4d69859ca3ab4af044ce2ca8a209aa1c73dc33ca06cb77837a859f55a0b3b22ec7a59b6c4918e7e2f0c95cf4f92ef1814e691845
DIST vivaldi-3.0.1874.33_p1-i386.deb 67585408 BLAKE2B cb19f7eb3d16ef32243f3b3878fadc9b95835e64f9a2c1f7fcf10084e3a32eeda46a7614d2c20b32ecc5baf8fbdaf5fe7f989b493f082510acce1f0c71602fbc SHA512 75c814be74b32ae017e3edc70307713f00277f5fc9872741ce7a21435485a2a0264a05077303944992d23c8077703cd81c83b8da0d4d1406e1d866ebac644831
+DIST vivaldi-3.0.1874.38_p1-amd64.deb 68854172 BLAKE2B 1230c9b843e4a1b4cded47e5fa701557cf067e412657feaf4964fb05e89f2851315188d69a07d20681aa23429a9991076fe347a0ef57d36bf79db18a8cd77add SHA512 1ba0216571a35d5f2610e4747db4e768c2e7af1a5df5fcdd4eb5528d1d2c5ccc94a8071d2bf3b2a19f17de99fb917fbbff14b7dcee4a381008add01eb077310d
+DIST vivaldi-3.0.1874.38_p1-arm64.deb 61918588 BLAKE2B dab796a161752f0a34a0179ed892abcf8590229315c8c1f99e38af53c62fda9a328c1ca0684d01d044274a52a7d9908912303f9ea770e65911990c27d05c8130 SHA512 3c61d1d58966a9eb1c7b68ab13838a5508a4342c8da83035f0445ba29fbdf0ffb7cddba8e2e27eb128000c2720eb318cc03aa7d07af0882e3df8858d19b2dc30
+DIST vivaldi-3.0.1874.38_p1-armhf.deb 61244520 BLAKE2B 71789e1f320b83a1e6f3c2474324f17c744ceecae50c2e4bfc674f4b679dfa9aa089d39532ce76aaf462e00ab5df78f237c637cb54da08279ab3702e936c3381 SHA512 79c4d99ee79fa31944c4a22e077c94f0c6b75a0c844b8b78734a5dd91f9c5a686f0eb546e2c83be010e552c7590f318ccfa67911e82dacfd05f573a9078c7b50
+DIST vivaldi-3.0.1874.38_p1-i386.deb 67580116 BLAKE2B 0cd5d811f23536f67e0644710b6199bfc956a833d8ede83fc2296030c84581532a066d1c1a47b20b700cd67584103861d363eee067ad119376f7844510acdf03 SHA512 60245ae214f0e5fa5a50a8c852e73ea54b60ba534b1dfcae1b03af2c95d3e5a6b287f11468575561e439689409140d048b616091e230e7c2e61379660b4c3488
diff --git a/www-client/vivaldi/vivaldi-3.0.1874.38_p1.ebuild b/www-client/vivaldi/vivaldi-3.0.1874.38_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.0.1874.38_p1.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 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_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ sed -i \
+ -e "s|${VIVALDI_BIN}|${PN}|g" \
+ usr/share/applications/${VIVALDI_PN}.desktop \
+ usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+ mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \
+ || 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() {
+ rm -r usr/share/appdata || die
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}