summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-11-12 22:44:07 +0000
committerJames Le Cuirot <chewi@gentoo.org>2020-11-12 22:44:07 +0000
commit125cb3a25e0f3c6c50c9a393bba0969ae5ecaf61 (patch)
tree7702eeb3f46d020ad04f0237034f2f0f02d02a34
parentwww-client/vivaldi: Add version 3.4.2066.106_p1 (diff)
downloadgentoo-125cb3a25e0f3c6c50c9a393bba0969ae5ecaf61.tar.gz
gentoo-125cb3a25e0f3c6c50c9a393bba0969ae5ecaf61.tar.bz2
gentoo-125cb3a25e0f3c6c50c9a393bba0969ae5ecaf61.zip
www-client/vivaldi-snapshot: Add version 3.5.2088.7_p1
Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2088.7_p1.ebuild106
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 91d223b4e74..8c38e163b3e 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-3.4.2066.70_p1-amd64.deb 75591304 BLAKE2B 33d7f5120e98228d
DIST vivaldi-snapshot-3.4.2066.70_p1-arm64.deb 68012848 BLAKE2B df7926527388ad9646362b9ee026567f316b7541b255fe39e155454ee2ca1905938783069d8e5e16822693609ef227d625c99bf3dd4d926839bb5dc552954759 SHA512 f7569de9400b929b85a4450133d27a8b81bd3d33d5ae7f48c864caf97aa5db2c4040990d5467f7e7b68c9ee495629b216887315399d6e5443a600d34f071800c
DIST vivaldi-snapshot-3.4.2066.70_p1-armhf.deb 66969164 BLAKE2B 44b28ddb82358d5d68329eea3500429bbe059bb0499639c261788387066809e8f3eb41a6efbdd9eac6a0a4ac083abd67cf48dee28ca6315174b0d6711f5eab2b SHA512 8dd70ef5f90e2a49b8e8db33809f295365466e59db4066bdfe2d7ad08a1144e4d03f8f5fa46f45838eaf5e0e69b05169cb69c4eb5ff9e1a1f61bb577ccd24301
DIST vivaldi-snapshot-3.4.2066.70_p1-i386.deb 72746984 BLAKE2B dc9beec3a3277cfc33c2d4c8690de7a505e5add89190d228eb30d7952d3e671d0b1b8a161df861431edd76a55b61212341e1f0ae7218483a15c3552d30c2f304 SHA512 257a7bf5dd489deb7eb568d4a69be1bd9f53ef17b9f10e638d36710e38c3590744ba8acaf27570027b5f863ca175ea9dcacb72c9b6cd17ffd8db4fb58325e36b
+DIST vivaldi-snapshot-3.5.2088.7_p1-amd64.deb 75752868 BLAKE2B f5c83366b5a505e9673a714716ad54e952f031903e57d6462c0b4c204ac3ec8561fadcc6d78322ad19850271f8df33c2a7851ab237ae4b53eba80030ff900be2 SHA512 1b4d540560f2276b8f3b8870a4080f28f9e7467ef4da81249f9a4e809be2bf40d929f9912dea0e45a6aad5198e0f2329ca29968261cd560f7653c9e8ddadcd4a
+DIST vivaldi-snapshot-3.5.2088.7_p1-arm64.deb 68156456 BLAKE2B 4d2ea0defb0174f9c7487ae7c3c4ad2a24630b19e71f997e9e55e0f06f378609994b87ca8ee96b8716762d6ed073cf35a8cd6b8f31d0587e595697c3b9f81afe SHA512 4f285098d9304b6cd70f90cd7663f408f2da352115a2af39ceaaa0467561057f70bcb15385033b456e3ac04115fa9dd392861c42d5e8cacd69bfdfaf2bcdd0f3
+DIST vivaldi-snapshot-3.5.2088.7_p1-armhf.deb 67085320 BLAKE2B 673973b731fe3701be09b0b5896700101cc1255e8b329beccb46e57dc14314095cce60b629e8c877aacc0e41955c976f5c3cb3820fded740c254b99e98ca2f5f SHA512 e554917546363cff91adc34498efad01250a9f72787b65bc06a84e3fef894981a7fafe12c9502a41b693fc829aaefd3fa56ce848d675fac1a6ac305c23ee460f
+DIST vivaldi-snapshot-3.5.2088.7_p1-i386.deb 72172488 BLAKE2B b59c82e62daaa16c902ee98e45a6985be510a587e671c503e4789be9cad79e5d289d4e28d6f802ab794f1a59024fec6515b6e4c23ee33333c684f273f016d7cc SHA512 d8c1024ef419dc30161247587c3e6150c0c20c5ed40c304ebaa10996b88fb95f056cbe7dc673593b46c17813860379edc9f7c09845139af51ae696f6c9b3c65f
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2088.7_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2088.7_p1.ebuild
new file mode 100644
index 00000000000..0178e024525
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2088.7_p1.ebuild
@@ -0,0 +1,106 @@
+# 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
+
+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
+}