diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-05 21:17:31 +0100 |
commit | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (patch) | |
tree | c85d72f6f31f21f178069c9d41d41a7c1ff4b362 /www-client/vivaldi | |
parent | 0706fc6986773f4e4d391deff4ad5143c464ea4e (diff) |
gentoo resync : 05.04.2019
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 12 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild (renamed from www-client/vivaldi/vivaldi-2.3.1440.61_p1.ebuild) | 10 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-2.4.1488.36_p1.ebuild | 124 |
3 files changed, 135 insertions, 11 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 2d6cd1ae6315..a601f4f80fc5 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,5 +1,9 @@ -DIST vivaldi-2.3.1440.61_p1-amd64.deb 58676624 BLAKE2B c192c59720dd6be040c886bb97f7d07f8bfcffb8a87a64bfde89505eea1c25c3b4058030153dbf88aabc89fe8f4db2a744a80c53238bd93ecb96a55e6a91f531 SHA512 8e5934e753b11a0e131568b3c44e7b64894abca2fac497fce594916fee626af18519c5e298dfef5ff461c2ae47add49881a0a1c0ddda77d82356890b5af18b66 -DIST vivaldi-2.3.1440.61_p1-armhf.deb 51556880 BLAKE2B 7559a09383f63cd05403a23a03ebd0a919f99a390a0b912fcdb26dc3e181a34bcd484e326912d3b83150b67772f1b0b3c625f430165a00eedec013341c4ba695 SHA512 818715b60856c36bcdd028384b5faeef26c70b19571922d383829c7a7bdd00bf709aa932917cc79ed1cb7ea150de902e585617ae5a97e1e5044de380287f3326 -DIST vivaldi-2.3.1440.61_p1-i386.deb 56934588 BLAKE2B 22ab389380293f759f2286fee018705007a30763398f60a3a8016db9c83a9ff96d79c015074942c3bf528881705094a1c0bac49e31cff1446e1f6c14700cc184 SHA512 6874e839dc95d97f8a0b3b9da8be8e1b3ab00140081f082fea948f54a3f704c2334923f53eb7bd726740d962f254822ac653dc1a1108a5d5f6875bde70b088f9 -EBUILD vivaldi-2.3.1440.61_p1.ebuild 2960 BLAKE2B 966d5a9bba7b5cef2034161703826dd6f836c6370d97c161e5879c74739cdfc78e291dfd7aa02e1b34a8a036a00a03ca86caac01b7dd41f0a2502e73c79cb55b SHA512 6570a32df62dcbe9c84ba5754611a2197c5ec512c18f81c072c043a322d69764f4d0f64cd5e0cd2c16bb8338773903ff364c1e08718fc821b68768e23ba564a5 +DIST vivaldi-2.4.1488.35_p1-amd64.deb 59056284 BLAKE2B 45d8f058354a3138a0b28a5a4b017b8e8a5e29d46f0ccc3282bafcc9e990dffd05db6c99661c364d6f938ec25edc9f9500210a0ad15273e4e31c286bc4e0642b SHA512 6a9e5bb3aa2c85bb7207ed8e3872c98baaee3a7ad830174b64c4ee65a2fac65399b29610c4d6d784deba1e670b282fcdf851598e4fa75524d03d65a07190ce00 +DIST vivaldi-2.4.1488.35_p1-armhf.deb 52175500 BLAKE2B b6003abb80b6f2cbc8e94ee3d0ca81547cf4f94b28f718d594fd3eac0ab0621462ff5901d4092f14a4ab50f6458ca834f89fb04b8b4d1cbf0c1cd109ba48a583 SHA512 c80e0370a62c04eeb4d8e2939467371f95a7379fc46c4d8f999a7a75c4cc0bd5b3075797a57c48891c69fec336f939091caa9b3b92c5b7ae605f4426a2182de4 +DIST vivaldi-2.4.1488.35_p1-i386.deb 57279440 BLAKE2B caeb9be038a4948b5b717a36f14044301a8a094db93f1346e6b0f47dbc04a2a79aabdbee271812cfd6f278c7018af65afadafb628185ee9484b781de439042ab SHA512 b57840dd7bc267d05f360f47c2fe2c28b728db3683ac6be5270360e6be7b89fef052a955dc5ff95531891fbfccac6c9184b231d200978d7d2be8119616789f1a +DIST vivaldi-2.4.1488.36_p1-amd64.deb 59073076 BLAKE2B 07b448bbea31fdf74f13d07258a28c52560209b8c1d47005cef5985fb50d22680706ce5cffa833042efc73d900acde1a7911d8bc760bdf7972fbfe4e2d8f4700 SHA512 07f1509739ec96de825373f61f058731613a55a1432b5ac3698b2e02eff86a587d32208e477f7df4272065c6c934c0e9e05c653440427142d345ade0cf30e397 +DIST vivaldi-2.4.1488.36_p1-armhf.deb 52193248 BLAKE2B 17a84aa2208ef7bb5ab686f0101938377626ff63ba8455507ab145a615c91eba6827299e425f9554a3e814a27068154d9ce65e73adc4a0f0d636c457d0d2c9fc SHA512 bfd4437f954503bb7e757a328c8070e783357dc0db70a5caa675cfc167883a19b0caff22ada88555a432605078360ba6be9070df9cee97e1ee88bb8f2ce55bc8 +DIST vivaldi-2.4.1488.36_p1-i386.deb 57287212 BLAKE2B 0d70ed125a29fb42e302c930615f5ef1b39443cc174da5f23896ab8f8d81e01b3d9035f00897e536f1f18199e022cff113279f0cf269bf0774b6caee96cf6a9f SHA512 6a6e3b4eec2e524eb3942d9b6c844b691704d26aa8123fe39e05e9ad4bcfabc340001325f3ed2e065de67b5e1384c67043e2d55e77e101ffa9c4544e0b4d6543 +EBUILD vivaldi-2.4.1488.35_p1.ebuild 2900 BLAKE2B d87d7b496037d5ad5cc151e7c41b5bc17bee148c05aee22a2f7b8ee600e5b7376cdd75b5f1d8e505435f467049879791b30c4314c63aeabeb342047c67bdbeb4 SHA512 a8e10d71c44a665bc305e094ee90510767317b925467b6e3327d2b2f83cfc6892539ceef4b492f480c0adfbcdb949cfc2ba050b8db54e43fa41a53e67fcb35b6 +EBUILD vivaldi-2.4.1488.36_p1.ebuild 2900 BLAKE2B d87d7b496037d5ad5cc151e7c41b5bc17bee148c05aee22a2f7b8ee600e5b7376cdd75b5f1d8e505435f467049879791b30c4314c63aeabeb342047c67bdbeb4 SHA512 a8e10d71c44a665bc305e094ee90510767317b925467b6e3327d2b2f83cfc6892539ceef4b492f480c0adfbcdb949cfc2ba050b8db54e43fa41a53e67fcb35b6 MISC metadata.xml 430 BLAKE2B af595cb3b0a225eed0de6c4232aa705a054baa51585d3970d025a26dc3680e5cdf7ee98169a0906afca266862ad331ffb55a8cf2a39bc640a75beefd5de0814e SHA512 cf63c9ce3cea52a8a014ea6bbefdc4d64204cbeb86334eecaf3a669a90d044cfa90eab057bc39da9b0dd8fd4e0bf814269f0113aa1a96f42cfea4063b4918145 diff --git a/www-client/vivaldi/vivaldi-2.3.1440.61_p1.ebuild b/www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild index f35d9cae6300..98b6bc1fc327 100644 --- a/www-client/vivaldi/vivaldi-2.3.1440.61_p1.ebuild +++ b/www-client/vivaldi/vivaldi-2.4.1488.35_p1.ebuild @@ -8,7 +8,7 @@ CHROMIUM_LANGS=" 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 gnome2-utils multilib unpacker toolchain-funcs xdg-utils +inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils #VIVALDI_BRANCH="snapshot" @@ -113,16 +113,12 @@ src_install() { fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox } -pkg_preinst() { - gnome2_icon_savelist -} - pkg_postrm() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update } pkg_postinst() { - gnome2_icon_cache_update xdg_desktop_database_update + xdg_icon_cache_update } diff --git a/www-client/vivaldi/vivaldi-2.4.1488.36_p1.ebuild b/www-client/vivaldi/vivaldi-2.4.1488.36_p1.ebuild new file mode 100644 index 000000000000..98b6bc1fc327 --- /dev/null +++ b/www-client/vivaldi/vivaldi-2.4.1488.36_p1.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +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_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.${PN}.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+: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/${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 + + gunzip usr/share/doc/${PF}/changelog.gz || 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/${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}/${PN}-sandbox +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} |