diff options
author | Jeroen Roovers <jer@gentoo.org> | 2020-07-29 11:33:47 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2020-07-29 11:37:00 +0200 |
commit | 6d9b1403d92f25f7be2b9676af15d19a46220cd5 (patch) | |
tree | 60568fcb5cff35afad0878e1bd21ba47a242375f /www-client/vivaldi | |
parent | net-analyzer/hydra: Version 9.1 (diff) | |
download | gentoo-6d9b1403d92f25f7be2b9676af15d19a46220cd5.tar.gz gentoo-6d9b1403d92f25f7be2b9676af15d19a46220cd5.tar.bz2 gentoo-6d9b1403d92f25f7be2b9676af15d19a46220cd5.zip |
www-client/vivaldi: Version 3.1.1929.48_p1
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.1.1929.48_p1.ebuild | 125 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index a39093a2037b..19fea4529a2f 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -2,3 +2,7 @@ DIST vivaldi-3.1.1929.45_p1-amd64.deb 71017500 BLAKE2B 8bb5ef135a2194e968c0d86a8 DIST vivaldi-3.1.1929.45_p1-arm64.deb 63499340 BLAKE2B 1e33c0b380ee48cb0562ca7867e05979d1bda9dcc3db64c2cdacbd6b8b9e6955e26c5b40e94ad6a9e00a6553fcf74919a4cb95d361677c313209d5ed0dbed543 SHA512 c4ef4f360604cf79aef85016d94fab3c49dd1f8bb7ac20ee6b9c79c8545d4b771918aeb51adeed1f94b4b66a6323d84ea6901c613825a70029dc2f0f501d544e DIST vivaldi-3.1.1929.45_p1-armhf.deb 62950080 BLAKE2B e4ffd51f6858a70fdad7669be95ffeca8dc4e9313cb824d8274af9b33a72c21b465a2926f2946f465021de3ce4aa25259cefb45f16314e7dd3c843d9f6c3b5c4 SHA512 7c077f4c3a66921461ee28dbdec80412474b5a0799f6b3bc400a0522a06840f4328c9658e7ab01dd4d29e7a7c8ff1bda0c543447ed56c8b0109be7848295f005 DIST vivaldi-3.1.1929.45_p1-i386.deb 69392664 BLAKE2B acc2f38031cc7179341bf082814c8505f39d35e9769960197a4f30fe0c29477b63ce59245c105ffa04717849218f103924585987f95bec9b8bd39ae6eab817fb SHA512 fcd73da5809e199337ef12aa02fb0a139e184f189b835304617bfd6be77ae5cde4b28ddf3232b3351f5f28a5da93d2d694c4d2cab22371c8f7be9e724f54db80 +DIST vivaldi-3.1.1929.48_p1-amd64.deb 71032864 BLAKE2B e638ce8d6d62d7a477d9ecaa56ae20941a99b9f687c99b7233a09b22cccfa666f7bb79598ebaa3c0c8abf75f1d7b5e61fe1aa541886d9e503c47662ec3897e1e SHA512 b829e943b07b62d6c2c274919f10121d92e4208ddea7a0f1cda5d9de9af8ee9134f93178af0a5479bca4324a169b5d388d5a77ccd45cc15a68f0ec3e4ba431d0 +DIST vivaldi-3.1.1929.48_p1-arm64.deb 63480420 BLAKE2B d2ac7936747e3b491b81647658ced0db6915ec8d71a4b817de8f64915286880b3a2c6b1221c2a581700c7c0d70fd430de2eaf7e1881238bcd537f3150571daeb SHA512 6e04590e34a3dd0fc2897b8ff285cb19362582cd0f5d696cec63a6450e437399c709c98672794e32f67354bbf088acb855bb79f4ad058a6ba38247675052023f +DIST vivaldi-3.1.1929.48_p1-armhf.deb 62932908 BLAKE2B 4e013731a762fc2a09af47d8d2aa2e9c76c97ec53ac561d859a08e5ad714f8d598bfef64ef9cfdb4997261d051972ca34d9cb13722203f9b17d9ca279356acd4 SHA512 685f3eb9f9a6d4449caa322c5931b36d0acdc2916c56c8df1c0c77b1a1e30328dfdf14e03e37e7ad964efc286af01b9e919095f2c5acc2d017a61bb89f4eed91 +DIST vivaldi-3.1.1929.48_p1-i386.deb 69411320 BLAKE2B 94859a65221052f80e36f9903de6075c372a95d00f92e581183483a273f247c763ea4d586e47c403b8528f355ef7cc27a19cfbe910f68f02f101cbdf6f5ba5bb SHA512 5c96a07a7269272fa15ba5388d11e3330b3d611a070e4425f1a53cc920556d21eaeff69d54af077661cae7f19d1f266ad067d62af12c1a3d4cb5af87fb2c02f6 diff --git a/www-client/vivaldi/vivaldi-3.1.1929.48_p1.ebuild b/www-client/vivaldi/vivaldi-3.1.1929.48_p1.ebuild new file mode 100644 index 000000000000..a156328cef54 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.1.1929.48_p1.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +CHROMIUM_LANGS=" + af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu + fa fi fil fr fy gd 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 ) + 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+: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} \ + || 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() { + rm -r usr/share/appdata || die + 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 +} |