summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-22 14:34:46 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-22 14:37:09 +0200
commit28d8cd503a09d9fe3d6b78fd40bffea243b9b220 (patch)
tree43c9861962e9b1b14a48bc452d14607bfb90b5f9
parentapp-admin/kpcli: add missing optfeatures (diff)
downloadgentoo-28d8cd503a09d9fe3d6b78fd40bffea243b9b220.tar.gz
gentoo-28d8cd503a09d9fe3d6b78fd40bffea243b9b220.tar.bz2
gentoo-28d8cd503a09d9fe3d6b78fd40bffea243b9b220.zip
www-client/vivaldi: Version 3.3.2022.47_p1
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Bug: https://bugs.gentoo.org/744007 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi/Manifest4
-rw-r--r--www-client/vivaldi/vivaldi-3.3.2022.47_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 73738bd8b9a..a17daba4dbb 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-3.3.2022.45_p1-amd64.deb 72555276 BLAKE2B b9fd559504d995745eefe253d
DIST vivaldi-3.3.2022.45_p1-arm64.deb 65292620 BLAKE2B 1d0bdccc8dd1c9dd7b6dba31e0774e436ad7eb61dca9e5ad42b540dc3cd72a11acacea146f680e7cea131c5a617228f071c7e541de735894c5c16a53d217348c SHA512 18665cb1cad131eca05cb7d4a506cffd6867c13787942da7dd4ec210cd125337255e7a18c6b166292f704e7b978009eda8bd4377c06e33efde6339826c56e8e1
DIST vivaldi-3.3.2022.45_p1-armhf.deb 64314512 BLAKE2B 7301433d3a2d40580ceaf7628b2dd86d9f70941c5b2b8df5fd9b86ffe80e21dc5a984c2712c594bc130a621c5def64c43e4b24734e06163b9714211eb89d4e13 SHA512 64f71bf4939677a168e7b956bdc1ef2eed6560a13b075f9a419c8c8c3e1390b36cf045708bc217f375f9e6f953b019e169a77d9c21edf0288e089d953571e306
DIST vivaldi-3.3.2022.45_p1-i386.deb 70818576 BLAKE2B 065455c7dacb310eef187ce0147f1d608aa98ec2f85178c7c4927b323d49207affea4d9858e029f38de228ed12c2d68ac6fae55ffed03aba52ee932ba9d58970 SHA512 5bfb1978529e961945667baaf3617912d0dfa0d456412e0845d8e1ef584a3ba4b8766d41f9e08ee47146318df79af077abf2a833ba1df2818d7c57d57f2dae7b
+DIST vivaldi-3.3.2022.47_p1-amd64.deb 72566388 BLAKE2B a554a671a57927a6010534ea0657d19db60f504def52efc08474c772f9f6c643154628ddb8dbf5e1c55652737c22dd60be3cac820a5dbac89d69d47920bf9827 SHA512 90b0367cbb38469e7343747c354e2868a13020abb1940ada0eccf568d89e9fa0eeb3bdabc07c54a53fd5e153591c5fb00ac3e21fca7a1abfae2b2fe27d503d3e
+DIST vivaldi-3.3.2022.47_p1-arm64.deb 65274916 BLAKE2B fc8bbf72484899741ff5383c9996204f21329679deb8a5712e98d0aa863998803023faf58d97382c10e9ca426e29c40295cb169f93621d783d5239f1d20ed144 SHA512 7cda781b9531e871070d211549f9cbabbb25c20bcdd208c2322032cefbe7f56d66f751a483fa0a68402db89d7ebf570099c9330d79c971353c8bc62592e0f839
+DIST vivaldi-3.3.2022.47_p1-armhf.deb 64311036 BLAKE2B 49ae9cf662bcbc438d0c082cadbcfca9fbaeda4da5418342133ada00d55ffc33cafbde1b71b469a00952ed9326daabfb766b96e4d1c78af7ef03364f9766d4dc SHA512 eb0ef5e061e32f8322ece7fd2169af19641a3f1a7f3d992d0cfc077eec48e848d74f5498d0f88b40eddf761ffb26e30bd0c38168858a9619a3648906cf7d1a8a
+DIST vivaldi-3.3.2022.47_p1-i386.deb 70821004 BLAKE2B 2a514e0242eddf2bb9abd1a25d9b5e9344be192de515601bd31c809c17a13240989a615a37e4c72b175d6b827b20147814cf9067989e2223669256619ace5077 SHA512 c3c681a9a0b56b859e62b22f155d81ca498ff4ff068e947a77430322e615a1e550b3fd8448b96dfe792ccc3703648fe9f0c241fdebb2fc57a6114f62354d19df
diff --git a/www-client/vivaldi/vivaldi-3.3.2022.47_p1.ebuild b/www-client/vivaldi/vivaldi-3.3.2022.47_p1.ebuild
new file mode 100644
index 00000000000..a156328cef5
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.3.2022.47_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
+}