summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-08 08:50:41 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-08 08:54:31 +0200
commitd89ae6cbc9cc110dfaa622a2e7e8bed939883fe7 (patch)
tree3e36ae62cdcd8646955896b73ec3d78b8553cc46 /www-client
parentsys-fs/simple-mtpfs: restrict fuse slot again (diff)
downloadgentoo-d89ae6cbc9cc110dfaa622a2e7e8bed939883fe7.tar.gz
gentoo-d89ae6cbc9cc110dfaa622a2e7e8bed939883fe7.tar.bz2
gentoo-d89ae6cbc9cc110dfaa622a2e7e8bed939883fe7.zip
www-client/vivaldi: Version 3.3.2022.39_p1
Package-Manager: Portage-3.0.5, Repoman-3.0.1 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-3.3.2022.39_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index b184017b4944..13687ca3d272 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -14,3 +14,7 @@ DIST vivaldi-3.3.2022.36_p1-amd64.deb 72541520 BLAKE2B a15a46527c6c79a25f5a904a7
DIST vivaldi-3.3.2022.36_p1-arm64.deb 65262048 BLAKE2B 6f9faad50d432268496dd86355a789c0b6d5f41c60b51b21030923b3e2c5bdc64040d0cca23220f058b0661f35664105a1216a2fab1d1fbea66c672e342094b4 SHA512 2d5bd27b41802977d9953202c5c7e11854536f300cf4cb881f34dc80a9c7d9e384c91f1fb0063b9f63fc2e6826001ad1f9456636b4ac487cbd59a45b670b0f0d
DIST vivaldi-3.3.2022.36_p1-armhf.deb 64310212 BLAKE2B 323dca6365ecc7ead309b4daa3f673c8b0f9913ea41d772a5dcbbff65fa76eec29cce791e8535c778c85369aeb04f574b3bf0b10ce6a4072eee904cec8569958 SHA512 13ec2006a5f947dd22e72cf3162f58b4a12c7e7ffc4568dc856890a0203aab9809f978fa2f75dacb59a768491b47b51c144056e0cbe15dd3b3fc7ee9fc40f07d
DIST vivaldi-3.3.2022.36_p1-i386.deb 70820008 BLAKE2B 7fead8a2e4cbae13accdd52a3e1880363464d75e30b0d40673ed11629ce82d5f8999da9fcd9813efc2489bd5d5224042c7109a7dccb40f9d757280dc9382f7ee SHA512 6748fbb6200718a474567113ce387a61a5f9a43f0072e5a6368c06b942c8f363dd52cb4d63d55162551539ba0b90eb103b435221c94df5f5e7f7b10afdc60dab
+DIST vivaldi-3.3.2022.39_p1-amd64.deb 72549864 BLAKE2B 5ddef3f05a9e9b52cc2f8ea69d4f14beebb2ec6ec57e10208e5a140774b4368fa5f14ae1c015fee7f3087283241ef25cc77267e106e92b0a4a1c1b896ecd47bd SHA512 bb146698fbaa3c61e59bd23f99b80d8e86d55b3fdbac6c29de75bb04af123cb7a6ff3df768fb3bb5b400427b376bb4022e1d5b8684672eef69d459006253a5de
+DIST vivaldi-3.3.2022.39_p1-arm64.deb 65278952 BLAKE2B aecb52ce49046ea9d48551434a3d68a1185c0142359ae27fda8ff55acfcc3e678dfd7dbb708baff75debad7a421f583e7bfbc79a4092a03bb1a0ce817f355766 SHA512 2e78629495df908ca1d384dcaaec1ee2ab37106859fea688e6e6ca4271123376cb43fa93d3d84b1e484c0ec40d82bb15bb1300dd68b03b392ac0f2f42b312d77
+DIST vivaldi-3.3.2022.39_p1-armhf.deb 64308396 BLAKE2B 65ef4333dfa585e659ec89ef191c53781d5dfd1bb0184d4c0d3c234509aa120c278f6e55f4fde1ffc5d8805bf62138893e7041b398a2d0f9fbcb28d0e6e0debb SHA512 6f07c2006e972b7b20ffee82cf8a2d46dcf507a4582f5633707759187f0a8236dce0ce6b26f1873e85ba867e9414edf194ed2e21b692009dd596dd0ec601aac2
+DIST vivaldi-3.3.2022.39_p1-i386.deb 70813940 BLAKE2B 6b834d2aa8779bf8d24cee220ebf882403ba12642cf2378259aa1e52c967812b368836fd89312c8bc418371555a78457c8b74132bf2ef8d20171ac22b3e177d6 SHA512 356b87ae15e05cb3cb53936319d62be687b9b16e1206758aad360c269a289c32083f26ff8fe500f890bb28a54d79ddca2ba3eb4bcad091549bad033e675f2f72
diff --git a/www-client/vivaldi/vivaldi-3.3.2022.39_p1.ebuild b/www-client/vivaldi/vivaldi-3.3.2022.39_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.3.2022.39_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
+}