summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-07-23 08:26:22 +0200
committerJeroen Roovers <jer@gentoo.org>2019-07-23 08:57:12 +0200
commit1b84029f63daddec486462a205123d0eb364ed6f (patch)
tree0af43d66d7264974c1fa5bc491e7abd7ea460c49 /www-client
parentdev-db/mysql-workbench: cleanup (diff)
downloadgentoo-1b84029f63daddec486462a205123d0eb364ed6f.tar.gz
gentoo-1b84029f63daddec486462a205123d0eb364ed6f.tar.bz2
gentoo-1b84029f63daddec486462a205123d0eb364ed6f.zip
www-client/vivaldi-snapshot: Version 2.7.1609.4_p1
Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest3
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1609.4_p1.ebuild115
2 files changed, 118 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 6fff4b37204a..fba6f6042a6f 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -5,3 +5,6 @@ DIST vivaldi-snapshot-2.7.1587.4_p1-i386.deb 61721364 BLAKE2B 5f3ff5a4bb7ad18e1d
DIST vivaldi-snapshot-2.7.1594.4_p1-amd64.deb 63360196 BLAKE2B d11ac4318a0f1e1fe705233bf877f7ede53e0769a75ca831f5d7c638f9fee0e1384802d2b75d927d08fb5f94da1ee89e4c3db089102a53b4a945dc271bd73a0d SHA512 8389367530a52078d6a7181bcfa52df0952c0fc1d405829f4cea2492f5619fe7eebda8560329ab734062e445337ae3470c577639962fb97ba77eb3758819ef20
DIST vivaldi-snapshot-2.7.1594.4_p1-arm64.deb 56749152 BLAKE2B a396261e4e66c532cdf912807bc3ebf9d2674a9abfd4fd3eae6c307f7b1dbf9a5ca610d913944adeee8358130769370de746f18f63aa530b4106e8da48e2a61d SHA512 395b4cf6bd373a0d2eceac1058c4abc6443d977c3d5ab1737147c9c011703d1d28bad62be4d9efcfbfe74373827ff799d2da5a45cdcc8dbdab250ba044c47218
DIST vivaldi-snapshot-2.7.1594.4_p1-i386.deb 61820800 BLAKE2B 33826c95c1fbd592d94f284d66b261b656643877291182553cc46258da773329888fed803ee3c3577599d4b04d884f2799be15e1cc42bbba681edc6787866598 SHA512 46b17e2143b811ab5c869df1af5bc6b1f78ebe495c3076a5bb58d4e0b5332abacc4b11d2678c763b555f178e48b4a36f6fdc27e4a1daab0305198eb83a3bf259
+DIST vivaldi-snapshot-2.7.1609.4_p1-amd64.deb 63404516 BLAKE2B 805e72623bb1038fca9756b02303960accc015a6d6d588c4168b6ba8fcd97ceba9b24f7caf58174f02ee63a22be184831d2ca289557c091080860be1436c2c63 SHA512 d77293acb3e854f4f7be73a54771473fb2d58998114d21773c468da403139991c64ba9c2b1e75e6243e485476bc85c963784e7be6a5d032877b22f88bd19e35a
+DIST vivaldi-snapshot-2.7.1609.4_p1-arm64.deb 56789920 BLAKE2B e29d843cf36f913e0dd9730d6532da987e67f5094236e612e98dd75ca7cac47e3f22b93a96a042eb1bfd7634519bae6f7d7accee4decd0404b3c3a3190e0ea5f SHA512 1e226331b9fd2f0419c149e9a9e2ffee431265f834bfd36e332272624f16ebfb41418968df86f5e9f11a0a61792ef8673ec55c65c17b57675fb67ff0960f921a
+DIST vivaldi-snapshot-2.7.1609.4_p1-i386.deb 61848180 BLAKE2B 01a59545d0dddad331d49b1d9b859151c3689f4c091bf02d252f412e81546e73a67c30e8359234541b7be902ae386d9e9e8208fd2ba46912bedb8a41887f91c8 SHA512 b10a16f7cc61e1f9c7e30d0a0e5e6c2ad93559c0ddfbb45d7134ce86cec55642c857996136c000583fdd9ebb4d592d796991aec0b5bd4447dc996c6e2648bcd2
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1609.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1609.4_p1.ebuild
new file mode 100644
index 000000000000..3777ea957e1e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.7.1609.4_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 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_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+ amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+ arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb )
+ x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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/${PN}.desktop > "${T}"/${PN}.desktop || die
+ mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+ mv usr/share/doc/${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/${PN} \
+ ${VIVALDI_HOME}/libwidevinecdm.so \
+ || 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() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_icon_cache_update
+}