www-client/vivaldi-snapshot: Version 2.12.1843.5_p1
authorJeroen Roovers <jer@gentoo.org>
Fri, 6 Mar 2020 20:00:56 +0000 (21:00 +0100)
committerJeroen Roovers <jer@gentoo.org>
Tue, 10 Mar 2020 08:22:31 +0000 (09:22 +0100)
Package-Manager: Portage-2.3.92, 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.1843.5_p1.ebuild [new file with mode: 0644]

index c6069aee34d3cd0222e8a505478a79f5b766ea46..66784134cda1ec17d6f9f5e01dd8666a631eb7ac 100644 (file)
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.12.1838.3_p1-amd64.deb 67635384 BLAKE2B ea105e0d2ce19244
 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
+DIST vivaldi-snapshot-2.12.1843.5_p1-amd64.deb 68982688 BLAKE2B 9bf495533fd1eb983f84467dfd8b1f642d1f5a561e092a3f00c60558335e3d81ade1951e4d1ed47c9b95ace4154b4ecb9ab6a5c1e40b15731f681a545850be14 SHA512 e86d09d5d6b771b5b8d89200414526232335b7064f4a5aecc48c1d00fdbb8986b714c2567acff97fb418678adf3f526c0591978d430c05d4568f2fe31dac1648
+DIST vivaldi-snapshot-2.12.1843.5_p1-arm64.deb 62103744 BLAKE2B aebcc7509ce192dc3845eb000a05ecd0ad6f5aa507aa7442bc4b1460d998174ff36e979c766e7af15a04087cafc5486f409e6329f9d34201a202afbc63b318e8 SHA512 77256324655c1d39e2379f929142fd2c885313980a570b0ff9ec45aa3beba17d01f032380251d673b98b9ef56860e57085824e81a9ab8b81aff361a8bf817fc3
+DIST vivaldi-snapshot-2.12.1843.5_p1-armhf.deb 61397064 BLAKE2B beada5988db61cb211a76bb21b1db77d106745451e6aaec889e6ea60ec8fb8cc9b7835534dbba77c2a9c73ce1246ca7f584dcd05b02dc8593e0a9aa6a6ed6bab SHA512 1b4d17e3fcc6726d4d96330710a91620910255b13997a26105caa4a54b45e6fbcbbb118fdfdc5b93aa6f21f88b7a1bda6175466f5e3ed7e28655a592da358b28
+DIST vivaldi-snapshot-2.12.1843.5_p1-i386.deb 67714672 BLAKE2B cae0267b8162e0d40dcee55a930296290165a1252cc6bf222dd5f26eadc26b2d56e0f9a0d27e0a92063e91ae3c7d61a41d55d3db4e40d80abeb2fc4d1004c1c6 SHA512 b55885f3e47e4709300e2d83a0772d09ab27f65f76d5a58087d9bfb2de6ec9dd452ffcc64425d3fb46bf0360ea971fc250bcb8f482c60f8f1f21227f4aac086f
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1843.5_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1843.5_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
+}