diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-14 13:26:14 +0000 |
commit | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (patch) | |
tree | 25413d1cb3a0cbfe36029db32398c0f333609215 /www-client/vivaldi | |
parent | 9c417bacd51da6d8b57fa9f37425161d30d4b95b (diff) |
gentoo resync : 14.12.2020
Diffstat (limited to 'www-client/vivaldi')
-rw-r--r-- | www-client/vivaldi/Manifest | 22 | ||||
-rw-r--r-- | www-client/vivaldi/metadata.xml | 4 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild | 115 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.4.2066.86_p1.ebuild | 115 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.5.2115.73.ebuild | 194 | ||||
-rw-r--r-- | www-client/vivaldi/vivaldi-3.5.2115.81.ebuild | 194 |
6 files changed, 403 insertions, 241 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index d29c26454f1f..3f565b98a3e8 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,11 +1,11 @@ -DIST vivaldi-3.4.2066.106_p1-amd64.deb 75692172 BLAKE2B 6311f405833e99652d3905c08591535bd09ae2f290bf6cc147011f6e7e6099975c355ef44bd99488950cbd09b85aa2dd17448c1337942c18077fbea57c77984f SHA512 da3db40bda4cb709f24764531fab9c1e13c00fc4eda22a27a3f06320d5b3f85aa6b49aa35df8cd1aa17ca27d2019ac74151d504fe3c23bef50cdcd0771aca613 -DIST vivaldi-3.4.2066.106_p1-arm64.deb 68074616 BLAKE2B 90677ffe9f7b76a45a686dc1953c4eccb956a438c1c5afccf8e7af2fbdf3a22b5446fb4932c309c57ada545af2844f45a4c4fb3ec9c5731c7fe6ca29ba96aa27 SHA512 a8c44bcb0643f5282de37935161dad0e0cd278ead1ea1bcd4ee7a907ab630c41e5d88bb271c4221e3e8ca87fd5de0df9a902121ed7cd7266dc9f6942eb1d4f95 -DIST vivaldi-3.4.2066.106_p1-armhf.deb 67022536 BLAKE2B 5ee874dc41c484aa2130ca20a1a68b48178f7a55db1c56c010b4319448aada2c0c4e0b2d7ab36dd85d37cf4f789e25ec57679a3b6ea87c086e537025ab56199f SHA512 3fc1f20dcf7c0baa2c7a021b5e9d3480f62a04eb65697712df1481f85ef7afdc019a94e2873964ffba870bda525d5b84dbf3201a7e660428576e00c4770c067e -DIST vivaldi-3.4.2066.106_p1-i386.deb 72096496 BLAKE2B 6728eaefa74d4ee061d75d510817ccd7196455bd1e1f0347c90f7528358c33c7f81bd6e46edaafd94e0da1880e633dcf0aeee795eaeee3b88497a06f3ba9533b SHA512 cac85271513bbcc4af08c5e53c2652b4ac616ce7a11b5896af1c856879cd354298243314fb3ae535d059145cd412f66177b93d9e28f63a741411e04db4030ad7 -DIST vivaldi-3.4.2066.86_p1-amd64.deb 75651984 BLAKE2B 4b5b9caac33f490066ae69453311b6de14d62a49196d7f4ee945e48ca182c242c0de3c0e7ab6fe461073615360e24201972c8a4816f001c9ae75e91d73e4d804 SHA512 98a7100880c9d267ac16a12249452b8fcf66645226b1f9a9da720032e37b8f33ccb1ece77a987472d64a1a54575f9134f67f9468a8e40388f9959b6e7bdf67b4 -DIST vivaldi-3.4.2066.86_p1-arm64.deb 68056016 BLAKE2B 4e811146ba59096b90026b09f982012e4cb3b29c66e9ecca9737a7809b4821c28ab6c65aef4a00c2a06d95b5191c1cbd931fa99aec004d8715712cffaeffbfaf SHA512 889725b266a320397f9b983216eea18863f7047cf70e0f92b39765ab3789b98a3f0206603353f78ec77874eee9d5e019dd453373e211f7f800535b2e0595d518 -DIST vivaldi-3.4.2066.86_p1-armhf.deb 66985864 BLAKE2B b1ff5408d1fe254f169ae2a93e0b41a0a4e590448206e182996e154591964453ab2e508688a3a844812353f4d78c2e9a2b58ef329e4fa4e34b6895c6f8c79b33 SHA512 6a3ccbebc62cb64bf4f4813686b7376d4dd13f0081e849524f8e995282accda6d5fed22b6e562bdf831f23cb6cfb0d6421cb6c7c0dc9ce80ccc32566a4fcbc9b -DIST vivaldi-3.4.2066.86_p1-i386.deb 72748188 BLAKE2B ac949d03e3e24dfdac9461e212ea48135d6100a1b367c02cf23e0d9b0d2fe6826fb3a3a8207570ba26deac37f916f12a49d87894668a43218a8ce64a6fe1aa04 SHA512 4604fe7797c28e81fd71403fb32214ef48d06e508070da8f613ea16afd3b8074bc65fb81f7dacdbeb71847cb2704aa5ef1eb399199affc047a22582b629d9142 -EBUILD vivaldi-3.4.2066.106_p1.ebuild 2822 BLAKE2B d789dab33c105c76ad04055a8d73a9f4d240dc0188e959963ee985538164fe9ee3904a83e9e558a1c969ef87f620eaf2ac5e5aabb07ea8a6e9aa6dd08da719e4 SHA512 ed638bb8b00e0cee8da2a96bfcebb9fe0f729fb42415155b8df82d05d67e486db577356f310d99c5ee92a37f4a5d3b85e48a08c0c73a26f6914f764519e39357 -EBUILD vivaldi-3.4.2066.86_p1.ebuild 2822 BLAKE2B d789dab33c105c76ad04055a8d73a9f4d240dc0188e959963ee985538164fe9ee3904a83e9e558a1c969ef87f620eaf2ac5e5aabb07ea8a6e9aa6dd08da719e4 SHA512 ed638bb8b00e0cee8da2a96bfcebb9fe0f729fb42415155b8df82d05d67e486db577356f310d99c5ee92a37f4a5d3b85e48a08c0c73a26f6914f764519e39357 -MISC metadata.xml 247 BLAKE2B a6d015c1baf8e0e54108f65597e6436b8ca094101d024f983cdd729f91d30200b11b4ee0311ab8715eb7254b66e6986c049a0dc4b40f7dac0eb99f6eebf2b939 SHA512 85a929ccb27847519c5f405e28485e82549988b7e7227d491b423b2553471ee18a7200461120c70fb614b6a48b0fdcf39a2ab8b1a5ecd88ed8dc85a7b30088ee +DIST vivaldi-stable_3.5.2115.73-1_amd64.deb 76802208 BLAKE2B 1421a38a20fc1c25c5e8cebe5eeddf4a991759c325675538c2fc31c2d0001a9846a31a785f8f3f508a6cabc5e52d4365feb2e0a58d60d4cf160b86fc0333eae3 SHA512 f43ac8ebe8c86e244366160bcd5c2c33d22d0cd44602eaa8a4fa512cfc255ee0cfefd6e865eb12ed0f711c182d0f4313836e865cde416890bc694c2835e21bf7 +DIST vivaldi-stable_3.5.2115.73-1_arm64.deb 69054028 BLAKE2B fc17e2d84900d101d5a716fa79990cd6501e741c2e3c80889e3b4b5c057a2ea0dad29b9b22fc71768a14ad75677666ab6755ca3babd29cd9babbf72b15b3830d SHA512 af84e3d1719cfa0f19ccae17af48c375a03e676e68be92a8ab5babb6bec3d36d6cd1ce4b13daeeffd5f0117e2614d4c1da53f5c2690c7f373003cf805b7ca99d +DIST vivaldi-stable_3.5.2115.73-1_armhf.deb 68138412 BLAKE2B 22c061ac3112d2e8f81b3b9ad0e6fb3d852245f5ba15ca24a6a914d5fe5e8216e973b22e80cb3c94812eb7b02ed7a3b165390bd7651498c9149bfee07994664b SHA512 e1997250bec3f1591000b88a3e08446a8e2d1ffea057cb5faf101e048a1adad1db5d240ee6e12d959ad8d5172de8710ef969c407363b1693b9da83cd39091799 +DIST vivaldi-stable_3.5.2115.73-1_i386.deb 73581952 BLAKE2B 4cc3bc2109056dfcfab741ebee15337fc01213379c258ade99d460ab2e0f588eb54c34ac2596f8f6bc16761e69f43132ca2a8c1e81785f79238668f44be7de22 SHA512 65a25d67ec6decfbfb57fcfaead79600d6eabe3c7278b25c9c5103648e3dfff80d36838f210076bb85cdccf7ca3f4dbc9ef764cb449e76fd8ba54f05f9ed3ed2 +DIST vivaldi-stable_3.5.2115.81-1_amd64.deb 76800924 BLAKE2B f284db01815f2045f338ae05313c3ecc760c358f396d3a5b178f7b78958217929cca5b4565ab5cf886b66674392cd247e1e550b204789b7f82e75a612d0e73c4 SHA512 6586cb7b2aa481c131792e317181f7089bcce6fe2a9682eedd6dbcb957cecf79facd984c5003c23e028a9c8aea5b822f16d8716fe377fc9b9eca03628599f29a +DIST vivaldi-stable_3.5.2115.81-1_arm64.deb 69060656 BLAKE2B 980c9057d58ffb76f16ff460d507b0d1d4af698b45448be201a6da4b0332f9e10505c0e0cb377670b4f0e2e170467a753f0b694d07277af344908f72182f0f95 SHA512 aa4664f7dc7cb2f2c90a62f555d77ac5232d87205660a626cb6b391735d231e01c76318931607ebb763bb15fe61e6b5b76b9f8136899296db87084ceada38c86 +DIST vivaldi-stable_3.5.2115.81-1_armhf.deb 68138676 BLAKE2B 800424a447f968b73804dfb57505b7ba6f3d422f76e35b1260178fa3b1e8056d6452f9a131f0216d3b6e156e47c84e39bd95a436cccd0c3c44a4600e2378ea9d SHA512 9bdc9a697fe255d5435ea9435c2a5bcd7eabbcc8f013af573fc4b6903f367a14a5cd140ed9141a856bd4c16446fffad1582cf5f3701828a654459a65b1480a0f +DIST vivaldi-stable_3.5.2115.81-1_i386.deb 73600472 BLAKE2B fad4bbef97173f39446277b1ace8b8bf421cd979f02c490879f7b4b8ba3b82cfb6024c8ebad60aaaf436e755a69151883cbb0108212cce7f0274baa969f3f923 SHA512 8634d8a4ee9f0b240f5c8ab59599918f5e0f830e38f8caa6a24afcdf0e6c3291f447834e6262121ec0e484f098ee17be9fb4ed493b81ecba7e0551ee7a31fa96 +EBUILD vivaldi-3.5.2115.73.ebuild 3117 BLAKE2B fb8f547a924c8c3ce37587307faa723a897c354929193d65bc4efbac2f043b25e82c61ca4e2dfbb65133746c793e87b6781050fbbb887aa2f0b3f5193aa1c193 SHA512 6875e61344d5148d4e65de901512b7a02d03ac9a3aa5513a7c38dbb89efcbe96d7ec81391c0988bf503566e7c7528130204c97915f1321d0c595391139352319 +EBUILD vivaldi-3.5.2115.81.ebuild 3119 BLAKE2B 2280d8cb71ddda8d59bacd6b1302e2096ac7a74b5754f962bd8492ee321b5916ce3ebf999d12f6d0be52620a362bcb40d86d87ea31aea236eb0f8e4a13dd08ed SHA512 2a5c2b58435f1f871c6a7c83a82d642dda5e7b8d96d98f509b6c2b11573829cd58f5ccf64a3fee74c692d11921bed361791b3e6d304502a97c89efafb8bd02dd +MISC metadata.xml 484 BLAKE2B d42a35d2fe225a512c00ca9eaad5c30dc5f214f3ef90c25190b098b804cea3879c68bdcfa31add4253f9ffa37bc3514d26ae5ba89f8beb3c9727f201263e7329 SHA512 e5745b041627b0ee9242ae8e65bf3c065c6fa82cc45c93de3d1e41e1f53e7412b1d13b06f6dab1bc45ebcfd1861b5709a09c960f2bb4d0c221ae0d51b6e3b252 diff --git a/www-client/vivaldi/metadata.xml b/www-client/vivaldi/metadata.xml index 3b94165dd3d1..91c75704fe9c 100644 --- a/www-client/vivaldi/metadata.xml +++ b/www-client/vivaldi/metadata.xml @@ -5,4 +5,8 @@ <email>chewi@gentoo.org</email> <name>James Le Cuirot</name> </maintainer> + <use> + <flag name="proprietary-codecs">Use system <pkg>media-video/ffmpeg</pkg> to support patent-encumbered media codecs</flag> + <flag name="widevine">Unsupported closed-source DRM capability (required by Netflix VOD)</flag> + </use> </pkgmetadata> diff --git a/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild b/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild deleted file mode 100644 index f807af0fd17c..000000000000 --- a/www-client/vivaldi/vivaldi-3.4.2066.106_p1.ebuild +++ /dev/null @@ -1,115 +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 multilib unpacker toolchain-funcs xdg - -#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 -} diff --git a/www-client/vivaldi/vivaldi-3.4.2066.86_p1.ebuild b/www-client/vivaldi/vivaldi-3.4.2066.86_p1.ebuild deleted file mode 100644 index f807af0fd17c..000000000000 --- a/www-client/vivaldi/vivaldi-3.4.2066.86_p1.ebuild +++ /dev/null @@ -1,115 +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 multilib unpacker toolchain-funcs xdg - -#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 -} diff --git a/www-client/vivaldi/vivaldi-3.5.2115.73.ebuild b/www-client/vivaldi/vivaldi-3.5.2115.73.ebuild new file mode 100644 index 000000000000..9915e12fccfc --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.5.2115.73.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 +} diff --git a/www-client/vivaldi/vivaldi-3.5.2115.81.ebuild b/www-client/vivaldi/vivaldi-3.5.2115.81.ebuild new file mode 100644 index 000000000000..f69da1d681b9 --- /dev/null +++ b/www-client/vivaldi/vivaldi-3.5.2115.81.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 +} |