summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-18 14:07:47 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-18 14:36:00 +0200
commit3a66feba20533efb7136474820ed3b17131abe17 (patch)
treefab84518c14c9a781492ba3eae7ba4272c7fc24a
parentx11-misc/sddm: restrict the version of pam (diff)
downloadgentoo-3a66feba20533efb7136474820ed3b17131abe17.tar.gz
gentoo-3a66feba20533efb7136474820ed3b17131abe17.tar.bz2
gentoo-3a66feba20533efb7136474820ed3b17131abe17.zip
www-client/vivaldi-snapshot: Version 3.2.1952.3_p1
Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1952.3_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 89fffdfa76cb..ebf17e9558d7 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-3.2.1950.3_p1-amd64.deb 71811452 BLAKE2B 8284f3cc59b6c1576
DIST vivaldi-snapshot-3.2.1950.3_p1-arm64.deb 64078268 BLAKE2B fc2c1637d0c6203817b1f0e7750fe89fc830bb13be2028765334729786658e3ca9123e2b56e1397990ec85b77ae28429906a110232c76de4e7655e834d61b84d SHA512 dcac9452bef90ca9b1f2b5bfcd8447c5baf9f814bc7a7be99c6d776214aa7c51fd7e4e45994743ad7ff09d260a0b4048328317fce2daa5178c361eb0ba6fe997
DIST vivaldi-snapshot-3.2.1950.3_p1-armhf.deb 63603260 BLAKE2B 82e11ff4aae2e0d9a61d2783b73100be6bb4cff31fa18a99be90a9733e23a00e9ed97179d2e9f61b921abef4d4dcec6d7002a2c80eebfdf2422ae812a09d6b6a SHA512 a80d9acf715fd026bc46600b0c5d90c52962abaa02f17a9b84a27d77d4b3ec44c7bf72142a173268e6064fdb7976681aba29a42c26838e63c3a8bb1f44c9d61d
DIST vivaldi-snapshot-3.2.1950.3_p1-i386.deb 70124360 BLAKE2B b868fd26e3efe33674a78eb500b3950d9ab830dfebcccf29f2b282593979cab405fb2cea2fbaa4d5a6ba9ac5c7be58825b4a8aca35265523a080fd7333525fdc SHA512 09cb4f8e5d12946309b93f827b3688246c5584997b43c48f8ba2195afb4e64ef5e533bfc746c968eaf8007aa1d89f1362e9db980fc5ba9fd343dc5f9ef6effbb
+DIST vivaldi-snapshot-3.2.1952.3_p1-amd64.deb 71810008 BLAKE2B d050d8c1ef8aa62812262f9ae492de958bdaa3e0960e5b5b309995b83a9a74dfda69a59e3eca4ba539e93edf1e0b7749257d1cd3599e5e27fb4f7b8956bce90f SHA512 edc4048cd498a7185c7004e3e760cb1d409eb25ecc087f60964de1db2dea1f2d41932bb3d5eb5fdaab66f3bbcf732c534e781cafc4a71c84c4c2d289f84a1754
+DIST vivaldi-snapshot-3.2.1952.3_p1-arm64.deb 64091432 BLAKE2B 4825e2833b5a15ac1ff47e7b085fd24a5c7474f5af88db2a5a0327048fea39a63580e06279fa6c7426fce4c4a07a8bbb9cb152b65a2102d584b9c48be4e0521d SHA512 53f469d043bff2aca62bc97fc3272a786d15a5ac3c110ff4eec3fbb4e4d09dfb51755729d8793024e04cb03c0d61579e6e6974a1d42d3471272969049bf04243
+DIST vivaldi-snapshot-3.2.1952.3_p1-armhf.deb 63607868 BLAKE2B c0e8ca2afbd0967a6549f03b83fe3cbeda6f010385b15fde526685015a309aab818fd5318254900dc5d1a1390eea7abc4bef4c7a4489d77ef21f44fbdf7c8212 SHA512 f359b64968aaf1d8e6e4f3b1d44648c0de168504d59b70c622388a89355e2856ed516700daad986e65027717e354a20bd1b10ff065aab7a152e80f0336c6f9a9
+DIST vivaldi-snapshot-3.2.1952.3_p1-i386.deb 70126608 BLAKE2B 4eaa68846f1ec9f753c5e15b556106708b3236d10a87fab5e30372f8a47e75ef66709b436580ad83a61308271462e62df693a8fdcb074a116c86c1164da9054d SHA512 d859418867dd3f105269bc19e0592b46ec7d3a58249d91bd0ab9f2101c995f6e34b85b44cc7a74cfedff5902afb84f6b931ffa15b31c168e38846b015d66377b
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1952.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1952.3_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1952.3_p1.ebuild
@@ -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
+}