commit: 93366df18444d430dc4603e0df6e2d59fd9e664c Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Tue Dec 13 16:25:19 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Tue Dec 13 16:25:19 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93366df1
www-client/vivaldi: Version bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 www-client/vivaldi/Manifest | 2 + www-client/vivaldi/vivaldi-1.6.689.29_p1.ebuild | 110 ++++++++++++++++++++++++ 2 files changed, 112 insertions(+) diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 8e2076c..e4b3a8d 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -4,3 +4,5 @@ DIST vivaldi-1.6.687.3_p1-amd64.deb 48662894 SHA256 4cf5953b3d68fd6a6e90c0c1e41e DIST vivaldi-1.6.687.3_p1-i386.deb 49010984 SHA256 0467bbc86fb802c0ade89bcec8525c1cfdecb145e5823d31eb05c5979ec17715 SHA512 3bf8db9687f270bfa60dc7e831f6dc123871c7b5a7aab8daee5d8c487f222e3337fbf58748a862470b3f66e9c3fc6b23ede8e89bc14e0662c499068841188901 WHIRLPOOL 41253343700df47fc54c6101599f08dd008fe92e79fbd80ce4d6e4da0387df76cb5ab7a7f2c5e5800f68d70cf7db53297903ffa70e843d20d83db1ff7ecc6a19 DIST vivaldi-1.6.689.13_p1-amd64.deb 48683844 SHA256 58155d8e8001c77201bb7e333045bc3e78d22da2cc96be7afb62eb8e16615d69 SHA512 9fc3c9f5e717c5ce0f7e59dc808236c6b0568446383fba044c63475e779529a254a380a255ad3361681e7bfe95a84424867deb7768f3e47712d53679be5e378e WHIRLPOOL 9d82708ac485a023f1c3a6c52258697aadf24a2249f63b8e05856502a7325172cbdfd9173c19c1b03423d38102c34c4f9c28e8401926d6bedadc027f562d8ed8 DIST vivaldi-1.6.689.13_p1-i386.deb 48990484 SHA256 0576302e865e265b6a0166e728fa1aaf2c615d1d77093e5a140bda395aca62ed SHA512 ce666e08a94350c6bbc37d3a4792f9cc29f0c3acf84249f5995f2095cc423da1f14887f1ee34580942d9243112c6cb2ca97fc04e0183a223d2711e98116bff53 WHIRLPOOL 2a6ad11a6df2e982bce6ddaf2540eca64de942cc593e102d07e7d917fc940d378fea149c4fdd437694df7c825c1766403bc2b0c6e59fe990f2377a7180cc4e25 +DIST vivaldi-1.6.689.29_p1-amd64.deb 48678134 SHA256 30befd35fb412dca44bee236b4f8d48921f5be75d9ffb4e62a02ab4256438f0b SHA512 172b461a43ced821130f09599e05b63f65c74616663cc393779a5169846e43d97307d02762fa37837e6735b9bd83d2b96e90f3ce13fa068039800401718565d0 WHIRLPOOL 9b39ab63ad3a7beedbe514f6bd2ce60c2e281ee7d6471dffc9c697ba735b9676a6ab677b9e2160475e1720d893d6db6718d2eab148e4f4a399586ff70e144556 +DIST vivaldi-1.6.689.29_p1-i386.deb 49029064 SHA256 eb38c2a211ed504f046b450098dc92515ef091169e54315cb4b8d569f4f6e380 SHA512 295e679fa37a4bb4d24690e3d2b4a78c77baca6a69cbb2def2048c3fd02b34d6501f87aeb593bba5f8356e6d265e4828fdee47c8047deba7b9b6594c4a7c72c3 WHIRLPOOL 35d4443a193bfc690a844439a2ca1043989c55af5ed018e9ec56c26db307f266b09c9d2efac252e4344fa9a983b1b26b30ced1ba3e983d77ee183e1c56531747 diff --git a/www-client/vivaldi/vivaldi-1.6.689.29_p1.ebuild b/www-client/vivaldi/vivaldi-1.6.689.29_p1.ebuild new file mode 100644 index 00000000..6d39297 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.6.689.29_p1.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 multilib unpacker toolchain-funcs + +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 ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" + +RESTRICT="bindist mirror" + +S=${WORKDIR} + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + 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() { + 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 + +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox +}