summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-09-05 13:59:49 +0200
committerJeroen Roovers <jer@gentoo.org>2020-09-05 14:02:02 +0200
commit239e7c3cf8b394244d68aa650234f7d0a7802f1d (patch)
treeb7bc7c1b6b7ac58d6d6fe9138d3802c6cc883108 /www-client/vivaldi
parentdev-perl/File-ShareDir: Bump to version 1.116.0 (diff)
downloadgentoo-239e7c3cf8b394244d68aa650234f7d0a7802f1d.tar.gz
gentoo-239e7c3cf8b394244d68aa650234f7d0a7802f1d.tar.bz2
gentoo-239e7c3cf8b394244d68aa650234f7d0a7802f1d.zip
www-client/vivaldi: Version 3.3.2022.36_p1
Package-Manager: Portage-3.0.5, Repoman-3.0.1 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-3.3.2022.36_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 186590ff4829..b184017b4944 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-3.3.2022.30_p1-amd64.deb 72524060 BLAKE2B c92691cf22fb845583767d7dc
DIST vivaldi-3.3.2022.30_p1-arm64.deb 65265588 BLAKE2B 288e3e2a31a2873bfa94796304d45a96da3781093039c044ee9303b134bc5cd7ac331638a052e58e5dbb629ff9154f8912140dbbe7777416235844c2918a70f2 SHA512 70a6d096e9cc08348eb0a0c3a8d4157b4aea5f6b0bbedecafd2589dc0af8ae4c61f128a76335464da0f696b12c57fa42ae1e15b08cc0f12ce6108e6031f6ab72
DIST vivaldi-3.3.2022.30_p1-armhf.deb 64302208 BLAKE2B 07b3fa9c9038cac66b294de8ee2234bcb070b2d36192b9d0cabbe116355b57e3a45c0ec93bb38feb99971de776eb6a1401e51b1bbaa61303ba6ddb0099714967 SHA512 38a47c229eba899e1a0963aa50f8929501d71444257b368e6d28ae0f6f8eb9fb7080eb0a268c673dad8270806f7cf0bede9c2e35516340f511e3d2e801d864e0
DIST vivaldi-3.3.2022.30_p1-i386.deb 70816132 BLAKE2B 0a3c20d8bacf45d170b3dfb5fe4261be6584df2546149868b4d338e47cd2917886e838d6a911cfa7eb932dedee70c166a532fe5111fd19c8b58ca384a05288ec SHA512 e0a36322b17df21528f8307b7d299232920482c60c48fa9ab1d1718831ab61f3c349bf362163807c85147e4f4e4e79a32f061901db251d9538a25c30994b21d2
+DIST vivaldi-3.3.2022.36_p1-amd64.deb 72541520 BLAKE2B a15a46527c6c79a25f5a904a7c41f1a39e4c50f4437c591a3aed56a7379283e82f23aceb0fd2b2a4ce9f6e3794407aaefc579e75fa908d0c58b0068b68109e6a SHA512 8cef54de799add06f3111de387c826070f5712cce0ce730aa167d8bca4a50f20a92e47bca554cb01db1b27c56e133bfb16a61f86fea87bb362dd29c0cba7745b
+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
diff --git a/www-client/vivaldi/vivaldi-3.3.2022.36_p1.ebuild b/www-client/vivaldi/vivaldi-3.3.2022.36_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-3.3.2022.36_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
+}