summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-06-30 14:07:54 +0200
committerJeroen Roovers <jer@gentoo.org>2020-06-30 14:08:18 +0200
commite4bca6bbcf6261d22d3a85986abe6f1f50a9f01d (patch)
tree7c8d07f70a391eb01686f352efd94df4372abfe2 /www-client
parentsys-kernel/gentoo-sources: Clean-up of 5.7.X series (diff)
downloadgentoo-e4bca6bbcf6261d22d3a85986abe6f1f50a9f01d.tar.gz
gentoo-e4bca6bbcf6261d22d3a85986abe6f1f50a9f01d.tar.bz2
gentoo-e4bca6bbcf6261d22d3a85986abe6f1f50a9f01d.zip
www-client/vivaldi-snapshot: Version 3.2.1964.3_p1
Package-Manager: Portage-2.3.103, Repoman-2.3.23 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.2.1964.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 857bae5f0dcf..f1fe8a00de1a 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -14,3 +14,7 @@ DIST vivaldi-snapshot-3.2.1959.3_p1-amd64.deb 71834236 BLAKE2B 9529e943544c52b37
DIST vivaldi-snapshot-3.2.1959.3_p1-arm64.deb 64105704 BLAKE2B e4079252ba4ee183457efed529dcfdaf4ea71f443dd32ccda82103f1944799a770a986b3ed64fb3a29514a93a05aa770acbceb933acdc1e5c0d5ada5375a5fd3 SHA512 03a9f6cd2fe2ee23f87e66de9dfed39b38bd008d93e9962ed4f0a14ec5843bac54bcd074fd7b2c6164c7e025ef29f6a8400388133274ff84689bd73f407a0ab5
DIST vivaldi-snapshot-3.2.1959.3_p1-armhf.deb 63622548 BLAKE2B 2f4301ea84654c07fe6f37d4b004332ae5976da293dd042e01c1209e5c81ed229e1968cfcab71101b3feb341e2e011c7d1d780559b1c7e5411f3d7ae95df2d67 SHA512 a3be2cb7121df3c11b263f18333fd1a140a80c845c4cac6bfefc2005c7bfe18a02d9a54da3390554ffe94ba32d376406adad8aa7412d7015532f2fffd6ae5411
DIST vivaldi-snapshot-3.2.1959.3_p1-i386.deb 70144276 BLAKE2B e00c1f233340c33254147465d37edb75933bec9f48e14c0bcbb5d33c7eed3d83688fe7e1b2a6a1f80fd11adb8bbad5ceac266b51cf2dee059c25616b082498f2 SHA512 95038df8fb53a4539038c475a22784025298f8291cdf25a3056f34421a68b4cb045f66f27339f6c313a49a05981eb85914bab8199d6bf61442baf677b0713f48
+DIST vivaldi-snapshot-3.2.1964.3_p1-amd64.deb 71893684 BLAKE2B 8c180e90c7c354187dc0fe59593cfef14417cab232869b2eb57ca63a322475d3d3358db63a884139bcb549358c7a382c3b2a4fbf169d49e58c30aff346b1f837 SHA512 d9cad6464a393bcb108a037661fec3ff2cdb8aad31e01012c3c3c0413975c6999defcd280087e0cb0799e1740551c83ca0a8fd5b701a4c3f4beed1dc613cf778
+DIST vivaldi-snapshot-3.2.1964.3_p1-arm64.deb 64179828 BLAKE2B 15760e21388f9b84da5dd771135643114e9eb87c3614290e3bc8728350610aed83e247a3c7bd190942a0295308a433b2ffa2ba9617a201f47e9ee0603dd0da42 SHA512 f4d8479d7d81ab70ee5681ed3d28f27ec2826b14d337b827d73fb0f43ca0c0c08f7b342ae2e452d8c9a0fd2c7dc18e9d6a1efa3406a5863e5c6c9d5ba2b547b9
+DIST vivaldi-snapshot-3.2.1964.3_p1-armhf.deb 63705024 BLAKE2B afd2c25bfa868e2f0600bc6aba0d7728ffe6774d96b73e5dbeb4bf2b78b9ee8030189d907fbb18f8c3954a4a97120cc14847c747c9d546d4ccd7c7d38daa4337 SHA512 1f2daa45fb964bfe6a24b3dcc989a943aa6a7db09c20472e9e10a28538c253f4517976534d7066961a23d500eab7549beb2a15f61b804d882b45e08715c01280
+DIST vivaldi-snapshot-3.2.1964.3_p1-i386.deb 70208180 BLAKE2B 0f064abc0ac5ea561af039f9c7cbb3ba6b6bcb64d2939325a279cabdfc85e72361059b2bfecc08e19155903b372c47093f9be30273ff503bcc03891ce5fe3227 SHA512 ca8d5636d68de11c02598817d697e60f086c3cb6b3dcfd899988e5784c0d7be23f323962cce859ebaacf61fd424d620de6f59c1397148d3eb617ebc5fa796e4e
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1964.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1964.3_p1.ebuild
new file mode 100644
index 000000000000..db3613b057e7
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1964.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
+}