diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-03-01 19:54:06 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-03-01 20:08:15 +0100 |
commit | 55fd04007c952ac8a9be60c0d44026e8fc801090 (patch) | |
tree | 41feff2261ed6b83159ac4da935e4b54d4612832 | |
parent | www-client/vivaldi: Old. (diff) | |
download | gentoo-55fd04007c952ac8a9be60c0d44026e8fc801090.tar.gz gentoo-55fd04007c952ac8a9be60c0d44026e8fc801090.tar.bz2 gentoo-55fd04007c952ac8a9be60c0d44026e8fc801090.zip |
www-client/vivaldi-snapshot: Version 1.15.1111.3_p1.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 3 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild | 119 |
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index ede513e59a76..90c46941a78c 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.15.1099.3_p1-i386.deb 53044498 BLAKE2B 975bd2608dcb2a15c DIST vivaldi-snapshot-1.15.1104.3_p1-amd64.deb 53518054 BLAKE2B 7227273bbbd7022c16ca53e24bd3515d89a2628cb048188b768dc6153831d553f89c884f4bbfed711427a3b0296f98247ac93f9dcfc6f1ea720b795374a07c32 SHA512 af45edc856c5124891c716a95187dbd7b94204cc1e0ee45808b1da4d62a1ef7c335c3d96c013835d32990bb0af78e606bbddb5e023d7ff319d738d2b989622b5 DIST vivaldi-snapshot-1.15.1104.3_p1-armhf.deb 47345008 BLAKE2B e5ef619baf89ca05d3abfb2e832a93227901b251ec9433f290c21f9a8444f6e7228f8e9a071de638a73a9631ad83b9bed7e3a3f6669cd6cdb52ec193954790b7 SHA512 e6765bca96d9fd6d03032dcaf8d3b489ff9794514d8daca07174438e4d9e6eb54a52b7f0574b39f4aceee8dc7d5db1f0e1208bd7f02083d7fa7666fee8c6c386 DIST vivaldi-snapshot-1.15.1104.3_p1-i386.deb 53092768 BLAKE2B 1675a34bcdd1ab5c47f2c143d8a9867de4dbb121d9e2a08fd64a2ea3df92030f9afa9267275a535be762c082aa5dc6806dc4f5dec426cded9073b1aa8f891430 SHA512 4f0287bbf94e8ed5ada018811cfd203ff3bafe6644d252c84a1bfb2695e0745d7ae4e9edf485ec3744d0381c0a2f977a56f888eb0fbfabd984a02dabe3a90eb9 +DIST vivaldi-snapshot-1.15.1111.3_p1-amd64.deb 53551928 BLAKE2B aab84cc405c2d79b9aae8008b4a7fe1bcb0016edfeb4ea69aca2e418e9923e347f77f891c86e5f6f009d5723506015560d779279570aec19ead8fd38d76558f2 SHA512 c439687c0f49fe8cbc412ef6a68de2996fea7dbb68c49ef71cb9593c00a7517ceab6484226556df232942e608f92c76475f282a92cbc2aca6e03a54e59af425c +DIST vivaldi-snapshot-1.15.1111.3_p1-armhf.deb 47359170 BLAKE2B 191c96c73bb81b1770bf4cb537cadd551f7d4ba25b2c51e0a49e6e6f579ecc1408eb52482523e2178570ee296f7e8c661bc502b65f578614924fd26139279777 SHA512 ddbfdddafa2a62feaed7d1550a4d9794bb5e1f411219cc08e1508b1843c602da28cb97c4550bd97cf61444eaac7edc43db26c5a7f9ccca2824e277a9fb25e905 +DIST vivaldi-snapshot-1.15.1111.3_p1-i386.deb 53107268 BLAKE2B 30917a72703010d4709375d12399fa465172c87572ce01b160f86bf533f8d5cae6375524a34f6ca7e6996853cc213ac0448da1056a43f07cc58bdfc8861db707 SHA512 c07621fd73a3b785700083f060ea2183c14607b2afa13351f10414c215300ea716b29b90b676b6fa809b56ea0430d70f3f571a7a788a353de6d15ddb8f1b8b49 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild new file mode 100644 index 000000000000..ee9ad44cb619 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild @@ -0,0 +1,119 @@ +# 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_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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/${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 + + 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 + + epatch "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-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 +} |