www-client/vivaldi-snapshot: Version 2.11.1805.3_p1
authorJeroen Roovers <jer@gentoo.org>
Wed, 29 Jan 2020 14:22:19 +0000 (15:22 +0100)
committerJeroen Roovers <jer@gentoo.org>
Wed, 29 Jan 2020 15:04:10 +0000 (16:04 +0100)
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1805.3_p1.ebuild [new file with mode: 0644]

index ef480829f48b7f50b8318545444f7d4abf4db08f..1ea99dc323fd6d8663eb297d558f5a775a306e55 100644 (file)
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.11.1800.5_p1-amd64.deb 67523480 BLAKE2B a076cbfe6c94149e
 DIST vivaldi-snapshot-2.11.1800.5_p1-arm64.deb 60563292 BLAKE2B 7699f2f907a0848c33ba7e9bf4d3122b600d58492c407d85207dd443c2a252e5a6571c22adf1d5f6ce85c442ac00e5874441d8a0a5890829b5bacf177b5f3100 SHA512 e0192520324ef1f22ccb555d126ea336aa68f08efd1521715522722439a96c52ffdbc122d77ab8cca0bdb25ff61cadbdf19ce9542e8fbd2a0edc4bb29a687a9c
 DIST vivaldi-snapshot-2.11.1800.5_p1-armhf.deb 59947460 BLAKE2B 21a20e54e4a5f7f4c52bc015c01a171b5de4a079ebf1486b3e5aa0ae34dcddefbf23a16ae3b73471e6b2b1035fbf751e29e94200146240f0885a7868bc7fecf7 SHA512 87690b1875dfd6edd902a97235d8810d84f2cbc798654c04470b7cc43d5e06cf1f34f85f811b07ea54dac04122f0d0e9e751e7ecc1718147fecea37866794d8c
 DIST vivaldi-snapshot-2.11.1800.5_p1-i386.deb 66346624 BLAKE2B 2fdee4fcb0a28da2b996a293316eebf4de16d53bdae8e882818e8249b4f7ba74bf16edb140843b3aada485da91755ad71135e4f899eca941c3b34071ca2383f0 SHA512 b39324c6f28520051f9e222c33df6de8ad8b6cd4d9e2f937063cc3a307e6e8a47e59e69b35014ee0749520c69a78d02f8a2a0786769e06f530b02b4fb2123304
+DIST vivaldi-snapshot-2.11.1805.3_p1-amd64.deb 67518936 BLAKE2B 63cad6603717f14c93275095e9370ab35c3818a16bc911fc33bcf53f7a46bc7549ade8c86bfab1c14157dbaffb8242f60c5d80d7732d286ccec6a89a6b658ef4 SHA512 bfa939f794e691c65a5f1c9671e058e517063f0fba92ef2e2aee94b58badd3a50d6368afcf0c54d50068088e5fc9a2954903dea8ce75126700848d2b2920cb5d
+DIST vivaldi-snapshot-2.11.1805.3_p1-arm64.deb 60592608 BLAKE2B 159648be6f45d1980c273fc15958cf57a7cfa6b46d2353068dd2adf11cf7d5f3d7f45d27f8c0a6c0988067a7f0959c8039e5c3d20a881258e25719dc1d4c0ae7 SHA512 aec9a0170d0a875fee33891c9f5760573185b065a8700c6086d0168d22203ba4ab48c0040d86df9967ff3808ae0eda280030ecc478e0a61c6aa900629b4cfe1c
+DIST vivaldi-snapshot-2.11.1805.3_p1-armhf.deb 59942876 BLAKE2B e01aaa37f8327fecc27d1e626761502fcd13bf3479604fbec5ccfd2e77d0becc888b01c4232a3b3c2db40dd130bda3734ca15d291e9f762fd173db6aa65a2070 SHA512 44485b65ff509ff11a24c2a22c15b3df606c7df872dcf617440b4f0ee65a330273bad1196d7372f6a3038d7f15e759d1f818828125e244ac4676e64261a33b19
+DIST vivaldi-snapshot-2.11.1805.3_p1-i386.deb 66348980 BLAKE2B 01d8cd9f9b58732a12db30c650b72dd5233bdb6288e4794548ec2788d6ffd9b9fff9f4a9ff1b57c7b767c135b2ff8df2afcf92b2144ea77b56ad4fb86f3ca279 SHA512 c3817a0a4f81059618f09c7d1cf9c86a936bba3fad4446ed3582bef18836b95620113dc7f001c2c425001a59dc7b20f1e7d0289e1d6c8942cbd7aea204a3fdf6
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1805.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1805.3_p1.ebuild
new file mode 100644 (file)
index 0000000..23aeb88
--- /dev/null
@@ -0,0 +1,115 @@
+# 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() {
+       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
+}