summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-01-28 16:41:30 +0100
committerJeroen Roovers <jer@gentoo.org>2019-01-28 16:42:43 +0100
commit98db7f50ea896082d00065e8b9fa753b0997e8ec (patch)
treebf3653fbaa3629f2e18b39236eaadc416004063d /www-client
parentdev-python/pyicu: trigger a rebuild upon dev-libs/icu update (diff)
downloadgentoo-98db7f50ea896082d00065e8b9fa753b0997e8ec.tar.gz
gentoo-98db7f50ea896082d00065e8b9fa753b0997e8ec.tar.bz2
gentoo-98db7f50ea896082d00065e8b9fa753b0997e8ec.zip
www-client/vivaldi-snapshot: Version 2.3.1440.4_p1
Package-Manager: Portage-2.3.58, 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.3.1440.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 5bbb45851c49..501b5b46a32b 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.3.1435.4_p1-amd64.deb 60053830 BLAKE2B a27077bff1f6c9efc
DIST vivaldi-snapshot-2.3.1435.4_p1-arm64.deb 55518226 BLAKE2B fd0762af3c632b59a0784008e479fcf096d05943e9169019d4036367b5d52230e1e9754121c4cd09821a35e3604517e8f3f62921c8446fb42a421b489aed0d58 SHA512 dbeb57f4d603e1692a4c9f3e73d2d415f4a908872afc3d44703d50d3ddec3f3e9ca4e36c9f32c93f6b86facbec279e53f2e12d91d7d1dbd4793072ed1dad18a8
DIST vivaldi-snapshot-2.3.1435.4_p1-armhf.deb 52637338 BLAKE2B 614f0c2c32b9fa9cafe44aae2971b11842fc07d9ebc78651c6824d5155cdbfc0d8f8f2f0e1a9b29baf1c1d13a66033535f22c17f51b10cef906a2666e1120b5d SHA512 c7724e82291c0c219b017d62bb3227115aea8ba2aa5227c30d6eca508c97e8324aa8bf5f979b418490519747f21602402c08cdf8f4f953c6e3cf887b82409d84
DIST vivaldi-snapshot-2.3.1435.4_p1-i386.deb 58230554 BLAKE2B 32b11af7c021d8326b1d4924e1047060db24e04da6e943f070528db18425c9e4d0155740b94086efacadc97ec73e49495a0bcc1d9c2062239f240c25e8a05c2f SHA512 4694942262e79b2628e845ef94e16bc881015e0deb2bb93e5b25862e5f6fb4c2d6a1eefe013512c48de0c18e907efba8b8a545610b9e6c5eb73eb93b00c826d0
+DIST vivaldi-snapshot-2.3.1440.4_p1-amd64.deb 60081518 BLAKE2B 35c80dc7437febc019e5db3c1ba34217d8a4107c93cab64d44b07adaafc6505a18b14412ce1f08bda39d3045069d8e29573611190037e73d53686184b0ebcd82 SHA512 ea35cc1e3f39c484442a09d8be676308ac49b11e140eaddc2cdeb4ae1c5ef5cb41ef9ba6f13b1553e560479616fbfc502367d7fa6ac28326912cfab45ee34227
+DIST vivaldi-snapshot-2.3.1440.4_p1-arm64.deb 55537426 BLAKE2B e8d8cbe6594aaa98e694ccb86412314ab8f8a91ceaf7481a4dd42487d41ca3509895cbc81dc327ad89acfb7eddffb85815e9c082573966c5d69a2d9c9ab4005c SHA512 afb3f52a607abddeb7b2172775b72990a987560ef23c94f313bfc6af5fb2ba7555999b77c90b6117d9077b01fc3a9f4598f605630fff273df01dfaba434485e2
+DIST vivaldi-snapshot-2.3.1440.4_p1-armhf.deb 52643462 BLAKE2B da86e557518f69bbafe6c9214775ea5a74e3953eb03af6c05cea01f989ee0fabe2b6b3cc3eaf01428c661945ee57cef83a6284a4ef7ae4b1d8dd2f0be386d272 SHA512 ffb3bc7952d857ba39e9b2b1ebf977e09c7a268adaf94cd8eba030c7365d385320e8bc7afd7c3160b0de6f5edbb89220f80e13354f3b43e2864a3773f944a3ff
+DIST vivaldi-snapshot-2.3.1440.4_p1-i386.deb 58193634 BLAKE2B 2202d72b6a9687b08342f1c2bf6942cad1759ffb8ad6e579e43f67dae986cf005374d703ffed95063680aa91d6eda8b2482dfea8f61c42a17439a8f3181f237f SHA512 d532f10d5aa67f9b75b248fb276395c6e44914f7d3ce4969e36c9c3e3dcd6b797a72331fccdfdc24561612e790cb2528e9237db3eb36ddf57cd13fb4f7953683
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1440.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1440.4_p1.ebuild
new file mode 100644
index 000000000000..91bde2d57460
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1440.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
+}