diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-03-22 17:47:33 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-03-22 21:20:48 +0100 |
commit | 6d909eae484d077eb0c05e7ac651632fddec659d (patch) | |
tree | ee92b8fe8b5c23855c38e20e0eb73aaf6d69e661 | |
parent | dev-ruby/nokogiri: Stable for HPPA too. (diff) | |
download | gentoo-6d909eae484d077eb0c05e7ac651632fddec659d.tar.gz gentoo-6d909eae484d077eb0c05e7ac651632fddec659d.tar.bz2 gentoo-6d909eae484d077eb0c05e7ac651632fddec659d.zip |
www-client/vivaldi: Version 1.14.1077.60_p1.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.14.1077.60_p1.ebuild | 129 |
2 files changed, 132 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 3f1619bb2132..46648067bfea 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,3 +1,6 @@ DIST vivaldi-1.14.1077.55_p1-amd64.deb 52307562 BLAKE2B a8f324b567018af12c18b4af49e1226f6d5be14e65d2f43683d63d8012591f17832914014b95916f307709545dec77be8a7296d86574cc0e1b2677c95f6b076e SHA512 a3c86e8da67dc5c6fe84fec30420d73182a63f59322514a961b7d573ff44fe5c68bb14ee2921870b2c7f30359c46e0a2583a00cfefde075cef2e3e3e1d78e89a DIST vivaldi-1.14.1077.55_p1-armhf.deb 46372028 BLAKE2B 022bbb4a60535f99275ba6223c2e5956b5363dac145d00d1b8f46389b6904c1665a36ce609d3b538bd923921879a2743e6912cbb1e6d10753f98ae3b58e596b3 SHA512 7801475b385d25f2f96800d0b9252a4a04aa8895305339c9dd20ad6af75adba0ad9f83e319ce90da51850664c455d2e1bd3b8e0e32c17c5eb0532b1bdb062bde DIST vivaldi-1.14.1077.55_p1-i386.deb 51936812 BLAKE2B 460cdd7d1139e2069f96592d0b22d312a7b071448cc9b4c09dfd3057e141b2c515b8c4919825758d8575f986a9c2929bed9feecc0ecd4b43bd229ba7a844eebb SHA512 8fcfed4969093be429902679c888f07e0e06bfa645e5298f3f77cc4e631c53ceace62d3aa2d100e56d30c8c8885cff6e598014b3aaffd68b382bbd7b94874f10 +DIST vivaldi-1.14.1077.60_p1-amd64.deb 52308364 BLAKE2B 164bbbe34d9702e4be9632f2fb457516ade647b69bd56a1480e4ef7c7f4d569a61848d85386dadb2b9a5095ba5e2926953c242d6eee4fb692bb85cdb66cf20ac SHA512 e2ef6e8e734d7191b35d72fd1b4fd2cbc9974a6fa556ff416e3b3908d9418470c661adb1963eee2e5454cb6521ca8a110a08cd9a78ab6f8b4a03e5225ddb8e95 +DIST vivaldi-1.14.1077.60_p1-armhf.deb 46408356 BLAKE2B b6e1b5e8d83127aecf2af264a8d61bc49b916c20d1e8c01c582f89a21799855720ebec2617b3047185b7ca289234e4b2be8a2cf6b13f6454096672a4b44292e5 SHA512 30da3805536b1dc068c4c86ef1c7f56a8743e8e4ba1085d78d856432eb12dbe4468fae5b704359433e6f09f4a4e5ce3351b1e11d25c416c11b013001d89f721b +DIST vivaldi-1.14.1077.60_p1-i386.deb 51952946 BLAKE2B d427c187f04122d5492b7a8ca006292dec25efc75381b87dec24819b97cfe35b8929bfde9f8f576940cc0cac1aeebf5f24297e21093b072aaaf31c161a2a0111 SHA512 a8cec6c5f43a336ff3d001480461932ddcf143d984cfdf94f6f1786fd87ce5698afcee7b1b944e686b740a015013d95aa00f3986a71ab601f948c8e50d604759 diff --git a/www-client/vivaldi/vivaldi-1.14.1077.60_p1.ebuild b/www-client/vivaldi/vivaldi-1.14.1077.60_p1.ebuild new file mode 100644 index 000000000000..74cfe863016e --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.14.1077.60_p1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.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/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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 + + 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/vivaldi.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/${PN}-1.14.1077.45_p1-libffmpeg.patch + + 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 +} |