summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-02-12 10:18:17 +0100
committerJeroen Roovers <jer@gentoo.org>2020-02-12 10:18:40 +0100
commit70055f38fa372d7ea49edd3f987a9e80f09ee226 (patch)
tree852a67d69fa0e052dff8052345dc38683fe626bd /www-client/vivaldi
parentnet-libs/nodejs: Version 12.16.0 (diff)
downloadgentoo-70055f38fa372d7ea49edd3f987a9e80f09ee226.tar.gz
gentoo-70055f38fa372d7ea49edd3f987a9e80f09ee226.tar.bz2
gentoo-70055f38fa372d7ea49edd3f987a9e80f09ee226.zip
www-client/vivaldi: Version 2.11.1811.33_p1
Package-Manager: Portage-2.3.88, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-2.11.1811.33_p1.ebuild124
2 files changed, 128 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 1eafe946ff51..7fc0e85bc857 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -3,3 +3,7 @@ DIST vivaldi-2.10.1745.27_p1-arm64.deb 57909300 BLAKE2B 1355c2df495b3a04f0c3ddde
DIST vivaldi-2.10.1745.27_p1-armhf.deb 57148984 BLAKE2B ee46ea7c482f646fbbca85b14ad1460671e5c5d4ec7c7136a5823cb25606ae694599a48d72394d52e004b4ab9837453ce64b56a5d44532435388fb52e21d644b SHA512 0f58b1a354cd4fd9392e123f67fcd30b532e5a858f8a9ad8329f74914afcee70a3895878855b69a0d1d149a521a768ed7509271fbce6e4bd0cbb0d1e6a0285e2
DIST vivaldi-2.10.1745.27_p1-i386.deb 63126284 BLAKE2B 01e34738aa3f0e2098e8b5ae6ecd641f288b941b079a4e685f3e4f4c4920e224aa41fd25ddf04c371282db46421c6e29c9c20909a1fbd97d85a23b189cb899e5 SHA512 85db226a73bc20251a807c376c235789a6e52d83f7d574d6043234ca158f1033c7433abd014372dbcece33a256b3b5cdc5ee4bc2a569f93e26cbdd551b20ad97
DIST vivaldi-2.10.1745.30_p1-armhf.deb 57154364 BLAKE2B 0e4fb8c34bf7736a03ec4f5507ff48edc0c56778a8688005d374dbb9c22f05fa71fc4764cbd002f82204e1e110ace8320a6a3d2c336337caa99f6466881da55c SHA512 637d2b2c0caedbc00a8bd43fa05c3fb74e317111edb303c55ec5b1da151d66b2ad614d8c8a9745fa4125e177ac9d3686a28591a934a6585d1d7c5cb3c5a5ccee
+DIST vivaldi-2.11.1811.33_p1-amd64.deb 65557444 BLAKE2B 98d31396d9d17aa7156566082de4953469f013a33995582dbad5c8c6459eb6a789a65bc1538158fd4f9c63ad27d3e7696c37e3bf5bffacf08c2b9346e07d5173 SHA512 acceac81aae620946f404acc2fb8c42a847247bccfc8f2ec4f92e05ae6479e6c0d54faf12070792d8ba5223c8e5913bc7b17368583f399e2cecc09de74441c24
+DIST vivaldi-2.11.1811.33_p1-arm64.deb 58892020 BLAKE2B 1a412e4ec7c1941a834d548898c0d18354932d6f5da68e66181f5869abb34978e12eeb6803aec935daa4df14f197f7cd3d0e6ab978721d32a46aaa5bbd6eb6b4 SHA512 ee0f201646ffa5cbef96d2af5f60735e67f3399e0bf0c04f066423a79ce78edd80656f012b3c9fc926529504570bd7ec4e8970cac5617cd54dc1c0105c05c4e5
+DIST vivaldi-2.11.1811.33_p1-armhf.deb 58195300 BLAKE2B 179471fc083131c20e819ad8d3d492d80541537649a284e305c5ee9044feb27d5267e7fc8bcbfc0733bd655d17236e84e3e4f5aafcc96eff0feea65714f92a75 SHA512 fe40af7fb239fba17850857ede6e8981a1e25e3bfe2b62299e787b5544ed6c1e53cf00c32ca5993d26e328461fd000e9c15d521ea68e8dca95879508259c94b4
+DIST vivaldi-2.11.1811.33_p1-i386.deb 64343856 BLAKE2B 29de804a5b825623faa789a742dc683ba369604176a7640c9cc3d8e00a377d17288f22504669c2bd782d5cf451432ba7ef7099178d3dbaf8aee9dcda6a68700d SHA512 bd4a82bee60a9cda5c24c6a31eefefcfbde7b1ad70d2bd74035075e0f15bd87328cba72d7f3fe706bc495a59612b00d78e3a123adc1bc25364987635ef4fb768
diff --git a/www-client/vivaldi/vivaldi-2.11.1811.33_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.33_p1.ebuild
new file mode 100644
index 000000000000..878c1ba28cae
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.11.1811.33_p1.ebuild
@@ -0,0 +1,124 @@
+# 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_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die
+ mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die
+
+ sed -i \
+ -e "s|${VIVALDI_BIN}|${PN}|g" \
+ usr/share/applications/${VIVALDI_PN}.desktop \
+ usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+ mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \
+ || 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() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}