From: Jeroen Roovers Date: Tue, 7 May 2019 15:02:42 +0000 (+0200) Subject: www-client/vivaldi-snapshot: Version 2.5.1525.37_p1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cc93e94b573e9e865394ab1dc5ea904a48b8c348;p=gentoo.git www-client/vivaldi-snapshot: Version 2.5.1525.37_p1 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Jeroen Roovers --- diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 2cf077ef60e5..3bb07452fa4f 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.5.1525.36_p1-amd64.deb 60883460 BLAKE2B f4b53402007f4e04 DIST vivaldi-snapshot-2.5.1525.36_p1-arm64.deb 54968120 BLAKE2B d193b2e6e68190b435e8acc0d667655cd3b96c8c244b4529347dff2cf8243d23b27b4bcef42a080c1cfc24db9b9e66c6d3b6161cd567a8d58bd0547121b4bcce SHA512 15781064f35ed30cc16c3b9398afa73fa9e4ca7d81fba26c14e021d6d207f4fe0a1786b0117ae18f2c04e8d5ca2d6cf0211dbab32e529f2eb882d8b1fd3976ac DIST vivaldi-snapshot-2.5.1525.36_p1-armhf.deb 54075184 BLAKE2B a7b8dafc489f11ec66b3e9702ed5f272e2be5a0d8b543a816d2ba938cf432d30ef50f215aa34cd046371ba1f444ec836a976eb34630b6756b2057e694bc33fe4 SHA512 7c294a29c664a4e36d7ac1828a5eee25e28b31db6c48b2b05a353f5a3b055757e903caa661b3cb882ae10962abb54cb85c8a926c74476b3d83fdb5cf251a3bca DIST vivaldi-snapshot-2.5.1525.36_p1-i386.deb 59716040 BLAKE2B ffbb6c74a4f52e607e6f1b1ca8d0f3801204be80db09135c23feb103333135d2e87b939f00eded73b47f996a882d7dc56df2e01effc9a93775808e4dd7245732 SHA512 21dc50f3cea1cf2a150546203ab97743b425f10a9df172eb90960140c76b3df6b7811fa033e07e27c7cbf3ec4cbfce8f56431aa49e3b80c68ef713962b6f8383 +DIST vivaldi-snapshot-2.5.1525.37_p1-amd64.deb 60914584 BLAKE2B 9a13eddbd4ca78fabbe4ad485d642a31c01156e29691e83b7b58f683cafaccc4cb4b1fccd24286a552a6480420f66f0b1fd8aec27651f52b7a2cfcd6f1748152 SHA512 54501d8a3e08d7aa9e5e61d6a336505340ff5f546afd57723cab1904fc06de725ba737febc06b7e15c0bd97600cebb1f8f9ddf1a297aedd7522767740138d280 +DIST vivaldi-snapshot-2.5.1525.37_p1-arm64.deb 54980860 BLAKE2B 39844d4f08c10b8cbae60c95428e081d370ad45c6554b55bc9fe37798d596152540bff20788b11476778ba92c95a8c583d31fd0a5dec70b1e0c691fc38901d1e SHA512 505a9744c8a21e8f8e2e0e71bd8e4b6b6952e59ab46222468f0317308941be0f91f539f7bfc3b76dc8cab35681d7be7ee5b33f597681ee32ec901be4e99abc71 +DIST vivaldi-snapshot-2.5.1525.37_p1-armhf.deb 54086564 BLAKE2B aa11f982c37dc18b08f878b1835c6d4a09a67488363e7ac3bc2af37d49c6a7ae7396bd97ba34b41d685320b69feaebb69e75c89a640c456c1114caaf90c3e1ce SHA512 d28bee631cef6875a90d23d41698f42ed9a98a2e435afcfdf19a819af0a7a7e2d49bc6ff633ec66aea9a20aacf41caa8c63d8611579ef1a81c876f55b34bd517 +DIST vivaldi-snapshot-2.5.1525.37_p1-i386.deb 59765892 BLAKE2B 38d636d8c1bd1d329d83fcd97b9661875a9d250007a51f97622ed807bfc4c6f6da02f03385a7413715f655c40ab410e0562c4cfc25dff3a0baccf4db8e33a91b SHA512 3fb9c3a88b2a62e531a255003b18848187b563aec7b1222fd6450767f15608a5499f9ca055fdca0bbe25b71c1946d85d235cd575724a4ffde7c386e44f6d8818 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.37_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.37_p1.ebuild new file mode 100644 index 000000000000..76ff637ebaa0 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.5.1525.37_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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 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+:3 + 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 + + eapply_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +}