summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-03-19 15:12:37 +0100
committerJeroen Roovers <jer@gentoo.org>2019-03-19 15:13:36 +0100
commit6517ebe2af5026cb9840f38c6c2267a92e62974d (patch)
treeca5521bc651135169d2efea31e403ce4b127fd8c
parentprofiles: arm64: Unmask dev-qt/qtsql[mysql] for kde-apps/akonadi (diff)
downloadgentoo-6517ebe2af5026cb9840f38c6c2267a92e62974d.tar.gz
gentoo-6517ebe2af5026cb9840f38c6c2267a92e62974d.tar.bz2
gentoo-6517ebe2af5026cb9840f38c6c2267a92e62974d.zip
www-client/vivaldi-snapshot: Version 2.4.1488.4_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.4_p1.ebuild119
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index b6bb95aea3b..6f7d40be742 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.4.1483.4_p1-amd64.deb 60423372 BLAKE2B a33ad8d3ff51d9660
DIST vivaldi-snapshot-2.4.1483.4_p1-arm64.deb 54197168 BLAKE2B 55210ff5a93a3c3ad76732651eed625bcec547275146b473d87b460f71761825b6ee256fdf01e58569e8404cb5e6904755602bda26dd7fd46695e3a32270d873 SHA512 6b9343e31a0fde207d1fac4ae5fabe3139888721f499a415b3ad38fd12887ec72f2d9ee716d85f94eccde5294f1f865d5682468d24f15e7bf4ec2610dbe31615
DIST vivaldi-snapshot-2.4.1483.4_p1-armhf.deb 53269452 BLAKE2B 4986084ab0900b9836bbe55f5a57baf737434a49450a81285dd7b532497b43c002f1532a935ef59a0b349d34718b785c4ca084aaa5b678b9d51d35dac83b0da5 SHA512 fc1acf7dfb0bb7e59ace96f1d788e0e426c7370ffc901798dc583f9d38410c2a311a6346bc08979c160c006537ab5a4aba79ef78ec8dd4db462e6216e4a34190
DIST vivaldi-snapshot-2.4.1483.4_p1-i386.deb 58491544 BLAKE2B 8859fa716217f3c387d2c75cc58199e929adda6e3a09e77a93ba633513b8970b185e0984b7149bf449ec2cec087263d9bf2e6f06c89309bf614275c8431c6701 SHA512 80f59d9a6d7578e6b24e1f2b4ed851d66a7c217b3bf1620684159034f28e8d073dc5c24fdacfe30b8a548fa4465a0e93dac1bcc65c05238ce36342a04fd32210
+DIST vivaldi-snapshot-2.4.1488.4_p1-amd64.deb 60446284 BLAKE2B 3018d0dde1d283ce07e1ce0148e65917d92a4e9c86f0ea10ff6344bffa7120bb22fed136b9c47e155e287336c787a52e8d62bef560073f0ec484d080f16b281f SHA512 2fc44b8f3de2205b13cee31fa162bd50ccb6baad675d020738364c0860475515cc74e3e4afb84dee69e164facf37039099fd8b559afaa6749705a7490ffa260a
+DIST vivaldi-snapshot-2.4.1488.4_p1-arm64.deb 54229320 BLAKE2B d12049ad241d070d613453e93f97c0eda31cce103c114276ff8cb6cc967695cc9b0605f27d9dd7b2d5c217a662e8205a0217dc464d5eb65df67b201bc48afcb0 SHA512 483be1a1f8850420ed484b0b9ea044f05863cb9aa55ba2dd6b6cc0b61387cadc72c0b9e849183ec086c55c5d698c989153f9df1369b278bdb3a97a3cf89a8a45
+DIST vivaldi-snapshot-2.4.1488.4_p1-armhf.deb 53316756 BLAKE2B be45bdb212a504efd32208df4f830dd35119c013da0e16c64275999748239d20f226ebb3b8b084cf8f9b12699cba37c96e8828aa02208a45bff0cef3f2a81abd SHA512 46a595659a807c5891038f1812def98e22989c6ce217a11adb258a6c53749e5ca6549e2a8e8aabacea3c0a71658516bf9786e5381633ab0fc698d42dba33afd5
+DIST vivaldi-snapshot-2.4.1488.4_p1-i386.deb 58541136 BLAKE2B 710076f37e9f4aede75e9b85232a81e4b524706279443b18632ba4742f3c29466823113d67e81ffc7d80ea5abf12f4990b63cc369a0894df4c27cddbedeab89f SHA512 a02e7808de53ef6862fbe07ab44edb4e8529496ff76c6262cb931910ced91136839f6d74db8cb9824be240be3ca504ceb3501228cafc7de9942a8cfa1ff08ebd
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.4_p1.ebuild
new file mode 100644
index 00000000000..91bde2d5746
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1488.4_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
+}