summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-04-02 14:34:06 +0200
committerJeroen Roovers <jer@gentoo.org>2019-04-02 14:34:36 +0200
commit2336a1c8195ebfab2fc2443fb747afa53ba989df (patch)
treed874787788f670984169897d9310efc5aa4eb547 /www-client
parentapp-portage/emerge-delta-webrsync: alpha stable wrt bug #646212 (diff)
downloadgentoo-2336a1c8195ebfab2fc2443fb747afa53ba989df.tar.gz
gentoo-2336a1c8195ebfab2fc2443fb747afa53ba989df.tar.bz2
gentoo-2336a1c8195ebfab2fc2443fb747afa53ba989df.zip
www-client/vivaldi-snapshot: Version 2.5.1503.4_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1503.4_p1.ebuild116
2 files changed, 120 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 8d6e318bd294..b7c5a0fc8c15 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.5.1497.4_p1-amd64.deb 60478084 BLAKE2B 82615ce834eb67729
DIST vivaldi-snapshot-2.5.1497.4_p1-arm64.deb 54261672 BLAKE2B 888edc80c20fc39c904f07439001dcc2ef9754f29f5e033eecb97916a5ec3864520ce958bcab328a3cd1f300aac474de98559cbe35d92ea073bbb85dd79236e8 SHA512 c4ab3a50ee61e7198c68444cbb64dd73ba827f475f45b916e7f593459c0f83a1c24e08ec1af6b597bf83e92b8ec502e75f9dce6123ee3dc07f19e2dffb2d543e
DIST vivaldi-snapshot-2.5.1497.4_p1-armhf.deb 53334108 BLAKE2B d33d0b726388121af12428060c83cd8a9a6f61460030a91292a9e107809434e541126cb429c70663cc984002170fbcdbe5c8442166e4c3f892d9652f7394e6cd SHA512 4dddd1f0e265be31e2cb05c69f2ec5f4cb80157b6e044a397cf82460515c966d44eab540c810e872b85f3a3c49aabc01ddff92179658221c5042c61aa8ec06bd
DIST vivaldi-snapshot-2.5.1497.4_p1-i386.deb 58552468 BLAKE2B 7a6368feb0237bbb9c3938392c6ace6a53753e0502b241b7498afc51e58977caae1cc6488f23bf5a3f493a2d5e064fdf3c26cd65044cfa1aa489ff9d787f645c SHA512 16606cd13b88955ba69b4a02b59e89f27152279b594c08099df7109ae93838462766b5995acefc3d0a20c0a85f99fe5b3d6c40e7065d457d246caa352ded4911
+DIST vivaldi-snapshot-2.5.1503.4_p1-amd64.deb 60477776 BLAKE2B 2092717c7a169037d80187a86f199c0504854fe424426c241a98ce9f7f1c95b328da917517425353afda09384328d9ce248a4dc894da1b204263372a00d19868 SHA512 5e86b669a5a8d6e53a43dc852fa1c90666cd9224e663d98f474a9a436add730df04d4ac59c3c954b2c73567c3b8dffa09360d9113eccf1dbd12c09ce528ec37a
+DIST vivaldi-snapshot-2.5.1503.4_p1-arm64.deb 54269204 BLAKE2B f15443d001c6cf6c4b269b53edf770870fa23ce823da044c3884fbf6643dede3e537ef968d5cb1d79b8141a53cf62e23dec4769b27839abd9d035a59dc75460d SHA512 c29d0f85f5627d12fe684d1d3ba2dd0a6a5680983e695e204204908ed239f17c79b2cc66e398b4f1d67324fa4675b5fe47c5738e23176903bd2034bf0bc35649
+DIST vivaldi-snapshot-2.5.1503.4_p1-armhf.deb 53342036 BLAKE2B 59468b2da517f587ebf7c00bc119a4c1e8c229dd07a8106ca8548b8c3c80507c6504216614d95c98cd0b2af1581b1f1c4ddd68535984c02aaa4f85fb88c84f9f SHA512 248bc6f15cc29d288143ac6984eef4b9e3fcbe5697bcfcb1f4a93a6435447fdffb59fa8881e0fe2e6732afc743512cf393297aa92fb752c320fd73fc55d8fcb0
+DIST vivaldi-snapshot-2.5.1503.4_p1-i386.deb 58552696 BLAKE2B b85bb60c2488e71486597d49e41018d10ca1e551f57641bb61ba00480cb204ec5027dc5c3a7acdb78e85f4714e946771edc74bc00e54543704725fd99148c88f SHA512 6c0738b923e41e9d126f649fd82af93c2bf2f94989ecd10f50615e1873fc7297a45f45a50df4e22288ffc8ee641e11b792136ab61ee101c2732fc8b85c17b544
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1503.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1503.4_p1.ebuild
new file mode 100644
index 000000000000..61f30aa09661
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1503.4_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+CHROMIUM_LANGS="
+ am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+ fil fr fy 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 )
+ 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/${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
+}