From 9c417bacd51da6d8b57fa9f37425161d30d4b95b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Nov 2020 20:40:51 +0000 Subject: gentoo resync : 28.11.2020 --- www-client/Manifest.gz | Bin 5885 -> 5880 bytes www-client/firefox/Manifest | 4 +- www-client/firefox/firefox-83.0.ebuild | 2 +- www-client/vivaldi-snapshot/Manifest | 10 +- .../vivaldi-snapshot-3.5.2110.3.ebuild | 194 --------------------- .../vivaldi-snapshot-3.5.2115.31.ebuild | 194 +++++++++++++++++++++ 6 files changed, 202 insertions(+), 202 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild (limited to 'www-client') diff --git a/www-client/Manifest.gz b/www-client/Manifest.gz index cae384cf3677..d0e4ee74d8ad 100644 Binary files a/www-client/Manifest.gz and b/www-client/Manifest.gz differ diff --git a/www-client/firefox/Manifest b/www-client/firefox/Manifest index 048b38988f81..675d2e82be4f 100644 --- a/www-client/firefox/Manifest +++ b/www-client/firefox/Manifest @@ -103,7 +103,7 @@ DIST firefox-78.5.0esr-zh-CN.xpi 564767 BLAKE2B b5c3e773c3bc58ba80180bd018467df1 DIST firefox-78.5.0esr-zh-TW.xpi 564724 BLAKE2B d55faedb630ecc2629d1e2b1adcfd4cde51d119fd4599d25ef0800e5875efea65db5102fec36366b6531791f16d0f94e8e0dee0bdc18868ad9bf5208471d65c3 SHA512 95e4fa378cf07927b13a9b0e9d37d6320c4cba26f26df6dfab65fcfe1ddd21d38cb5a387663c8c96b6b3e2015999af4d355c0b672848f874101c998abd117047 DIST firefox-78.5.0esr.source.tar.xz 333995288 BLAKE2B 35140afb6b4d15052858e7864753ca74099edb24ed5e459f1f48114f0946f5e007486b5561ba9a545566033d71a69f0e6163dd17204cab717c441323972f089e SHA512 0d16013342b6e8d67adb5c111177ea4796db4fb593da8aa254d0d95bdf33fad798c2dbb235d44db4177c32dd2d7b3ac26b938b476342753ee8d6c83d968d0281 DIST firefox-78esr-patches-07.tar.xz 66156 BLAKE2B 8f69883432dcbd484b1fb15e3fde1630b1424e502ba78d9ec3cbe70cb2676a6876853d3477c8bfe35e92bca91b200e2d14543de1778d895676a52d2608109af2 SHA512 b4a01d3499002bd33a7fb45a1a80e9e73ba27a0986b6bfa43b3482dd8d82a686a14ae0c5e013402c8c8f359a642632a40bf4c362a0e83a1f53b453914f42e3a7 -DIST firefox-83-patches-03.tar.xz 151504 BLAKE2B ad4471c9be1b7752940df88cea322f08f34e965143e7f2af1abb6c930641320e2e6dda231f69326f4ee0295003bae116735f47edd86aa44e70031b4383df71ca SHA512 f07fc3ed5fc8eaf89676c53e4ca2b7df54b29f5e4cd700afb5679e9b27c6eaa59f3a9782fdec3344c6f9355ff2db92a1d85a53e8814131c59d4307af4bc759d9 +DIST firefox-83-patches-05.tar.xz 151860 BLAKE2B 48377fb34eefe768f765ea5c5f450195d1a35f2c964271cf3ce6e34fcfb9c90d7d0578a37ca65c306a5e89d4e3d72aa44c07f7357fae3e1e40fb29b6d9017437 SHA512 05cac5322c7f9feb6a228797072572f163d320f3032f25664fe1251ad17a868373ee81d71971dd5d2bd3c7577498071d4f40713fc8251c3ab41654da73a94ed4 DIST firefox-83.0-ach.xpi 463987 BLAKE2B 2173c637ae155ec474d18250adf8cd67ff7732ed9ecc7533004296934f82dfdd2f83f5f59dbd6b095b519bf5d3caf888f5e07913004a27771a13376ac080978d SHA512 cb1644bb1451311923bcbbbafe727fe8b35c33cf9643dceac603e802b82a2684451f9005ef6bfdd1ddebde01548926eb62dcd511e1f8a960248ea5b74f5f72e0 DIST firefox-83.0-af.xpi 431349 BLAKE2B b4f912e706b464728e779bfc3cbdb7304bd763c55347140c32bdf309b3b4869ebc4bc1433f5cf5c970774f69aabddc4b5f5fce568dc32c50c4aaf90e9d07e13f SHA512 076e9084ae00dda0cfde5b09cf2dae7ed8994543c8de645a70b2f116d01da9e024159114d4d6ef21ce134b7d7cd16b95678121b41300ec5174a36112d41da4ed DIST firefox-83.0-an.xpi 511284 BLAKE2B 0b6332b8dcb254bf9df13fde4e34d01c2ef6398c329cce630a0b05a91b1f4ef02c8177f1726f489e8526ffd9fa9e822a010bfd6a669f5a598e7ed60f8328a278 SHA512 43559e760a96092b4c4bfeab6830f021e69c8c7c56a187f49109ea94443372e6323d503f1f175df1d77c685fcbbab2077f7fb02dd031804cde8a7dec2aa1d988 @@ -201,5 +201,5 @@ DIST firefox-83.0-zh-CN.xpi 564100 BLAKE2B a9b89639386f0775dd1a6ab99551a2e79fbaf DIST firefox-83.0-zh-TW.xpi 564079 BLAKE2B b985bd680dc620313cd217beffa87935a546e528a37854fb20a7f4cdebdbf50fd4858ac91f13bf31eca947d09de1a2a0b9956ddf5acb6978e3a7a7d8628be0c0 SHA512 d5eb2a32cf4a5dc675adae6590c5201023387df9a8854ac4814b601c413c3785ae2e694dc5b4d231e2d1686b386cde202066cd2f11c1071dc29eff81c51e3abb DIST firefox-83.0.source.tar.xz 351331940 BLAKE2B b3a805288f4d644f7375c78ebe771c26d59c57f6aad71877abbfe60563c06af5f162b8894cb624cec12a5c72542ffad97e6f8f0cfc3fba0506d4e246a41911e1 SHA512 4ac49cefed278d1f898907bbedacf81ea4bb4e5784f567d4c0971d9cbc2cf4a2e4472de81a7ded620bc3a516bc972d600b516b7674319cdfc9734c3824a9a2f6 EBUILD firefox-78.5.0.ebuild 31480 BLAKE2B 28e48cc16ddb7884a7267b52db5a319ef91388ac107997f307c5197143b2382900a301821ad7c3fa3596c4f94080c98c773304985c33bce6eea60e36dfc6bcc2 SHA512 9a4070b9c3ca3b55323fff941047bec87eaa24cd843bd4b49e3afda7bdc96302e7988340fbbd5e3e03e588bb2d592c4754a258db5ce7abed8730a94e4c0eb222 -EBUILD firefox-83.0.ebuild 31429 BLAKE2B de2d3a155fe8f5adb5205c8d697583a657d800088c072836ea91b9a86d522a445983e58582728581514f3d69e635f2ba3633546258fed89a1dc5b9f97663600f SHA512 2b481668c06808548203bba1bcca627e9d0f898a01b91ac98b810f00765021300533eb1ef3a75799eecca49243a136be4ab9d43d0bcef28429333b868448f8b2 +EBUILD firefox-83.0.ebuild 31429 BLAKE2B a6cd8d0417930f3ddd6140852bee83b77fcb48e0dbbd558f9fb10f97f85a81fa0cf987b5a85c4df801e26d5aca7c0b7658c6e9a85273075ac478a01d5d770645 SHA512 a61ec11e74bcd5244f56d89c0eebdba1cb2f06c64a0e1daffa2e3d55769135cac6f42aa5795215a1842439839e322719f1ed7796bf893f16e4fc2657c5e9f121 MISC metadata.xml 2063 BLAKE2B 4c632fd591403d8045cbf3448fd459d82b0433351305fb12322b6a1157c279311ad1a9fcba9af4576f336035f841a95b82ee7a5602d62f1b741748df7443a861 SHA512 75bb3db236d0941e6632def252cb0b90cb374fc4f1dd66e499522e446c5fe8186f57a9898cdade933da205c12b0e70d4e1bdec0d8bfd9689d37d03667eb92f5f diff --git a/www-client/firefox/firefox-83.0.ebuild b/www-client/firefox/firefox-83.0.ebuild index be517f5d014a..600da29c9394 100644 --- a/www-client/firefox/firefox-83.0.ebuild +++ b/www-client/firefox/firefox-83.0.ebuild @@ -3,7 +3,7 @@ EAPI="7" -FIREFOX_PATCHSET="firefox-83-patches-03.tar.xz" +FIREFOX_PATCHSET="firefox-83-patches-05.tar.xz" LLVM_MAX_SLOT=11 diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 9d611fcbcb2b..0f7fadfac256 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,11 +1,11 @@ -DIST vivaldi-snapshot_3.5.2110.3-1_amd64.deb 76322716 BLAKE2B 5b659e4fede5006037da997ae4e62cc54ba1264c3f5f16d286dc00d1acd8047581b193e6b97a1134143532a348e660847d6f6fc399c0898affe316e5dcce352b SHA512 7352bc542953a8be51cafcda7b99bf0f3716283c7681ee5c5cef85dcdb3b9abe5d36dd42561a283159e47b11f46e004d3d33d2f39a7e3605efd96fd20082280d -DIST vivaldi-snapshot_3.5.2110.3-1_arm64.deb 68579824 BLAKE2B 52110e4b5b18771b97c4e114aa2f99e4681ea9ae0ea90b11dfaa4cb6549d6cd03b7e6fcdbedf1e433f2e59cba1b042620d081b25a75f3c04fc0c10159cf98750 SHA512 7f05001ad96aabde3fe70e7a6be5d8fa23b46c14bbe6d69f5b8b77fd30ae58fed55d7680916d037e51bbd97836cbcfc6583bb98f6ee0ac0fdcdc60a847d43238 -DIST vivaldi-snapshot_3.5.2110.3-1_armhf.deb 67678904 BLAKE2B 9839d71df8299a0d84b2ec6cf5e3a4aab22a4e7e9e6136edfffb4779943cf69fb7dfb8ce47c01cb345a92a56cd01443d20bf3cbd40fb0b7fbb36cada3c54fb71 SHA512 22a8e1a85fdc00291311e78b0c75c9aca6cdb060fb46677244ab8ab39793fbe290496ff9df640fab4e5504a43e3ffb293fcc1f5596178494e460c9e9abb6f623 -DIST vivaldi-snapshot_3.5.2110.3-1_i386.deb 73163460 BLAKE2B 84c33d2fe509889235dc2b0a03063328aea19c3908d84e418a34b65a6d4dd3f929724b3dff544c55aa4df333152e87e0e226087cabb09b64ce16b3b5403967ab SHA512 e860ded27d62043b36bb6bc1bcf80246e6569e617a77a2d72afce6312804ea16cb43d63fa5971246bef26dcd4cc7a1d5ea46c256100ca44a091d132b6ed8678a +DIST vivaldi-snapshot_3.5.2115.31-1_amd64.deb 76755116 BLAKE2B c753133052355dee546149f2fb6a157e9c2327d1921dfdfd426911fd41c422d1dfb519ba2e3ca0dfc9ad1ef76ac3f256fbfcc116df3c628da05fd47e1c11555d SHA512 70d3fb8ff41dd22a2561ba301f206520ea3971d525aa2d8d41a061f6b2df1c36923090a4df27e4bc1e556fac8989865c95ebd1187f00f68610a14bd2517d2812 +DIST vivaldi-snapshot_3.5.2115.31-1_arm64.deb 69011568 BLAKE2B 07ea92f1324511b7e2089765f6a3f5d6bb29edf7629d82216c4fa444c67cc9bc26219e8776c1234073b9ebcbcd9a241c0210f906ce87d66c444e1804d656dab7 SHA512 e74c9db0c09f5d0bcdcf4a2f03ee6b8d36ad72ee8d87b3f30ff1a356cd7ebd911b38eceaa8e3300e5a001cdd67c5a58e8213fe8c738da789e65bf1a16902b66d +DIST vivaldi-snapshot_3.5.2115.31-1_armhf.deb 68096004 BLAKE2B e7e3adc1df568a0af47a93b88cd7ecafdded85b0cddd48b31287b5d7818dfe4d8d76861cc359ab0a09d2ef458b8a1d4055099ee7ae88a7eb7f4615241ac55007 SHA512 be77ee3eaac939be1e561002c3a04d3195fee01eb2aa6f2e57234f03983e669d38614f71455341edc6e9370ff23d45d0393304b77cea1240519a4621def2f0e4 +DIST vivaldi-snapshot_3.5.2115.31-1_i386.deb 73552004 BLAKE2B fb959512a0c4f8b98f117c03fb2e2c10c76c6c6f768e099b31d5fede51676605f4a0b53a5c9cabde90e28f24215acc1397464cb5afbc2a9665e3feabf8298cee SHA512 9936f968e2f0a6a40cdfa516ca53b63d1134ecada3e9fc78b68769f436658d658703d35f762005a8546bee9c6c469ac16b6ed78ff60baecbf24944aff3f48810 DIST vivaldi-snapshot_3.5.2115.4-1_amd64.deb 76735612 BLAKE2B f3acf308816272d5f2e5c8612141423dbc32fa0b14a22d5980db0fe7eb06586e4bc85a5e7073c1cae1bc82deefed38e80de298f63251c3e362f61b580969d8b9 SHA512 3ef95ad76885c6b4cf0d28c2f6aaf7c0affe1a5826fc318d44d2ae37507feea796a639caf0cbe788df52b94affa6a909e0c6551877d16c0664a6bbe9c276c0c3 DIST vivaldi-snapshot_3.5.2115.4-1_arm64.deb 68981904 BLAKE2B 713bda870eaa2e25b0636778b8ba95d47ed750a3b66b0d7e02cb52690ce577d98f0c3fdd65d8ee32c2fcd8a93c7488377e774d018c277a858f2f1613f947f807 SHA512 8ae76a9cd010729fef458321e93ed9e7c359a3d81f767490766545a855dd66e32c6de6406216e73106ffc3dd4ab662fcb1e5372a86fb1bd6d5503c1815d39e84 DIST vivaldi-snapshot_3.5.2115.4-1_armhf.deb 68073008 BLAKE2B ff91480512edca9b120fea7152772ff3f566f14df75263f912a019c64f92106428ed926d89712b651ae0a948d1c76fb8ea9dbecab28152eb71aa0016213aa6ee SHA512 734c6beeb98793ce942de220f103f2bcf1675c2bfd03192ed7ff30e8ba6aed17e3af75ffe8e7a084ec2174e0a5a3383bcd8c3fe1d26383b4216e93b061d2e934 DIST vivaldi-snapshot_3.5.2115.4-1_i386.deb 73553096 BLAKE2B 62c8e7718671bd0bfec37be3f33da682abe7706a19743714f9aa3dc31f6d384bbf9e86558570033a0d65318d2bc8ae51a358f01332bbe12bdefd1b087ec8d1e7 SHA512 2fa625a33d5790fc7580bd395f63680432fc3642aa98db5f88b497492d9b888412afed296b38db76939edd1710f31b589f0442f602e4731d0740f71854c62293 -EBUILD vivaldi-snapshot-3.5.2110.3.ebuild 3119 BLAKE2B 2280d8cb71ddda8d59bacd6b1302e2096ac7a74b5754f962bd8492ee321b5916ce3ebf999d12f6d0be52620a362bcb40d86d87ea31aea236eb0f8e4a13dd08ed SHA512 2a5c2b58435f1f871c6a7c83a82d642dda5e7b8d96d98f509b6c2b11573829cd58f5ccf64a3fee74c692d11921bed361791b3e6d304502a97c89efafb8bd02dd +EBUILD vivaldi-snapshot-3.5.2115.31.ebuild 3119 BLAKE2B 2280d8cb71ddda8d59bacd6b1302e2096ac7a74b5754f962bd8492ee321b5916ce3ebf999d12f6d0be52620a362bcb40d86d87ea31aea236eb0f8e4a13dd08ed SHA512 2a5c2b58435f1f871c6a7c83a82d642dda5e7b8d96d98f509b6c2b11573829cd58f5ccf64a3fee74c692d11921bed361791b3e6d304502a97c89efafb8bd02dd EBUILD vivaldi-snapshot-3.5.2115.4.ebuild 3119 BLAKE2B 2280d8cb71ddda8d59bacd6b1302e2096ac7a74b5754f962bd8492ee321b5916ce3ebf999d12f6d0be52620a362bcb40d86d87ea31aea236eb0f8e4a13dd08ed SHA512 2a5c2b58435f1f871c6a7c83a82d642dda5e7b8d96d98f509b6c2b11573829cd58f5ccf64a3fee74c692d11921bed361791b3e6d304502a97c89efafb8bd02dd MISC metadata.xml 484 BLAKE2B d42a35d2fe225a512c00ca9eaad5c30dc5f214f3ef90c25190b098b804cea3879c68bdcfa31add4253f9ffa37bc3514d26ae5ba89f8beb3c9727f201263e7329 SHA512 e5745b041627b0ee9242ae8e65bf3c065c6fa82cc45c93de3d1e41e1f53e7412b1d13b06f6dab1bc45ebcfd1861b5709a09c960f2bb4d0c221ae0d51b6e3b252 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild deleted file mode 100644 index f69da1d681b9..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2110.3.ebuild +++ /dev/null @@ -1,194 +0,0 @@ -# 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 desktop unpacker xdg - -VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" -VIVALDI_HOME="opt/${PN}" -DESCRIPTION="A browser for our friends" -HOMEPAGE="https://vivaldi.com/" - -if [[ ${PV} = *_p* ]]; then - DEB_REV="${PV#*_p}" -else - DEB_REV=1 -fi - -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) - arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) - arm? ( ${VIVALDI_BASE_URI}armhf.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" -IUSE="proprietary-codecs widevine" -RESTRICT="bindist mirror" - -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] - proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) - widevine? ( www-plugins/chrome-binary-plugins ) -" - -QA_PREBUILT="*" -S="${WORKDIR}" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - # Rename docs directory to our needs. - mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die - - # Decompress the docs. - gunzip usr/share/doc/${PF}/changelog.gz || die - - # The appdata directory is deprecated. - mv usr/share/{appdata,metainfo}/ || die - - # Remove cron job for updating from Debian repos. - rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die - rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die - - # Remove scripts that will most likely break things. - rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die - - pushd ${VIVALDI_HOME}/locales > /dev/null || die - rm ja-KS.pak || die # No flag for Kansai as not in IETF list. - 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}/vivaldi-sandbox - - local logo size - for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do - size=${logo##*_} - size=${size%.*} - newicon -s "${size}" "${logo}" ${PN}.png - done - - if use proprietary-codecs; then - dosym ../../../usr/$(get_libdir)/chromium/libffmpeg.so \ - /${VIVALDI_HOME}/lib/libffmpeg.so - fi - - if use widevine; then - dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ - /${VIVALDI_HOME}/WidevineCdm - else - rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die - fi -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.5.2115.31.ebuild @@ -0,0 +1,194 @@ +# 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 desktop unpacker xdg + +VIVALDI_PN="${PN/%vivaldi/vivaldi-stable}" +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A browser for our friends" +HOMEPAGE="https://vivaldi.com/" + +if [[ ${PV} = *_p* ]]; then + DEB_REV="${PV#*_p}" +else + DEB_REV=1 +fi + +VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_PN#vivaldi-}/${VIVALDI_PN}_${PV%_p*}-${DEB_REV}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb ) + arm64? ( ${VIVALDI_BASE_URI}arm64.deb ) + arm? ( ${VIVALDI_BASE_URI}armhf.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86" +IUSE="proprietary-codecs widevine" +RESTRICT="bindist mirror" + +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] + proprietary-codecs? ( media-video/ffmpeg:0/56.58.58[chromium(-)] ) + widevine? ( www-plugins/chrome-binary-plugins ) +" + +QA_PREBUILT="*" +S="${WORKDIR}" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + # Rename docs directory to our needs. + mv usr/share/doc/{${VIVALDI_PN},${PF}}/ || die + + # Decompress the docs. + gunzip usr/share/doc/${PF}/changelog.gz || die + + # The appdata directory is deprecated. + mv usr/share/{appdata,metainfo}/ || die + + # Remove cron job for updating from Debian repos. + rm etc/cron.daily/${PN} ${VIVALDI_HOME}/cron/${PN} || die + rmdir etc/{cron.daily/,} ${VIVALDI_HOME}/cron/ || die + + # Remove scripts that will most likely break things. + rm ${VIVALDI_HOME}/update-{ffmpeg,widevine} || die + + pushd ${VIVALDI_HOME}/locales > /dev/null || die + rm ja-KS.pak || die # No flag for Kansai as not in IETF list. + 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}/vivaldi-sandbox + + local logo size + for logo in "${ED}"/${VIVALDI_HOME}/product_logo_*.png; do + size=${logo##*_} + size=${size%.*} + newicon -s "${size}" "${logo}" ${PN}.png + done + + if use proprietary-codecs; then + dosym ../../../usr/$(get_libdir)/chromium/libffmpeg.so \ + /${VIVALDI_HOME}/lib/libffmpeg.so + fi + + if use widevine; then + dosym ../../usr/$(get_libdir)/chromium-browser/WidevineCdm \ + /${VIVALDI_HOME}/WidevineCdm + else + rm "${ED}"/${VIVALDI_HOME}/WidevineCdm || die + fi +} -- cgit v1.2.3