summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-04-03 08:47:23 +0200
committerJeroen Roovers <jer@gentoo.org>2020-04-03 08:48:08 +0200
commite113ba51143ae7ca567f7d921dc356d9182780bd (patch)
tree7ebea916e996c36349bcff55c7d85f15c27fb375 /www-client
parentnet-irc/weechat: bump to 2.8 (diff)
downloadgentoo-e113ba51143ae7ca567f7d921dc356d9182780bd.tar.gz
gentoo-e113ba51143ae7ca567f7d921dc356d9182780bd.tar.bz2
gentoo-e113ba51143ae7ca567f7d921dc356d9182780bd.zip
www-client/vivaldi: Version 2.11.1811.52_p1
Package-Manager: Portage-2.3.96, Repoman-2.3.22 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.52_p1.ebuild125
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 5d48a445e8a1..99dc6f8e0e8a 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-2.11.1811.51_p1-amd64.deb 65574688 BLAKE2B 1e1703a91b935514aff2ac44
DIST vivaldi-2.11.1811.51_p1-arm64.deb 58902044 BLAKE2B 7d54af0945abfd87f45bd82c3f8e6d15d9ac1ac936f049d3f8a867f4fde33e37d4fe7578d89d4e3d32e48aac26694a5900fe5cca9bd3df3d81ab0fa79d2ea0e8 SHA512 5c7d6975c48997898139dabe07f65d55ca7492c3e97160656d81a727fa3eec760f3eda33d284ad03bea6330706fcfb21649ae286666a503e300ab36e7d40f9db
DIST vivaldi-2.11.1811.51_p1-armhf.deb 58206588 BLAKE2B 4d1b0c8944f4cdd7863b45bc959caa62b0fdb7cce28d7717a8f6065258ba35f73e9f6c2d696881f9868136fa97301234f491d63d2c284ecc0030bc6633b4b71b SHA512 a419a8d74224f5fba7d98a5175db6b3fed79603e5fa10bb05ac3f0a0059fdd9a37b32c3d43115c9655825ee42343ab9812670467277fa8b1056e630183ad64e9
DIST vivaldi-2.11.1811.51_p1-i386.deb 64360336 BLAKE2B 42eae69cac740b747e18d420483c17da9f3fbe65f20459aeb74a28342a7740214b340f2d62034248819a057d2d06460ee079d729a9e0493611cfab050347695b SHA512 eb92e14822785428bc16aaf69f52f1c21170dba3d0523066b9348c7bdee307c277a1857780c2ce87ca58f71b9e2967bc20a65129dd795dbb5a97f1f8d2e28a14
+DIST vivaldi-2.11.1811.52_p1-amd64.deb 65571936 BLAKE2B 1ba4f021fd2ec0bd40894add98c7b2138548c13150fc5942d35128702976f8d6216d0832e5f641409754c2b1363198fe6ddd680082210cf19b597d6a294f25c5 SHA512 280e28334ae6b1c7b826ff816b143558742cb64cd8e1350bae6aaa808f72550d542504e9988977559ca42175b08949fb0c4902008d80fdb87fda7e3d89faab54
+DIST vivaldi-2.11.1811.52_p1-arm64.deb 58905032 BLAKE2B 276561fbcbf25b6a9aa9692f858abbb0f1106dca464dd2ba1ebb8d5217176a32b29e302a9dde99f10d520bf511d52d0bdd4dcda59db9e94137fbcf3590287532 SHA512 67929a0de3c0d2c70e6499940a2864869689b138ccae26bf2ee1250ada903afa21a66d83606d68aeb865820c97e7b829e1c2397c09fadaf8ddf502d9abb9cd9d
+DIST vivaldi-2.11.1811.52_p1-armhf.deb 58214992 BLAKE2B 49f6639e07358476dc0c6904f761d8fc9e20261fd7b537201e94945431530aad60efcc5295aa614a304df7c5a62e96cf7814013133f0e47c7e9369bfd3c8ad5a SHA512 42006b682f93dbd97e828cbbf430849b386d6afe1b52c3fa42806f00fe4f9e31e59d79edef6f9ee6291a27ef484febe932b91055315a2cbf8cf4da54ca659947
+DIST vivaldi-2.11.1811.52_p1-i386.deb 64350816 BLAKE2B 6c078e77dcf2c791b1af6d996631d8e9bd6a2b993a3307b0ed893de103f69fa7fd4cf085a0206b4c0578e6b9f8ad42502f59aceff4f9e0c0d83b3e1260a922d9 SHA512 3ad444afba982d0e4cc56cd6f3e65d560b1988996f7d71f7b92326dfea0a6274da0d8472e4f3e4f82e1557bf75ba73d5ec5585cc991b6c8af905793d5e5e6216
diff --git a/www-client/vivaldi/vivaldi-2.11.1811.52_p1.ebuild b/www-client/vivaldi/vivaldi-2.11.1811.52_p1.ebuild
new file mode 100644
index 000000000000..a156328cef54
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-2.11.1811.52_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
+}