diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-02-27 20:02:24 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-02-27 20:04:58 +0100 |
commit | 8a80a95ed1a273e83115d5eb215ef8ff41b16bd1 (patch) | |
tree | f6d310f740ad2fab6bbe767267a6a8b86a03edc1 /www-client | |
parent | net-analyzer/prometheus-alertmanager: Install amtool (diff) | |
download | gentoo-8a80a95ed1a273e83115d5eb215ef8ff41b16bd1.tar.gz gentoo-8a80a95ed1a273e83115d5eb215ef8ff41b16bd1.tar.bz2 gentoo-8a80a95ed1a273e83115d5eb215ef8ff41b16bd1.zip |
www-client/vivaldi: Version 1.14.1077.55_p1.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/vivaldi/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.14.1077.55_p1.ebuild | 129 |
2 files changed, 132 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 74154c3e7a83..ee45a7f80ab4 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -7,3 +7,6 @@ DIST vivaldi-1.14.1077.41_p1-i386.deb 51911354 BLAKE2B 050b9b2fb8495d9b9eaf51c61 DIST vivaldi-1.14.1077.45_p1-amd64.deb 52300970 BLAKE2B 20473795e9c8decd47f0ce1594c46a04895129ea3a7e2a3ba5120217e0352933df015816cfe6b900cf1374f18be83d2181087bd52062f250a687e060c515c392 SHA512 331f7e15fde92e8fb0ec7d4713e2cf98fd5de50c650b03c0b2f041464b29ba3c327d8a2a60935238bbded6114ce02d2ce64d053df5e5da2c52eea8d383ba345b DIST vivaldi-1.14.1077.45_p1-armhf.deb 46339572 BLAKE2B 8552e9cf2d90499cae9ec5bc431f6c20a16c1828e3a786c736d0119ee75391e21e1934024521c835129f6258d874650835cb06f0a23f3810edcc2aa77a5cf5e6 SHA512 ace2a414729464ad38a278c8fa6ef6a085cc393d14e6f64a0e36c414fbbe42d26b246ffe5eb2b6b20783a12506260d7b9353acb48f3844519e87e37719bc28b5 DIST vivaldi-1.14.1077.45_p1-i386.deb 51923676 BLAKE2B fb3e15f8f1f9354beb85b92ae807807ea8eb9b62363c40b9c1cc4b2835f8ae3daeb9179869fa3681763da03d69216f057bae0f2127b7ce32f034c4069275e311 SHA512 60ac8449d39ff7689801fcbf9597d441116de72a90f1503338caa927990b8b59246cf02adbdf25beb8ad371aebca19254ee92dfeb706d2bcab87cd526cab5d0c +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 diff --git a/www-client/vivaldi/vivaldi-1.14.1077.55_p1.ebuild b/www-client/vivaldi/vivaldi-1.14.1077.55_p1.ebuild new file mode 100644 index 000000000000..74cfe863016e --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.14.1077.55_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 +} |