www-client/vivaldi-snapshot: Version 2.12.1838.3_p1
authorJeroen Roovers <jer@gentoo.org>
Mon, 2 Mar 2020 17:05:41 +0000 (18:05 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 10 Mar 2020 08:22:28 +0000 (09:22 +0100)
Package-Manager: Portage-2.3.90, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
www-client/vivaldi-snapshot/Manifest
www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1838.3_p1.ebuild [new file with mode: 0644]

index 27a85797b690ada73f739a06dc504581fdd1d5e6..663f85c814ac4947ce2de3ac7ed59fc03e169842 100644 (file)
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.11.1811.28_p1-amd64.deb 67584012 BLAKE2B 968b0e4c2f9f8bb
 DIST vivaldi-snapshot-2.11.1811.28_p1-arm64.deb 60623592 BLAKE2B d6729a6bef27ac5de7ab4cb5713dd3464ecc7bb515ad86f58abc362d0bfede7c64aed8f0c938f56531fadbf13ac814f135d152f776fa3b1e1b734a0019c8fce6 SHA512 9c9685c108532a0323ee6757c712b66978c6c611c9ab4c6bc238b33c68639970792899f200b9581db6db51b460fed186ea684430c9f0263ec29d856e5295370f
 DIST vivaldi-snapshot-2.11.1811.28_p1-armhf.deb 60005544 BLAKE2B ab306af096634db3d524629e6f568ffea6540563be4d0efecb547940a97181648f853531164a1486fc56b968e6771670e2b29f4954f317a3a684360ce93f5427 SHA512 6d41ded63729ad5dff7a580cbe3f9c6c7fd0f28cc30c957792d53b733800d2631fb1814a82c962479ad6291cd6fb657c8e80fec182290011aa42e2edce10b894
 DIST vivaldi-snapshot-2.11.1811.28_p1-i386.deb 66423200 BLAKE2B 5fa50bf0a0bbb0e4e94fb36a4498fa61577d6b72e899946e4649585531c501a08069b5e8f90e203cfc4a85c154fdb9c2df33df14ad90e641b03f6082a5d030da SHA512 de062f0072f8f128ae9ba06e241a3b8899f921c10432f6aee0fc672d14d2f92ecde732639fb503fe30e4ba687adc2b3d334690512f7681b0299edb4fa3b85686
+DIST vivaldi-snapshot-2.12.1838.3_p1-amd64.deb 67635384 BLAKE2B ea105e0d2ce19244d71bbcc2ee23d3de15fc647c80f8913132b2b9a2d03c478e9b1dd99d9e15b1e3900a6635ee30b1164799a6e34ea9c281387a3ad64f8d1564 SHA512 75ff754a593134e86d5b0931eb154971458e4d4f09b75da0b007e1ae05be477e9c6ea94863503d03e5d762d0826b3f40b211a75dcad61f559016401db05c0c53
+DIST vivaldi-snapshot-2.12.1838.3_p1-arm64.deb 60676180 BLAKE2B e9c0d0b52fcdc66f4a368921c486b80f3ae40865f1bbb134469e245ea82bd5755c02c81fa4cd9e8c1f79533eaf1fa835ea80971da1df05db6d0ca069ff237c06 SHA512 a3886b7ad21d86190d2d24e1cd0a30255d77cef4d9e621dcdc1b487f4d0cb40500659ff8a666e354e1295289237024c790f1b9ec3af5a9499e79e74072609334
+DIST vivaldi-snapshot-2.12.1838.3_p1-armhf.deb 60058172 BLAKE2B 06b7a63daa0cc30d95dacdbb2ac426bf78801aa8cbe4aaf804356f0f9280771f12275651da88e3412bc0d87fdab8ed16e1eeff4dd4894e8fb3f3960e075d0c49 SHA512 dbbbc485fc4f497a7ba1466fab65d091d1b5cb098ac718ca1f3bcdcbc4eea7cfe0bed962802170bef1439bb295997a377906b1010d0cd30f142ce87c61f3091a
+DIST vivaldi-snapshot-2.12.1838.3_p1-i386.deb 66489800 BLAKE2B bf9927dddeded3ac21b238c8bf384bf6fd344fc738e385be189ff66b312ac5b7f8f1f4957ee524a42f4ba7983f717f7e135204b63c9bab3eeaaa041e0a2787ab SHA512 94be102b935ffa2f12416a4ed7ac8a29e5a51028d5cda2a6ca387fd011abacadbe0f21b7250922e05e0f88fb6ba0d12b8126f2d01493dfa93bc39b460e8d0e03
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1838.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1838.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
+}