summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-14 12:18:25 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-14 12:19:01 +0200
commitc6bc81019923494d428bbbcce8e527c9f81c328d (patch)
treed70e98dac9f69bb0f50b4ae39d3179d0d5f36291 /www-client/vivaldi-snapshot
parentapp-text/tree: arm64 stable (bug #717332) (diff)
downloadgentoo-c6bc81019923494d428bbbcce8e527c9f81c328d.tar.gz
gentoo-c6bc81019923494d428bbbcce8e527c9f81c328d.tar.bz2
gentoo-c6bc81019923494d428bbbcce8e527c9f81c328d.zip
www-client/vivaldi-snapshot: Version 2.12.1874.30_p1
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1874.30_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 14c7fcc8fad6..be254c9609ee 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.12.1873.3_p1-amd64.deb 68632428 BLAKE2B bb71a657e58c31aa
DIST vivaldi-snapshot-2.12.1873.3_p1-arm64.deb 61674800 BLAKE2B aa7449d16c1e67312b5ec93ea76f802610e03e837d0261ed90c48526d095ff2eef4860a94fc013f8d90a3e139edcb2ffdf7ce75e574779342f297489bf20bc24 SHA512 1d84f8d6b0619a70afe33b216f5ad84320e7be77a056c6fdf0bcead4a1af53aeb334c817723ac93d45fc88509a3e29e9cda4a57cd22eabf83e6462cf269cad3f
DIST vivaldi-snapshot-2.12.1873.3_p1-armhf.deb 61024084 BLAKE2B 3ae1157bd77f15777d24e51c47d03dc4e74094cdc8e88e48aef29d4e87d960afb93e17e2613b9d408e05c9b0f6e26e96660d083ee3786b6c7c6f959e9b5a12f0 SHA512 d6ae883242748e643ab47268e9a3c0dd364d4e4f31d223d8a1adfde1b5376162ee6b2025103a97297ce5506451a6455cd284fd67e3a8aacf5aad22d89ff72b2b
DIST vivaldi-snapshot-2.12.1873.3_p1-i386.deb 67327632 BLAKE2B 110bf61a257571e120ab1b4f043bd8edc6015111ff1be535153633eae2caeb96b71b3e7f072665373a5952f814fe5f6a8da8eacb98ccfe3e0e36a41c18e74b30 SHA512 b56fff8e6a98fc039be41d97eec80e7e710c9f7c972714e55d468c4a1f4e50c2129689d1125d6a818dd0afeb36b55b9ba3b2e9dfb86ba3f6f8b115f48ee6c2c5
+DIST vivaldi-snapshot-2.12.1874.30_p1-amd64.deb 68655580 BLAKE2B 4462af0c18065bd8e5fd526e75e2baa3eecfa80ddbbce7510ab8bfa824091ad3d3b7a014a7836c5d97468b6bb40bee8c4d0e3250d28966d32a131ec6d317afc1 SHA512 39feee51a4c4ea8ed7f1c511d91daa38ae68a89780749639fcca59bf52728971956e7554e4b9b54b11aa603f98a9602ada42db9ffc65d000290098b7806a0359
+DIST vivaldi-snapshot-2.12.1874.30_p1-arm64.deb 61702056 BLAKE2B 192e4a145301a3ea0474c17c4a65c1a5a2d8a6faa46c6111cfcf9cf3c5244f32f35261536647aa67d983f7aaff26c737e4382ac1308f91f96c4cb4c6db489bd6 SHA512 7fc3fbfbdef408dbca3f5dd9eb8c3781106b12bf17845682b3990b6e2f2ec64628cc74ba7acb67c888bf9f6abc9a87e0b8d26f08c9eec3a3b2cbe0799857ec72
+DIST vivaldi-snapshot-2.12.1874.30_p1-armhf.deb 61035796 BLAKE2B 75864ccf5be068d4fd0a6575c689e3fef9c56cbfcaa1e57fb5623e950fdcb984919222fc59b52030fba7e07fe8f15bcfabe6d928fc2a0a37dee0392167484aa3 SHA512 7af887eccc75b987bb37a00a71968ccb0c8ed3e9d820a3183e874db135eda78f1ac01bdffeab1c3e72e5ffb8ec363eb4e3bde059d4ac6bd8e9f2fbc5f385b84c
+DIST vivaldi-snapshot-2.12.1874.30_p1-i386.deb 67353592 BLAKE2B c738ea2af79c5c31c91e1f2291b560edfe2102a550eacc6691ae73c580c2af04fc2e43eb91545372137fa9341914a3eb71c1d331896b574377ddc9f5da7f9dc9 SHA512 df276a0b3c46f856c81d64ef10855ffa9736edad5bd5d14fa06903b72adaf68250aff92cb9914dde7bb1885f08d2ffe2a43d44f837529b0750bb54d48e89c657
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1874.30_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1874.30_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1874.30_p1.ebuild
@@ -0,0 +1,116 @@
+# 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_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} \
+ || 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}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}