summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-10-01 11:50:59 +0200
committerJeroen Roovers <jer@gentoo.org>2020-10-01 11:53:41 +0200
commit6182fafda34688cd343e7435a4ec0a9299bbfba0 (patch)
treea010b67a83f9a0ae477476bac207cf4d49172947 /www-client
parentwww-client/opera: Old (diff)
downloadgentoo-6182fafda34688cd343e7435a4ec0a9299bbfba0.tar.gz
gentoo-6182fafda34688cd343e7435a4ec0a9299bbfba0.tar.bz2
gentoo-6182fafda34688cd343e7435a4ec0a9299bbfba0.zip
www-client/vivaldi-snapshot: Version 3.4.2059.2_p1
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2059.2_p1.ebuild106
2 files changed, 110 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e8599d8fb2ea..8aad15959f46 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -18,3 +18,7 @@ DIST vivaldi-snapshot-3.4.2056.19_p1-amd64.deb 73504020 BLAKE2B 6eac459befc2e0af
DIST vivaldi-snapshot-3.4.2056.19_p1-arm64.deb 65922752 BLAKE2B 8a6d813ef23ca4f8daf7c4e8d799ce4af59787c9017902b5497ef0bb0ba9d0668f5fc17af1eccde402ad53d7267d82d9feb94784e5ec79784d0513a7420ac639 SHA512 5180c8f0d5300577da4eff7867c5d41e5a6179a4a78fcec335913ae4b44ce2005b520d78796f280e3473edabfd95e521b6c34f2d972fa4c134e672c6c9f151ef
DIST vivaldi-snapshot-3.4.2056.19_p1-armhf.deb 64889956 BLAKE2B 8a9d3efcf4f6ec700c361cf98561295a17b473fb437e631b1f7c2b8cec2e37bbdb3b733015a363bed21419105a0dafbb6b4b6b3ed15e2d7fe2ff92c4fd8b4d51 SHA512 cbbf57d916cb1cbd3de49405a19a20ffbe09579f0ddad4d1e27ca5fbee824b0240b10064893650217b6ef0f29d4d194875eb30c1fb12786dd006671ad7eeb378
DIST vivaldi-snapshot-3.4.2056.19_p1-i386.deb 70724892 BLAKE2B 17313d53f72931462583784a4619ec39f875994b6340c40fbd9e6303bf3f36b771b05419496c0cafe98323508b20a0fa3aa579b9534b6d6b2ee780ab02d9f8e2 SHA512 050282659fc6392b815bc902b72a4058eed6de0081e8ca170ebfd1909723b4a693313a8099eb56198fa42eff727c29ba31b0d71328700a57fff8e7c412842a92
+DIST vivaldi-snapshot-3.4.2059.2_p1-amd64.deb 73541108 BLAKE2B e8b4117128fa4ffafdabce44d8c166b3a3a56e1ade1a885327f70d3108f3cb73bfa3d2bc7f00b424c40df688b2c672334919ed55ad4e7dc346e5c6e802ef968a SHA512 5d95a47f2bd91a7b026869441da7cc4db777fd564192171334aa4223446f7a48624572c2ed603ae4b60f3af3e3ba186f73aaf371a9301c83cea1639825a662e4
+DIST vivaldi-snapshot-3.4.2059.2_p1-arm64.deb 65939680 BLAKE2B 32c6da96cde3f73784ad4abda051dff839eb78c1e0eedc987259ed6a237b7dd1f95176c0b780fc98443265948c1a4b487c34f20e17b5858324b698bf2822d45d SHA512 86f599f834bb67dd710a11afe94e0b1fbb0543323e87db6a91abe8fae2e9babe3c9054f60c5963a3202f0f8fb599dc751eadb33b5ce57ee8dc5fd6c323217eef
+DIST vivaldi-snapshot-3.4.2059.2_p1-armhf.deb 64921572 BLAKE2B 80aef5d73b76cde268a2175d615836a27cfa80fe578d4a3bcf5889e3d8d2d3afc688a2bb6d97363562d82da34ed2e50cd62e9f6459db7df79a830a16932f85a1 SHA512 5fb552ca6e81a79425fc968922b3be76e9e2507752518cc6729083aaf83589ba6c119819730f011fd32c1afe76556011208bbae3918e0ef57a6e0580f7d038bc
+DIST vivaldi-snapshot-3.4.2059.2_p1-i386.deb 70700552 BLAKE2B bc7453e8488f3e98d84ea71560e3dece878e01338ecff5577443ddbb57b7f29116a2c2681038413be59cec6ab514086305b4c6e3538c3f68db57f5f7af4c3656 SHA512 f1f5b530e5c15b4bfac40156f29bc536c36099c1c8abf2c02efeab2a96ff91af578e4e058bd8ac89b1e4c5f2658ffcd92eeb4cfe415ba1916d42b87018e26b3d
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2059.2_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2059.2_p1.ebuild
new file mode 100644
index 000000000000..0178e0245253
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2059.2_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
+}