summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-12-04 16:29:33 +0100
committerJeroen Roovers <jer@gentoo.org>2018-12-04 16:36:20 +0100
commitcd22fbfae2b07f0873e28b490de500ce0daef8b9 (patch)
treec33721cb44ad70fc7fbc1855d820d6243a7bc474 /www-client
parentapp-misc/elasticsearch: bump to 6.5.1 (diff)
downloadgentoo-cd22fbfae2b07f0873e28b490de500ce0daef8b9.tar.gz
gentoo-cd22fbfae2b07f0873e28b490de500ce0daef8b9.tar.bz2
gentoo-cd22fbfae2b07f0873e28b490de500ce0daef8b9.zip
www-client/vivaldi-snapshot: Version 2.2.1386.4_p1
Package-Manager: Portage-2.3.52, 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.2.1386.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 d93a8906be8a..74dc52487518 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.2.1373.4_p1-amd64.deb 59208860 BLAKE2B dfd03e21ac4849e96
DIST vivaldi-snapshot-2.2.1373.4_p1-arm64.deb 50980848 BLAKE2B 7928542d757c3df2666ded08f7c95f72f36236ef483236080e3a1f3121dd17ce021b9a501295a72cc0a6aad40c1ae13e02c97bc7329ac9a3227200c7b284d318 SHA512 80f48e62e81d24a9e59ebbf13461fb684ec42a63078a8db7d2257412d244c99d4b61f436af0f292dda50e6193ad207d4cff94dbcd95d6687d54d20e5468a5db0
DIST vivaldi-snapshot-2.2.1373.4_p1-armhf.deb 51814920 BLAKE2B a0a46bbda2b967f70a3ee4adf18e4d04ac78cd8f2296b897ff624c6a4a27ff5a0fd52787164d701976634c9f4b1830f65e9a934de6ed9ca781f84145003734df SHA512 d5fe99e8b0c471c045d46a79869ee65937b8c760826c1092766305895481e5ebb89cda997e1c3a44020b854d778580334bb0cad9c38748e33841802b47c98574
DIST vivaldi-snapshot-2.2.1373.4_p1-i386.deb 58089670 BLAKE2B 1880cf00ac6348c340d99647b1ad6542a4077bca95041a375224f0f1346a8aad42d8e019beff8bfc1ee399edc877645b1e10860f629448a495448f61b006da3d SHA512 e3c5f64deb9234b91ea7aa7fb56627d6a52daaa589c88ab48daa849e5e51d22f737d5dbb2bd38d5895a6904b1fa525a9ee4a99461532df876a729095ae5e3224
+DIST vivaldi-snapshot-2.2.1386.4_p1-amd64.deb 59257798 BLAKE2B 1e098cf2a3f9e0ead54c52488212b461fd4b2698449e6737dfb4da9872302579a77e449001e2281e6d89acbf34002767423ce93a5bd38d94cfa8f49ec3e28f57 SHA512 b7abad25772fbb33601b2c1eb4dab684c7efc3b524aa4667ee9af13840dc3780405cdb0865df031574dd5bcf65830e0b64db7b295979813b08ae4251725bc8db
+DIST vivaldi-snapshot-2.2.1386.4_p1-arm64.deb 51031658 BLAKE2B a550d90552124f9f67d1b60398e5824df7eb89ba6a0c9d0037fbb81b30886e0f6c1a979c5d625261754049d2c52342fb98bb458e63c8bd66aba0ae76dff81a3f SHA512 51dac08709c879c7bfa610a8ec048925deb093b9626b98885f09a7ead6f5ca41d006cb8caee5be8a806667460e14a743f0579d69b8b5cbc480d8da16f4174918
+DIST vivaldi-snapshot-2.2.1386.4_p1-armhf.deb 51857950 BLAKE2B 69b26b7f40f1efff4c551b0c5c0e558806f859040232745562207f440ddf502fcb461fad2f4c103a218ddf478e7dd30a8ec63051003b696faead42d5110f2dd4 SHA512 86dc8127c268ded5d415254dcf0a1e01e092b831cf108b88f27c7b9ee88e94390757c45c8de7432dd59da1b2ed28972764fc1308bcd31d4d3994c090c808ffc8
+DIST vivaldi-snapshot-2.2.1386.4_p1-i386.deb 58127370 BLAKE2B 56ff10c7231595facf72f00bfae0aad33b722e9abe8004cd5e37113aa1f8386b684fce3def0c5e791154f3160fabb096df21896f0e2cbac23e25a5b3ca53c159 SHA512 f4f96a7a1941c4f733e77a21f0686a9c6dddc8df18acc14a34353dfb9300a60b6eb48a5eb44b83cf3d878f121b9d7750f9aa6117c535dd1dd5b158d87c68a647
diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1386.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1386.4_p1.ebuild
new file mode 100644
index 000000000000..b45ca4cd1521
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1386.4_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2018 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+:2
+ 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
+}