From 586819755b4dbfdffdc8a725ab7c0f86095b8489 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Sep 2018 17:37:09 +0100 Subject: gentoo resync : 15.09.2018 --- www-client/vivaldi-snapshot/Manifest | 18 ++-- .../vivaldi-snapshot-2.0.1295.3_p1.ebuild | 115 -------------------- .../vivaldi-snapshot-2.0.1296.4_p1.ebuild | 115 -------------------- .../vivaldi-snapshot-2.0.1302.3_p1.ebuild | 116 +++++++++++++++++++++ .../vivaldi-snapshot-2.0.1303.3_p1.ebuild | 116 +++++++++++++++++++++ 5 files changed, 242 insertions(+), 238 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1296.4_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1303.3_p1.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 481946d96c3b..b0ee0f7520cb 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,11 @@ -DIST vivaldi-snapshot-2.0.1295.3_p1-amd64.deb 57416930 BLAKE2B ee2f36b1f8194b26b0a483ae14558a238ef18c430a9c0df7dfb634d29445be41e3d20085c770f4651867ce191133c3169e3bc5df6bbf8e4ad990b813c98bffa2 SHA512 2360785eb2ef0690a7c349434e7d1578fbb8159bdd74f2c518fd46cd188e877514d6f5e583cdf386119b96504b8ce725ab521d6dd69f49eb0554759112c0b44a -DIST vivaldi-snapshot-2.0.1295.3_p1-armhf.deb 50800434 BLAKE2B 52d93913df567a1c32ed79f027b77b57b75e9d6e532169ee3e9b3427fb90c4aee8b4a1029f42a7be8f558dac5439a41e76d0f8868f5dca45983dc626948474de SHA512 c6adc12a7db4cb5049d1786242bcac8acefd59e875512f318c08c9d49d2fb117970dc413a8729248f31cea1f9d5631e9749dd608d4fbccc51a220b454a7ca95a -DIST vivaldi-snapshot-2.0.1295.3_p1-i386.deb 56660352 BLAKE2B 5fb8baae790176deecaa99f79fff81b3b62b580f337d849a937eec31ae5507abe6de5bba9589817711b2bb732e5fefcb0726d1ec8803811e47d21ddf0275029b SHA512 522be155c89447d91a46f8fcf325f1f343f37c98392280e7d9dbb8eee938f1721f025e744f19a6c7a87fc2ad8ddfc9844bb3de69622f174bfaec335106cddea0 -DIST vivaldi-snapshot-2.0.1296.4_p1-amd64.deb 56906278 BLAKE2B c26b964198697b11aaaefdc06730d4903eaf06ab026bfdeecfb87836e878d7e892dd6ec0a4e4c0583f6ba5453ca8de24ef1d0e85a9fa711c2a1d8a3bc5071679 SHA512 a4372fb13967f966086f784a4287d8a6b90c5956e2d0c925f3a062035cee65d41c545cea27d4e7a2df390c85aeaa10b98dbfb471d46eb0ae48e3aaaabd395433 -DIST vivaldi-snapshot-2.0.1296.4_p1-armhf.deb 50820992 BLAKE2B 4d263810cc5255f1003e556f1cd1b98460ab34b0e87d4e2cf5c227a209c5868a263eae8acc2e4453703f2fba2f74a459411ed8fd800ddb1632add2a14e6cbb23 SHA512 c27ce2ecde4ca91279172ae1d828c7d38e2e1ba77369f9f68422a07a935d2dc9b9de9d603465320a404ae0c4b7f9b6a634ac88e9edcb62152f88f07a650f72ac -DIST vivaldi-snapshot-2.0.1296.4_p1-i386.deb 56640854 BLAKE2B 9817da1c339b6bd8e7aa6776bec0c0d0ee57c20d3ddfdf3fdd6cf7e4c44d9b24e1af4f662fab16abc67d9c6891e1e6926f357997773a79f68aaad724c39528a0 SHA512 a41bf13be1e91eb6a33640d99972f1af20e412b3c691620b3db938c007922a6fac3683c2b5a534c29c7986687f446c4693b2bd223f7124100fee466bcb37af97 -EBUILD vivaldi-snapshot-2.0.1295.3_p1.ebuild 2509 BLAKE2B e2bf04ea6626b6f1b1ad34e1825a12eec0f6fc2ee785faf9c62ad3076e3b911f73a23f5850264afab28023475f4d1d27954bd2510b7268ba895f948fa83069f8 SHA512 0488ae172c9096e9bd4ed7b862964a50735f74db4e77039e1efe2f712540fb3807fa45090ab6bb7f245db1f43fe15a90b78a39ba7453e28f7455f45be5e2127d -EBUILD vivaldi-snapshot-2.0.1296.4_p1.ebuild 2509 BLAKE2B e2bf04ea6626b6f1b1ad34e1825a12eec0f6fc2ee785faf9c62ad3076e3b911f73a23f5850264afab28023475f4d1d27954bd2510b7268ba895f948fa83069f8 SHA512 0488ae172c9096e9bd4ed7b862964a50735f74db4e77039e1efe2f712540fb3807fa45090ab6bb7f245db1f43fe15a90b78a39ba7453e28f7455f45be5e2127d +DIST vivaldi-snapshot-2.0.1302.3_p1-amd64.deb 57459330 BLAKE2B 257abe9f38ca3a3477281ebb277a1e9bad2776364dc11f1eda78c8dbf3e54ce63a8f9be4f747358e1fcff5773ebb21380c41160fd01b7e4345a0663a108916fc SHA512 5d8c8a6488c3ce009208a0428dab291cab9eb50c12accfca8c6c61df30120863e7d9f6ac4ea8a47374a47a7a0902da10649a51f387620ca1d90d6a97fbe152ec +DIST vivaldi-snapshot-2.0.1302.3_p1-arm64.deb 49802990 BLAKE2B 7a10b44009612be90d598d071153950df5addc6cbd34b1321e9877de25de6bfc1ce2b1709c2ef02915bc051163dd957d467535cec17392eedf4b18d90c564e12 SHA512 a94a2e5004fd36d9aef0d73026b0443a9edeb739e9fd438eacae396fe0fccdaeeb68b3055a3252ee3f26969a9e88c7a8c257085a890dcda4f723478ae0401def +DIST vivaldi-snapshot-2.0.1302.3_p1-armhf.deb 50843704 BLAKE2B 056ccc1d0e67a2272addc5545d077bbf32aad499354341b4cb1659a6738004bfcf911741f8d228d8153df3d7a7e10629c542b52032c4ba8cb7c88ad86cc3b9f1 SHA512 aad2b698d7111c9277901a46f1c207d95f66a724e45e58225311405b044035118dbdf5fff6de06839d89d8b8607a6fc730425ba83323223f4b96ddc29159c7e4 +DIST vivaldi-snapshot-2.0.1302.3_p1-i386.deb 56656506 BLAKE2B de4f202b5f7f9991b89187f28bc571110e0f2876dce6829857d76dcc8149df68a0a6365292202b9ff4a9aa7a6ced47abd1f66ecf1289d991fd20d873109dfb3b SHA512 40a910f9d1bb2590287ac05f80c56f123d21057e68e5bb9d3f58e10a824a3372d696f922aefc4c81b705c8f1751779ef76022e8dd7236103f6f542571ff42462 +DIST vivaldi-snapshot-2.0.1303.3_p1-amd64.deb 57461120 BLAKE2B 684f391a6f9dc03899339d2106debdeb35ea90bd75d46ef3fad656f75399708c23ae0a920bb2993dcc869c240b02a029699ee6f608e02d97f6b02bfe90105e17 SHA512 d99ab6b874e9f795d32e4009bcb592f333fb71de44b1106ce061838225fadca7226288ba01b973cc6758f417c3370466e2f6942bc9b526b9ad7a3b343b5fdd36 +DIST vivaldi-snapshot-2.0.1303.3_p1-arm64.deb 49786848 BLAKE2B 9180c893af0bb511e64f8c651a6f6140760584ddf30cf12b4a20c96ba0acba165efbeb63cf3c232a60ac19dcc9c115b1ad38ce783f18d9eb00ca235db01990e5 SHA512 cc4ea521e173467bc69909cb5d1a658c58613f418016ffb645abbabd3e5c42ceaae7dedfae4ee0bfe35b997bace1792d73f8872d96701dbc26c6fdcc6cbebcb8 +DIST vivaldi-snapshot-2.0.1303.3_p1-armhf.deb 50825626 BLAKE2B 55db5e1debbeacb73aeced9f043fbe81cec6be92f35e6c42f47ac8058e7fb7a5caf0d059f209ebc4bf1c54fa86dea8c9237e03429909534a39d14d8f64574290 SHA512 18b6d6a2a2e9ebefe5899a68afcbc1c094c295ad2ca29e1c16ceda2d0b8bc55cfe0a5776af69cadec015ef81277d7a9cb4217c1f713e757ca321c2ffcb3fdd89 +DIST vivaldi-snapshot-2.0.1303.3_p1-i386.deb 56661988 BLAKE2B 95ed3c8797c2097181b826cd4a7e9bfc9a1e7ad09dc550606ac4be52abdedf492e103cee2794bed17900fa82b50817b6014b69f2da45942283d99a60b96009a0 SHA512 e19365f07b27889329e7770ab2dfda7d65e70393fa9b6267af7382c13783e95ee779ec2fd1e0152639eee49f4a4d7259b959ef84311df4672bd87f5a09e6641a +EBUILD vivaldi-snapshot-2.0.1302.3_p1.ebuild 2575 BLAKE2B 00cb85587640145bdcfced76499c23211fd13f2fd7f96a2204445dec44c1243177ac692d921a90853dee22ae39030c06ceeeda5d38e0496d6489ce86c3c38d87 SHA512 8cec999c367acb3ed2fafc9c9e269e3a9a56c01f527cff9413bbc9d58864a5755bd2ba0e5a46565179e00a2bf9af2ff68bcf65db5d3abb46dcb56b0fc5adba10 +EBUILD vivaldi-snapshot-2.0.1303.3_p1.ebuild 2575 BLAKE2B 00cb85587640145bdcfced76499c23211fd13f2fd7f96a2204445dec44c1243177ac692d921a90853dee22ae39030c06ceeeda5d38e0496d6489ce86c3c38d87 SHA512 8cec999c367acb3ed2fafc9c9e269e3a9a56c01f527cff9413bbc9d58864a5755bd2ba0e5a46565179e00a2bf9af2ff68bcf65db5d3abb46dcb56b0fc5adba10 MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild deleted file mode 100644 index e897c38d5d11..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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 ) - 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+: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 - - 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 -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1296.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1296.4_p1.ebuild deleted file mode 100644 index e897c38d5d11..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1296.4_p1.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# 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 ) - 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+: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 - - 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 -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild new file mode 100644 index 000000000000..20db390fedd8 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1302.3_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 + + 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 +} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1303.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1303.3_p1.ebuild new file mode 100644 index 000000000000..20db390fedd8 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1303.3_p1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 + + 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 +} -- cgit v1.2.3