www-client/vivaldi-snapshot: Version 2.12.1862.3_p1
authorJeroen Roovers <jer@gentoo.org>
Wed, 25 Mar 2020 18:11:09 +0000 (19:11 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 25 Mar 2020 18:12:37 +0000 (19:12 +0100)
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1862.3_p1.ebuild [new file with mode: 0644]

index ff89f9358ad560dce7c10c4d5e4a5510f4b025c9..1dddc6499ff65c4924fbfdf839518d744b62a1d0 100644 (file)
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.12.1856.3_p1-amd64.deb 69604020 BLAKE2B 526a568fdb187b69
 DIST vivaldi-snapshot-2.12.1856.3_p1-arm64.deb 62753784 BLAKE2B 96e162a5482f1eabeb81fca54dd73f8d2c435fe334d1831ae7a76ead769abe55509690a92de8964f2626011b2c8d09647950a9e1c0e35489ca3f1948d103b80f SHA512 9389d5e0626fe16d2e4de4e128d89a02d585199a118b69e47fec759b8192efb2d951bf0fc3ac72871093e8ce2a4b972d054f1b81a1df8117307b5d7d02000a18
 DIST vivaldi-snapshot-2.12.1856.3_p1-armhf.deb 62065792 BLAKE2B 0fc2f985603ed0f857599e861121337a5275a9a4d1c8b3de89919fd52ed0e4afdc75a55893076813857a88ce91af1247be4e5976e3a77138acefd7aafdaf8525 SHA512 2db2cc9532b638397afc5715a9fde540f5301cc7aa60413854f5b1d03ddf87f4b0b52c856bcbebfb83a766de47708c0638fbf4d4470fbf929f0e0f5aa4e90e72
 DIST vivaldi-snapshot-2.12.1856.3_p1-i386.deb 68366860 BLAKE2B 6483254e89aa99dc5c075ef99582368111ee548ccc50fba1fd6293c114c8aba4762ca938e0c94e62130bf1735861e0d8962b14206195dee47b19a9904f1ad2a0 SHA512 e196e1294ce124d48754334253458b99fffa8ca394fa6c2ad496f03023b023d1a9579bc960d7aa557fe61c1a83308b20f948f81b8b04fa485f8f903cc7bd6903
+DIST vivaldi-snapshot-2.12.1862.3_p1-amd64.deb 69671624 BLAKE2B c7acdc7ddf7e4a02eff7bacc799225fea6d5c33c00c12ce6aea7f1ac0ee1f59158f944ffe11283cc6b45deaf075a6cf7515e87be1e8c4884b4cbb41dc3b078f2 SHA512 974e55965812b98cdb9b6102b953b46fc3ef31383c9bf8eddb68319967f9b737e41290b2ad77dd60caca9e89a57428acb79dafe2bb1f63bc3caa0d833a1948d4
+DIST vivaldi-snapshot-2.12.1862.3_p1-arm64.deb 62730520 BLAKE2B 1f2c989bb82a9ac05fb7cc842c70116daf8e4a1e925d09e97da6b0f9dd04bbc7d1971fcb25ea3021d221d06e6ebd9c29344403110ea7da916c0789d513a26d6e SHA512 3aef22953993de31bf4521b060494b72774eec1d8e5b41d4d672c059e39e6600c71077474edef4eb1870ed362f53808959655533fd0366fcd540057ec9debd42
+DIST vivaldi-snapshot-2.12.1862.3_p1-armhf.deb 62056792 BLAKE2B 085758fbcbf873d68d19e406d2eb986bb29799aee50d4b8c5666c08b7dd21a93cd95e301ad99d879adb3e3bb3ae9df9e65f0edafb6f9342474c81c7b0280e754 SHA512 f1fb0a0a36ea1888caefe04898032582c5200afa8583a5dc14fdf6c56b6cc40d65f1196a70bf6cd324175169b742aa052b27b0150db86b11f85e29d5a5296d07
+DIST vivaldi-snapshot-2.12.1862.3_p1-i386.deb 68380944 BLAKE2B f13bc111e32a8c300b002c8c8f6b76950bd61d4cf94f708b1097a720e425ee15bd22ac4d2d0dab0a939c3a7d0779d941ad4fc4a6fc6530ea170eba27d542e38b SHA512 a844fc57f59b2e1c81ed373192c7f346a4b4ba620db4098660d41808aa5d08dede14cdc1919b6372476bf926c5aae01a17705131000736914d43a5ca94df14de
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1862.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1862.3_p1.ebuild
new file mode 100644 (file)
index 0000000..db3613b
--- /dev/null
@@ -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
+}