diff options
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1401.7_p1.ebuild | 119 |
2 files changed, 123 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index e23da0ac49c1..5b8f9e06a2d0 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.3.1400.4_p1-amd64.deb 59269660 BLAKE2B 7190ebcb97c215dd4 DIST vivaldi-snapshot-2.3.1400.4_p1-arm64.deb 51037220 BLAKE2B 8230038a2493d9cd23af01e112d09e49fd8b5408d55d753dd1d6cb8f9e78d7f47f8fef08744d02973d49bc4cc68192939574a7871691a59129cb98d97f6ab6e7 SHA512 4b851d9280341e5c8f9f9bb7828e54261bcc3c6f2c78d31969ccde58041595432ce8f0dcd1ccf7f3c4d96eba0f3920ecee841e344ca63a88d75be47a038c98ee DIST vivaldi-snapshot-2.3.1400.4_p1-armhf.deb 51869356 BLAKE2B dd76979b66ddf2d5beb9751e993a2d55f7be0ec2a98c4f1f4a2a78543dda45ea32e3039c61736336f228a29675d1a53c0950999d7c9f26a385683973a77982a8 SHA512 d0ed327735ccb2bbe176a1ed59b5170969b5573746f556cb39f9a28de986c545fba9019543e6667044b2df4374ecacf545c14c69593ae256f39ffbcaddbdfe4b DIST vivaldi-snapshot-2.3.1400.4_p1-i386.deb 58129700 BLAKE2B ef3ca8780007254b756af7018bdeb9a0f53dd0a18dd60b9d08a947dd6edb9a02c9de365fe4927009a91e1f889fe0ed290a64452ec5fe6c30cb1398b6d81f3a71 SHA512 efb43b98fce4cdbc5347c018ea0ffb5bc3d4f13c5eae9c168d15338e1283d7da9a2714fa47f024d480c524e1fc1296761f8aaefbe34d8cd9feed238e08627249 +DIST vivaldi-snapshot-2.3.1401.7_p1-amd64.deb 59257968 BLAKE2B 68b88dbb6429a2ac367b6d1979017bb4c0fb3021562d800a1dc72a4c1ccac3202f013f53305e2d9fd00e71c762ed00754387ca4cb511c3b9cb1118a11be77c70 SHA512 7c27b693279d5effc0ddc002a66bed30050ae8f3cbeb8a73a26ac60758bea6586f5f46fbae7c8a691da8bfabefbe2e710204eaed2cb7573bc89e8dfed8e9929f +DIST vivaldi-snapshot-2.3.1401.7_p1-arm64.deb 51056662 BLAKE2B 7f0482296794f47a4ae313d584cddc5e354ce924be5b5003f6c6675030174b6748289e64ae15565065195ec5d40c92ef6ba7e605bf265e52a795df529ccfc4d3 SHA512 9003455db6f53a49ce22dbd2333a1cc63f4a0bf6f5f905ebf701c90d1a082b9ec9a88d3deb96895c90d2a4c859b1c7e80bf8a3b832e49a1b511f5381e606fc95 +DIST vivaldi-snapshot-2.3.1401.7_p1-armhf.deb 51876552 BLAKE2B dfbd0f5dbfeada178b139852db99f92b990e65de80e2a1b87ace3bc512604e53d35cb8d433fd8feeff5af92c0b7e137491aa1a7fc191b777c0097339514c1784 SHA512 cd1b451f32b9a7ecb1bb9d95b1a6fa42ba8f041ee76799e69d6a1d2751ff76cacc6a2bee57fb5027dab5ccea0f4e3096f4a04c1f0edf4d7038aa7b91ff9e0094 +DIST vivaldi-snapshot-2.3.1401.7_p1-i386.deb 58125218 BLAKE2B 329cf66570385f844570d21f32bbbdf81cd650fdc23a17034ee9fa054a7086b91d86ffb9354b669cf58c39d19248a4f1cefe5caa6ff54a1c7a0e6c4b919d5035 SHA512 247621ccd9aa26d48c5df8660c9b5f0398646e9182b5a2f12668493246284a428e35b3efc5ab47e06b5d7e446d45868b929c45334b0cb09a3923693abbc78e04 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1401.7_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1401.7_p1.ebuild new file mode 100644 index 000000000000..b45ca4cd1521 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.3.1401.7_p1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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 eutils gnome2-utils 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+: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 + + 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 + + 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 +} |