www-client/vivaldi-snapshot: Version 2.6.1566.35_p1
authorJeroen Roovers <jer@gentoo.org>
Mon, 17 Jun 2019 20:28:12 +0000 (22:28 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 17 Jun 2019 20:30:34 +0000 (22:30 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.35_p1.ebuild [new file with mode: 0644]

index 192d889bab0ec11c0d8ff6f2500e106e06682402..bbf48760b3d1238bb7fb69418027dc90649c4343 100644 (file)
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.6.1566.31_p1-amd64.deb 62554464 BLAKE2B 03ff603a383b9ca9
 DIST vivaldi-snapshot-2.6.1566.31_p1-arm64.deb 56442912 BLAKE2B 75519ba36623c17983e83e595cc78174e4f75a00cf46827f924595fd4d5d2ffa7f5369568e7918c015b99ca4f8fda7fc7973fec5865ad68053eaced4fd718a80 SHA512 5e14c1f18551bfecf89f7b011208b866629519278116b55cc7800f8006dd767f3e154e04175344da9deeed1cc0bed302be5b02fe478d3407d2100dc97e3121e9
 DIST vivaldi-snapshot-2.6.1566.31_p1-armhf.deb 55607420 BLAKE2B fe9b77be12692a21a4a13ada8eebb1d702e74a42a674b5d8dbab5e223bdff7ed7a63949c1c16128e5e5f97c0a39f3d42919ebf736619dd6d4e6b9d0b8f0b971f SHA512 90ad2600f49047c83c0c82e4eab493bd1930685e253bd15a6876aff0e8a3fb811d44ee3d360ea0dd67f8e08416ff1a18bb66f9f15624ac97603a0fe962b32f71
 DIST vivaldi-snapshot-2.6.1566.31_p1-i386.deb 61007376 BLAKE2B a3821f9e1c572d106ef47f82a42c28946275eb9086d42fa1649338e2433849a8576bbdcfe84e3ff14e1c0f8149ccee46e074cc3913c30b5a358d6063e6c66489 SHA512 65136f60eecb94f996587e5371dfe493ae16fdaa2a064ff337da870476413e0ce461653f4900348222e68820432a35132ed5ddf2a70f4157857749d107369a0f
+DIST vivaldi-snapshot-2.6.1566.35_p1-amd64.deb 62569804 BLAKE2B e7efcbff50ffa524cca692344c6e086659bca28b60fbac122c2432db664f9af4d6668f8853bcfbab2dca9098e6cc1a2ff6ebbecbb82042adf2fe70aefc81c98e SHA512 962064e3636f3c0027fcda3f1bd55d66ce8497eb9a3be908d0a70fb8ee469b159aa34893724fe1ecc08e0f17111ff873343811ca9c89a271ead6d65a9a412b11
+DIST vivaldi-snapshot-2.6.1566.35_p1-arm64.deb 56451932 BLAKE2B 8ad12ea3837a49b1fcd991acfa65a889a7ae9f53017fb2b4983056de3b20c4e9e34bd3e653146c90f03240cfc809a8795d568ad8f9686daf6d158e83454fceb9 SHA512 79cead4644033d1569e123d38ed23ae5eacb85919b1be4c054ee1dc3fafd049e01243148c5ae118df75e945edcf52994099e1b14b641e153d2dec58166b40426
+DIST vivaldi-snapshot-2.6.1566.35_p1-armhf.deb 55616072 BLAKE2B 6888c027b551235fc9fe203158b088fda29b5b57963da5abfb0d181a03b308812fee150facc23ffa72ca95cfd5b17cd78ecc6360429e4693567142562ef1260f SHA512 16900708f1de876751a46427f05f71d1bac8ec57804d694001dcd8e8ffad52e952a59f45997adbb314a7756d560c24cfa4db19a20d37511a687b4ce216e3e8f2
+DIST vivaldi-snapshot-2.6.1566.35_p1-i386.deb 61023760 BLAKE2B 5f05868279b01af6a3a0d1e1243e1e2292044e598dd45a1104bc2bbcd936a891ccc39a7cec6cbb072ebd22c90f0a958a2d44d1bd98c9b0f6ff9e09faa97025c1 SHA512 b982c1f0b2d780398630a8b71f61da2eba2620af78562bd90e44fdaeb244cbb4c7a283625ac4d545366d74d8b08cd2b807cc0cf2fe2e9eba1afc186039c5505c
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.35_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.35_p1.ebuild
new file mode 100644 (file)
index 0000000..76ff637
--- /dev/null
@@ -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
+}