diff options
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-1.15.1147.52_p1.ebuild | 125 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 468836535cc1..09f174cb7267 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,5 +2,9 @@ AUX vivaldi-1.14.1077.45_p1-libffmpeg.patch 567 BLAKE2B b26ad49c8d4336e572ca4fc4 DIST vivaldi-1.15.1147.47_p1-amd64.deb 52835714 BLAKE2B eae1baf7199bd308c3a3e82526dc9e9347129225ae9f8fbb1a77e46bdcda4b03148e2ce94195ff53d74ec04048686b3754951194eb1c224fca655f45aaad2a2d SHA512 eac2c37228fb1054b3abc286c6b415812f360fd6e02ebc5775992147f8deb51f4f81026e5090f913776f789cee9da4b40f839b909edb67f24d412e2703da6adc DIST vivaldi-1.15.1147.47_p1-armhf.deb 46838822 BLAKE2B 0e7287782eb8eae4ffd1d43538facd126d5814d0f78bd5f0787613edeb9710a6420c3f11a1e63bd876122bf448c92d312f986a62ebfbc3ccc451dc09dc249e89 SHA512 b05ab74cff9eee8c6cd85104c6fabc5937fd7f76d5f7af4897711dd4c7b74ff88b22004de9792a7bf2ba40f1f193b33302d2762dfc2086fedb41a49f5ca32b13 DIST vivaldi-1.15.1147.47_p1-i386.deb 52488994 BLAKE2B 2433330782f45f00c0b5b85eedeb731318844521d0c2f8642d157599118818e773e1388399fd692ebe775c6faa9607268d72f85c00e5590f4c4e60006925e98e SHA512 121b9fcb4f102cdb4a96d6407114c07d914f2d5251e47ff0be3caf2e12c53e37dd367ee66ace2e313633117443cd05ccb376e51e6552960548431517dc8bc4bd +DIST vivaldi-1.15.1147.52_p1-amd64.deb 52873960 BLAKE2B 2339c66888dae4754fb9ea8bf1cb84297a7b0bfdf60cfcd2f348fc7cfdea65d112f53fc65df59cf56d979bb6b508556de0e9d97488e6107e2de22bc00957638b SHA512 c999eeda13cc4855103b303cdcd4d0411d55ac726f8415a5ae9c395a949a3cbf59826bbffaea27b3a85cc24cc58a1a1b24b48687e826d7a28e392da9df5b57db +DIST vivaldi-1.15.1147.52_p1-armhf.deb 46843430 BLAKE2B 9d6d7dfc4357c1d057bcd1e04984dcf6f4c1a7132e69f5ddb88c59bb0790e9a48c269b17cb3dd16ee0e1195bbd8d3dba31819b76cbbd2b551fc2077596360c97 SHA512 f16ecd1be10cffe486f71c857e4e9ae8f6f3da48778260ddd4f3a5736b5ac772fc1dff4f23ef40a463d3fab72c276df0e7019f18e781aa1cc9a914afa18095cf +DIST vivaldi-1.15.1147.52_p1-i386.deb 52486988 BLAKE2B 17b32ff290880683775dbc724bd6a9703f1bfd7b37d1199519ffb3d01e75a1fe58d842341660baf5d0e7818bf5e76bad78ae498670ba3aeefa4d883125c39b87 SHA512 b05ae7569c149b764c253b80c58eb60672ac3b28d368d1012bb339b771acd074011b2a1a12a8fbb9e58fdfb1173dca97de1f5e7f1243985e638db63ab48c7aa4 EBUILD vivaldi-1.15.1147.47_p1.ebuild 2931 BLAKE2B c58af68c3e4e846b68683d195e75793f6644fe8f17e8ae3f8c285de8324d4f3ba9d2d202c875a1a21df2c4df2d9565715b0280e7ef658d92dfccd088b5768e25 SHA512 1cec9384dfb1bae746b8eba01aef382b4c54d06cbf2d8016b480b655040e10ca05c629c4c9628e70cffbed586fa925689cea5a7d2018bc31a85045dcf55159f0 +EBUILD vivaldi-1.15.1147.52_p1.ebuild 2872 BLAKE2B 56a6d7d2d976c6b8e749647fe6b1170a136cf944f256444776cfc04e116c05aaa65b54770c265ef57889ff0aa18db3507d11576b024f0bbb930fe408f09e3140 SHA512 db45f668d8b0033ae21469ed027cfe9af6e409cfdcb5fcca33e20dae2c29d394668169d66a6f857c83fe317786832734ddcaef28f58863ef2feada1160b6d585 MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 diff --git a/www-client/vivaldi/vivaldi-1.15.1147.52_p1.ebuild b/www-client/vivaldi/vivaldi-1.15.1147.52_p1.ebuild new file mode 100644 index 000000000000..6792e850ebb4 --- /dev/null +++ b/www-client/vivaldi/vivaldi-1.15.1147.52_p1.ebuild @@ -0,0 +1,125 @@ +# 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 browser for our friends" +HOMEPAGE="https://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/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/${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_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 +} |