summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-03-26 10:46:07 +0100
committerJeroen Roovers <jer@gentoo.org>2019-03-26 10:47:09 +0100
commitefc57ad27b822fd2eb4b897c6bf0c92e3cae1aa5 (patch)
treed561adfc1658461faed5832eadb2e528d5e98b97
parentprofiles/prefix/darwin/macos/package.mask: mask llvm too (diff)
downloadgentoo-efc57ad27b822fd2eb4b897c6bf0c92e3cae1aa5.tar.gz
gentoo-efc57ad27b822fd2eb4b897c6bf0c92e3cae1aa5.tar.bz2
gentoo-efc57ad27b822fd2eb4b897c6bf0c92e3cae1aa5.zip
www-client/vivaldi-snapshot: Version 2.4.1488.33_p1
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--www-client/vivaldi-snapshot/Manifest4
-rw-r--r--www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.33_p1.ebuild119
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 8e937cc9d4e..a34791e551b 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.4.1488.29_p1-amd64.deb 60449884 BLAKE2B f2b8c618b14ba0d8
DIST vivaldi-snapshot-2.4.1488.29_p1-arm64.deb 54262208 BLAKE2B 90a189d18f1a2c3d23c0730e2a085f56b073a60e40a4d9f181241e03403c8a36d9e388c625503af489d48412af462188829b95c6a613ede42ed5db2adcd51038 SHA512 f7b7957fac745991a6950fea9675494282df25faf15d457f9cb11cb4b601888bd60b986b8fe818955947ba0bb6e9a9f301544e997f1ee290d9e272cfc8d51313
DIST vivaldi-snapshot-2.4.1488.29_p1-armhf.deb 53326824 BLAKE2B 6ffaa46224915d0f0e9a967e6118fc302eb5a2e6006d6b405bd0955f44eaade6df32e7facd2159a101dd2683190887a51c921cd4f67b5d5b9ef278eafaabb1b4 SHA512 876f3767d5781b698b3a3ebc6a35ed662152225803d356f2df4523a8eda0587a8a550d2adb5c349684df1deb300944fc2dadf849d205ff9c40f111fffc2a2ebc
DIST vivaldi-snapshot-2.4.1488.29_p1-i386.deb 58535580 BLAKE2B 80181ec97633ff184636a235fcbccb9a3e8ca02219f41da1cbd7a5d9b6cb9dc26a637d6065c8834fa27fa513dc35fda8d81ac9c922402304b17f6268b162e44a SHA512 98afb8f28fd58b06c0b9b212c34fd23647067341c65a1e6c600ae3c3c1cc5858733a74e291c77011657fcefd3167278aab21d26b2d9144b693df4fcc86f01cae
+DIST vivaldi-snapshot-2.4.1488.33_p1-amd64.deb 60494336 BLAKE2B de512822576955ac91aa0695ddeb5d4f7463d53afccecd2641d14f82d22d0f7a8e33da1965d8ab9860e1122a36cb1b88cb73267e0d5df7fd8c35c6eaa18e49f3 SHA512 361f648b45810c8c29433127e8ec2e49778360385d54cc4d4a064b6b6ba5521eb6a908abd48ffb5afb2bd2b6e74103b875c8750b62559be3c3d6c7a52d15a827
+DIST vivaldi-snapshot-2.4.1488.33_p1-arm64.deb 54273992 BLAKE2B d78724a8a6bb2fce301c4f87f2866335bb0e0b836e3fd9667c616c6984ec8c18d37beeaf4c6a7a1ba585141ef3fdfe4fa1fb03123e5b68ec080908f07a76ff52 SHA512 1527e4231ab91fab4f1ba765bc62782a32f8a29c57481543791af5e545e17514e9ea5ddb46682134774fc28c728e42a6f963a8b373be0a620f5b4e147a2a6e71
+DIST vivaldi-snapshot-2.4.1488.33_p1-armhf.deb 53340180 BLAKE2B 73c045507e2ac39c2c38c4125e8e41c5a0f0db67815e9196b3066c653574e9257f4e68d4251e6ce659b1b2a0986ec2d888c513015a779fd2f6e5cdd0e7fb0bc7 SHA512 2de2af1e774077b0380b092b32a28cbdc35a488ca72203cfc0135ae14caf15299f704942cd7714cb4a67cc66c7bea9e7cde846f4fe1e3c76bbfe0aa0e584211e
+DIST vivaldi-snapshot-2.4.1488.33_p1-i386.deb 58546092 BLAKE2B 7bf9f76848a8d446d20028b39306ee5c1573c96cfd9df2a670cf00baa8edc95f53f3c337d3cc3f1a149b7d5b21c4876b66255b01caea85ff610f02774c779e97 SHA512 269a206b68276afa3ae5f361e42ba6e42dfc769842b262c2badc224510620c7446095ca20c84e63b75f65517813fb463fc37f1dcd7f98a7be424d61a2e2b4b14
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.33_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.33_p1.ebuild
new file mode 100644
index 00000000000..91bde2d5746
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.33_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+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 eutils gnome2-utils 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
+
+ epatch_user
+}
+
+src_install() {
+ mv * "${D}" || die
+ dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+ fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+}