diff options
Diffstat (limited to 'www-client/vivaldi-snapshot')
-rw-r--r-- | www-client/vivaldi-snapshot/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.35_p1.ebuild | 118 |
2 files changed, 122 insertions, 0 deletions
diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 1526be87fddd..800d6c7cae1d 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.1.1337.20_p1-amd64.deb 58500706 BLAKE2B c7b26a86556eced6 DIST vivaldi-snapshot-2.1.1337.20_p1-arm64.deb 50301694 BLAKE2B c10e9793c98e37d3d73f8289d063dbca0cecb16f61d6013eb68886b74c4c33eab832acfc793f60f384f9b474ddfe78e548b69eade3e93ac089a5d4ff1312b0c2 SHA512 c4867fc9421bd33137b286c6fd9403f29e3ff6b2143031b105ffeb5259560bc770e51e51b59a9f3ac3ec2efa58bfd5694a843e248c68c1f6473e0bf842e567ef DIST vivaldi-snapshot-2.1.1337.20_p1-armhf.deb 51224018 BLAKE2B 36bbbb3931943f0f68ddf7a5fe7f58476d821eac000e5686f3202dc6cb498261875a225a2397b071ad005d6a7b6a04358177a4fa7eb131ab0751914f8a6fa92a SHA512 fbbe5d149cf02b0ae4b690c775f84fbea583fdd7adb50d0452df32fabf82e21b32066c0c2cb46e7475d4dd125f09dc31571587c61a4bda774a8465fabd3d3ad9 DIST vivaldi-snapshot-2.1.1337.20_p1-i386.deb 57394908 BLAKE2B f106e428f9da483be3cd0bee4139ab60899e8e97a52fc22473d27adc6f0405fa4e5befc6b28032032e06e5e92b32e34295df02ea3a5b4e5c37451cc8c32a41bb SHA512 a27a10e3595cba83ebac10c144f29926e701c71c685ce17ba007b3ca335aa938f68e6c3cb3919df49ed82bbe71b1c231f3c855c705ec906dfb7ed5f1c9d9d5ef +DIST vivaldi-snapshot-2.1.1337.35_p1-amd64.deb 58509442 BLAKE2B 93280316a3687718ce68019856adce591cc4d33ad27a7255e27f6771e8550bb7d679fd037043b338e35d54defacf4f787864d2b9fd55ee90fdd29b63f0832990 SHA512 7d5322e4b1d9def8438a304bbfa52229ba54614189df900f3d58db8758bc9f528fc33875260d1df26b26a2fc6c197086ef855350a09b3f67d20776a0b60eb75a +DIST vivaldi-snapshot-2.1.1337.35_p1-arm64.deb 50313988 BLAKE2B 75540fc7581f38bb3ef5ee891983e2068c8d339a00483c41f535d5eff057893954c10677c6b633531c8048fa537351905aca2ea4b8872b5d87412c801d537cef SHA512 2aa3bb701c1cde9770fe26a95c7bf235054cb4b6b95f2280b9d6891d4c210f5a2f937472978437135db73714268000e7af2900383632dd7ed954e00f68c2c1a0 +DIST vivaldi-snapshot-2.1.1337.35_p1-armhf.deb 51222764 BLAKE2B 0d56cb8af5d0a67616570e275ce3db2034c50df7a4017c8a86c235aa06e7a9c850714d229cc44a69f65a85d33d9c0b938bd47100e68b4e0918b87a5bf3ebebdd SHA512 d9f9ce745172c9f31187186d524141a025bff46f7704085a679a9c9914ad07102f70d4e138fd1fc21918c4b4aa5eccdb501856b89bfe2539ec5f31df5c2f6c82 +DIST vivaldi-snapshot-2.1.1337.35_p1-i386.deb 57392562 BLAKE2B 3cf6b09b18a52e6cb17666ea34e565b065371c59af9a8130f3053bef31695f754d08765bf11f857ac5350ab3815f79b6819706008be1741981a03a38ab53f6e0 SHA512 236eef97e70e644a00ab39e22af7603873b3452bff07d93161079e8ab899b616f6194e64526e97f3e63e09b8132ac973a1ce5785f3086f7f83d01ab6ec20e715 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.35_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.35_p1.ebuild new file mode 100644 index 000000000000..91b5d4fe6abf --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.35_p1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2018 Gentoo Authors +# 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 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 +} |