summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-02-18 12:49:07 +0100
committerJeroen Roovers <jer@gentoo.org>2020-02-18 12:49:13 +0100
commit55ac224c82ef1c5cb3e3a508c74b830cba74c5f1 (patch)
treea397136f2ef7535b546cd4c39211c7c694624f7d /www-client
parentmedia-libs/glm: restore arm64 stable version (diff)
downloadgentoo-55ac224c82ef1c5cb3e3a508c74b830cba74c5f1.tar.gz
gentoo-55ac224c82ef1c5cb3e3a508c74b830cba74c5f1.tar.bz2
gentoo-55ac224c82ef1c5cb3e3a508c74b830cba74c5f1.zip
www-client/vivaldi: Version 2.11.1811.38_p1
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index ab0cd81ce2f1..d338626cfbde 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-2.11.1811.33_p1-amd64.deb 65557444 BLAKE2B 98d31396d9d17aa715656608
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
+DIST vivaldi-2.11.1811.38_p1-amd64.deb 65557808 BLAKE2B 91d55f922038bc55d8e8fcbc9d67bd98a329ec79687cc6b690a4386d9d880d7657bc0e4c4f97515184d40c96b63a5584215c224fc1daccdbd4b50cd348e28005 SHA512 7fdac87cf32111c3ac7e2618bc8c579df0dc3dafe07b014f2b18eac6aa463ed96a5fa9ecd586860178e8e9c0fdf269e0f46b9589bc43e10d4ed3755c8cb0740a
+DIST vivaldi-2.11.1811.38_p1-arm64.deb 58895680 BLAKE2B e13b461f336a79a6ae72bf69a80c32ce1e348928075e79f088d4795376711e6a05ca8455eb682a443fc90e1e545f062b255bf908aa74605359382f09571d4064 SHA512 b60883827421ccc7a6d2b6cc232cc4220cf1d60f1f501c110f5524031e0f79123e2cd58a7f197445f29b9feb7761677bb46fcc9ff51f07c49c9917662c97e33c
+DIST vivaldi-2.11.1811.38_p1-armhf.deb 58212764 BLAKE2B a1abc16bfe5b47a40d36b09f75e322c53a69cf2c8734109600cd03736824698964b53ef5c31eeb82ab105b3ee9503bf764c5bd94be0520f2e6e20f046d529383 SHA512 8db699c20931363221a6afa142df524faa6b2621a07e340ae74c56f093deb413b583e47e2de6dd55e96a5b5beef4a590bffe32935f3a205174f9d91c510c7a4a
+DIST vivaldi-2.11.1811.38_p1-i386.deb 64361772 BLAKE2B 3a6cd6fb36b787a3551419b64034e2fde6921a721fc3f55bf0ae967cdd81ab2c098a26945a5c43b24b75f4fd20d97f894c190c1bfa71d9e6805fa37347e48a02 SHA512 454f956b87f7ff6511816532508b2d1d63931536ee68f4631e9b6676a52f06ffaf07923c1f769f2e4f094f63a490e3f217d3185bc12ea8cbdf509c66baad60a6
diff --git a/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.11.1811.38_p1.ebuild
@@ -0,0 +1,125 @@
+# 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() {
+ rm -r usr/share/appdata || die
+ 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
+}