diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-09-26 11:03:28 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-09-26 11:03:28 +0200 |
commit | a18bd64594b741e743fcb3ec173ca74a71ec543b (patch) | |
tree | ae7fb7eb40d73db631505da3c9786abd7cdf92bf /www-client | |
parent | net-dns/nsd: Removed old. (diff) | |
download | gentoo-a18bd64594b741e743fcb3ec173ca74a71ec543b.tar.gz gentoo-a18bd64594b741e743fcb3ec173ca74a71ec543b.tar.bz2 gentoo-a18bd64594b741e743fcb3ec173ca74a71ec543b.zip |
www-client/vivaldi: Version 2.0.1309.29_p2.
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.0.1309.29_p2.ebuild | 127 |
2 files changed, 130 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 3c1c685da17d..ee23179c58f8 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-1.15.1147.64_p1-amd64.deb 52878648 BLAKE2B d08f55f4e2e3a831d4a50a7401eaa7385452f47f28d1194cf8549f27244bf2ea0985d77602149be20b0eba6cecf6acb28d7f3029b19497db7063198f4e09a856 SHA512 f9f2d4073d87a57bfcf28d3d51e78f45a69e4db86c44eb9fb89bd1fcf14561239f90f112f8c07d0004ed740fe2495d10c66f49bb7d99f9c104f28df38d40013b DIST vivaldi-1.15.1147.64_p1-armhf.deb 46832630 BLAKE2B 9daa424babfb71dcaba253a98e88a3aba1cbcee9a1aa870070b89ef58a48bd01dc54d3de0e9641b3f1b43f7523ad13a3a873f300304b60b2a8d86b0facdf2125 SHA512 8159afec10f8c6584dc8f28350fe30de155977d1e7b14a269bdd0bf3818a39381fe341e0fadf0d9cc9a683d9c4e2115dc3ae796dca41da4efd4703de572734ec DIST vivaldi-1.15.1147.64_p1-i386.deb 52496664 BLAKE2B 3b246203e11c0654bc455ca96194e236c931453f4889fb474a07a0875358642c57425f208ca3a739bdac76d6bb36982c56930bbf290983e666dbc165454dcb8b SHA512 7c5278cb3341bc8932d82005b062324a71fd025e67f3c5d9eaea83ff636a5b7462c33e2cde6efd37e7095df2a229a4dcc8a82b27bccc61905f46a19163134fc2 +DIST vivaldi-2.0.1309.29_p2-amd64.deb 57575078 BLAKE2B c35cadec153f8d00f55ac5e30281f15bbe60ed9051753787453224fc44e98baa63e67613e59e947f80586e6289c518fbcf9890d73102135bd7ed0612345eaa05 SHA512 5c07c13a2c6b5a8220bcd618796f0acdc363ec72af885939ec515e622cff5b5efc0c3b5818e31fcc668d590a1a13576532c8872dcfc95f7e99a57df50e828ef2 +DIST vivaldi-2.0.1309.29_p2-armhf.deb 50850396 BLAKE2B fabc41a1e19b7bde4c824e8ada8759d2268bbf4ea5e9894a4cf17abb5b75ee66ec6717bbb5fcbe7c20e8ae41caf5870a8dc989446f607cf3448e8b20152fe2f2 SHA512 2637911ab51a9150d586be6bc61cd5f82b1f8d98b094b5d92afe3170245b317525936572106192e3265f61c993bd8eba7f0c9fc46ba98d02768f358dfdd62557 +DIST vivaldi-2.0.1309.29_p2-i386.deb 56864360 BLAKE2B 82f243ef0a6976bc52a66875d59ce9f1052dd1bb727fd51d7fa000b22d37c2b573a024b6b90c794825090a153dd91aad408b8387cc2371f866827d049228a05e SHA512 9ef2001b13330695530c1b318107c4db6738b75f08877a53ae1ec1e32fae7749006f770b0a4381df6bfbad500033e73f9d68b855ca563d2cab9c64fcd20cbdc0 diff --git a/www-client/vivaldi/vivaldi-2.0.1309.29_p2.ebuild b/www-client/vivaldi/vivaldi-2.0.1309.29_p2.ebuild new file mode 100644 index 000000000000..5978d2dcb6e5 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.0.1309.29_p2.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi + hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl 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_BRANCH="snapshot" + +VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" +VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" +VIVALDI_HOME="opt/${VIVALDI_BIN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.${PN}.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.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 ~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/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die + mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die + + sed -i \ + -e "s|${VIVALDI_BIN}|${PN}|g" \ + usr/share/applications/${VIVALDI_PN}.desktop \ + usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die + + mv usr/share/doc/${VIVALDI_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/${VIVALDI_BIN} \ + ${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}/${PN}-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 +} |