summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-11-20 15:44:51 +0100
committerJeroen Roovers <jer@gentoo.org>2019-11-20 15:45:02 +0100
commitf0522459c87177c88650a59854b877b945c9f399 (patch)
tree71fb82878fe0dbffc0451452f1fbe2891ddcf1f2
parentnet-im/bitlbee: Install pkgconfig to /usr/$(get_libdir)/pkgconfig (diff)
downloadgentoo-f0522459c87177c88650a59854b877b945c9f399.tar.gz
gentoo-f0522459c87177c88650a59854b877b945c9f399.tar.bz2
gentoo-f0522459c87177c88650a59854b877b945c9f399.zip
www-client/vivaldi-snapshot: Version 2.9.1732.13_p1
Package-Manager: Portage-2.3.79, Repoman-2.3.18 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.9.1732.13_p1.ebuild115
2 files changed, 119 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index ee3672ccc62f..fd252b95ed47 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.9.1719.3_p1-amd64.deb 65603296 BLAKE2B fff0c9a02da8414c3
DIST vivaldi-snapshot-2.9.1719.3_p1-arm64.deb 58756604 BLAKE2B 59c5378ecde77a6a639c50752b6d48bb90a00a2f468948351a5c87f7fe51f3c436edc7ec73103dc7ccdfbcda2de01b9d8fbc587cbefce1a1b697a5fb39d0fcc7 SHA512 c519a3ce0031add8c92ea065552669ac1892a192371a2202d5e03bf7e0781a73e33c57020c7dc06d786fb1eb785a02cde9f210e271f2108e0827e3a3a9be4ddf
DIST vivaldi-snapshot-2.9.1719.3_p1-armhf.deb 57903708 BLAKE2B e13adee03a648ee8e67aba2ed2c529592ac5c1bcfe43d471886ec0911c5c1d84f858897e2bad465eb54889e8949827065b4a88395cec40e6af9088397165ae57 SHA512 26d91be893c666f99063032e561da6b3c13bdef3a3653a2a6144364c519830dda71aa0f6a2f33016c7b67835fa514e4eb2486311a752c88d5d1c2c3e79a22e68
DIST vivaldi-snapshot-2.9.1719.3_p1-i386.deb 64095356 BLAKE2B 39f60e3212a249e9fa5db0154e398169a2789bb8b615d01541a8f061db7390589b1a494d4c46dc57e4697a29bf4589b0b25708b242e05769ab9b2b6103beae63 SHA512 c1a8a4c644eabd128b40d16603defc131d5510080a22dadafb0a943e0bccacbcc035801f2b393ffa1bfab5d7fcb77776ec1fa75d2a1de5c1908e6a746e85453d
+DIST vivaldi-snapshot-2.9.1732.13_p1-amd64.deb 66795692 BLAKE2B 08a0d915dd3ecb0e89f2173d9c9614ce9e800ad84d823da3c87d0c91e48f9438d9ba6be1bbcb5d7bd266dee278ca8fac6ce48a19a021163232b491962cf85630 SHA512 b4ab7459bce6b01a305b0a4401591b7893c0a879b7585691770c7885d027df3d4a0bc0d34837ba253f8717c0aac9ab67c9d69f75e99f071bfae02a419fd21e18
+DIST vivaldi-snapshot-2.9.1732.13_p1-arm64.deb 59646684 BLAKE2B e1d2454769960e35574a8b5ed318ecdef6c497b7f55b173507c99df8d4eb862cbcfd31ea44d2a7918e5320a9dea964e2072a2e093e11d4fdf5f7cfa6735d13d1 SHA512 0b10804559fc26992291c8889dd8d9d643981da6cb1eed35f0227c77b2f921e3cd8832253763596b6157044984bcecca7cb29ac20b66fe987dfeff702877efa1
+DIST vivaldi-snapshot-2.9.1732.13_p1-armhf.deb 58934272 BLAKE2B 91820e2de5aab0e838fff7e35635efa7d4cbe34b08e1613319670addbd1dad063bd845bde44a7dcf592a59c8b96ab8f292482ed263e6922abcfb2a972d23f984 SHA512 324e310bee74b22e2ccc6e794bb548796ae3f087b3a0cff344ea12f94b4095bf9419cc214aff263f93a89a87838789c68adfcff786b2675743b19947232959ce
+DIST vivaldi-snapshot-2.9.1732.13_p1-i386.deb 65226832 BLAKE2B 1b790e7df9072ce6ce28eda4beb8e554d033eedb2660659ae31b7a84cb8c5c24c798a0857fea017e045897b5f68e9448b68cb21a6128a0ff169306861f7ac9bc SHA512 809b98e446598b6417df8924a4c712318edb866f0a953286b63e4fb9a2ce6b3678bedf1a12e61325a06712900458757ebb7e19d706c97ed875577d5f308fdae2
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1732.13_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1732.13_p1.ebuild
new file mode 100644
index 000000000000..8c33fc17af49
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.9.1732.13_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 )
+ 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} \
+ || 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
+}