From c5283d322accc6097afec74eab24550829788bab Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 23 Mar 2018 04:19:44 +0000 Subject: gentoo resync : 23.03.2018 --- www-client/vivaldi-snapshot/Manifest | 16 +-- .../vivaldi-snapshot-1.15.1111.3_p1.ebuild | 119 --------------------- .../vivaldi-snapshot-1.15.1125.3_p1.ebuild | 119 --------------------- .../vivaldi-snapshot-1.15.1130.3_p1.ebuild | 119 +++++++++++++++++++++ .../vivaldi-snapshot-1.15.1132.3_p1.ebuild | 119 +++++++++++++++++++++ 5 files changed, 246 insertions(+), 246 deletions(-) delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1132.3_p1.ebuild (limited to 'www-client/vivaldi-snapshot') diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index f2f58b9bc484..ea806bc8134a 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,10 +1,10 @@ AUX vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch 603 BLAKE2B a4b048e605d70544de30e69245b50615162aa8b983bb254b3979ee6060d93a1e04de16d4e8b2b0426a7faea471a89644be3d6896206de35affb2158941c0f542 SHA512 60aedeeb8e8443c3177f19b4aa745415138ad9f3fa4f3696ad00d2b93889e145f401c59298454e62462f0a8afa619ff2d07bb481ff5895735b89c3701d270be9 -DIST vivaldi-snapshot-1.15.1111.3_p1-amd64.deb 53551928 BLAKE2B aab84cc405c2d79b9aae8008b4a7fe1bcb0016edfeb4ea69aca2e418e9923e347f77f891c86e5f6f009d5723506015560d779279570aec19ead8fd38d76558f2 SHA512 c439687c0f49fe8cbc412ef6a68de2996fea7dbb68c49ef71cb9593c00a7517ceab6484226556df232942e608f92c76475f282a92cbc2aca6e03a54e59af425c -DIST vivaldi-snapshot-1.15.1111.3_p1-armhf.deb 47359170 BLAKE2B 191c96c73bb81b1770bf4cb537cadd551f7d4ba25b2c51e0a49e6e6f579ecc1408eb52482523e2178570ee296f7e8c661bc502b65f578614924fd26139279777 SHA512 ddbfdddafa2a62feaed7d1550a4d9794bb5e1f411219cc08e1508b1843c602da28cb97c4550bd97cf61444eaac7edc43db26c5a7f9ccca2824e277a9fb25e905 -DIST vivaldi-snapshot-1.15.1111.3_p1-i386.deb 53107268 BLAKE2B 30917a72703010d4709375d12399fa465172c87572ce01b160f86bf533f8d5cae6375524a34f6ca7e6996853cc213ac0448da1056a43f07cc58bdfc8861db707 SHA512 c07621fd73a3b785700083f060ea2183c14607b2afa13351f10414c215300ea716b29b90b676b6fa809b56ea0430d70f3f571a7a788a353de6d15ddb8f1b8b49 -DIST vivaldi-snapshot-1.15.1125.3_p1-amd64.deb 53845610 BLAKE2B 01433366fdc99d634f4006ae1ab9360c2ca9b83dfba5198290c425ffc9e1d4946fca996669ada36a44e4bb6100b895a448fd30319952fb8b8ee3894b905af814 SHA512 46b7a6e69b68d5116bd07a7c4820860b5a03efb545adedd575f44615a1c5c740350cb6dde11d10e9133fc1930b43fd17428de7b70668351935893e78630ecf86 -DIST vivaldi-snapshot-1.15.1125.3_p1-armhf.deb 47676456 BLAKE2B 0ab3d4d629f2512eeb43b143f5e901c2c6e9099457efc99fc75786c3c6449475185801fe30d69bed6cd5de76b66240d276a6d13de109e177b7f481ab138d1e2d SHA512 73b94b924b95fef079c3ea1ae88fd10fc30ca1fea537c56f25fac15c83a67aa4a1ae68d1007b7b1e236869db52e7445121965728e83a0ccfb5bf881720a9b94d -DIST vivaldi-snapshot-1.15.1125.3_p1-i386.deb 53499074 BLAKE2B f56fa05afd67e8fc07366dec84a1eaec6149eea2eb88fa7b0c324587d4b4cf5fc601427d0659a90dde4e4609903645d2e939fc4ab0bf748f58b844097e1f048b SHA512 57bbf40b27a05a84dad3f4c34847e936b5076093445ba2c5df0f1d84e710e029a8433d372b2557ebf5d9b1169ccdcd4b0d4d2f063d533b9dc6a08e68c158f9c3 -EBUILD vivaldi-snapshot-1.15.1111.3_p1.ebuild 2631 BLAKE2B 1f736c60ee67e0dae5fbd7682d546f79609fcbf416bfa14cabad3d6cbace0c68469d3d9c30dd9c604a0b18ad7e9ed795f64c440adabb5914472b37f765986462 SHA512 d4fec030632f8c5eef4d47b525970f9d2b9671e3ed1afac95b34ec8790b15cd431a17abd8fc4346241f4cd6ac31309424bb057832732c3586c4b75128cdaec0c -EBUILD vivaldi-snapshot-1.15.1125.3_p1.ebuild 2631 BLAKE2B 1f736c60ee67e0dae5fbd7682d546f79609fcbf416bfa14cabad3d6cbace0c68469d3d9c30dd9c604a0b18ad7e9ed795f64c440adabb5914472b37f765986462 SHA512 d4fec030632f8c5eef4d47b525970f9d2b9671e3ed1afac95b34ec8790b15cd431a17abd8fc4346241f4cd6ac31309424bb057832732c3586c4b75128cdaec0c +DIST vivaldi-snapshot-1.15.1130.3_p1-amd64.deb 53855214 BLAKE2B daf5d14cba22f2d54ff06b20662a6fec182b427326420ebebbeb79c4301a267877de48722846e24259920b6e624d036513ab4bd5f09e4aab652191ca1db0d575 SHA512 81a267833865f21ab28eed135006a051a362eddcef11e629dbc9479a266d29f795a37bba2b65e736ce6630e32b75df10ef1cc77874151abd5f44c9a266338042 +DIST vivaldi-snapshot-1.15.1130.3_p1-armhf.deb 47677596 BLAKE2B a40a964d93b9bce66ae8d971eb4bc344b76a355e45485a4f8562b407af1c57722241ba6f5140307c912f697332b706ca88516ad2182dbb5c36d988573a6b63a9 SHA512 aa35679da8f204929fb9851345e6b2a4a336574cb52892982bd93e3049253e3cb72f795201a7637420fa4916d35408b1baa011c256a93e49e501cc3a2babfd7a +DIST vivaldi-snapshot-1.15.1130.3_p1-i386.deb 53515052 BLAKE2B 758ac8abc2652d884fd4d15eee8529ef54255d636587dfbb40ecac24509e589002e9a0515d35ae8294d02c33391916499b3765714881712a7e4485840fcea716 SHA512 278563829d3c24cf1c4085604e480bf70c8f09789f0f68ae6b3bc4ffeef867fc6db45164d240d963c405c77fa6314d7a63150e582d3b7c70f9a1ea14abe1cf04 +DIST vivaldi-snapshot-1.15.1132.3_p1-amd64.deb 53852234 BLAKE2B c47890c5242ae6187d4a89a444979b9839f27c4803c15482f737a67c1bf29c98e2f74f1c8048f7f6529975b40ab226413ca97b8fd9ecfe514a5f14429cdab879 SHA512 227bcbf6b96a68d97a84a84a6b65c1e0f93992c2112385eb8b19db1338d0577f520b6a362d95aa8cb5321d0b3fe4a213cffee536fb46b6ea6cbf8f6a9f667c06 +DIST vivaldi-snapshot-1.15.1132.3_p1-armhf.deb 47691780 BLAKE2B 1e55d80f4b2470bc2dcf1b22c938eebf1fc6165f2fed0f59a1a2a140aca81c24e7f20ffb9f5562936683806382b7bb6c80985806af607226aafc45feb709bb0e SHA512 6512853677572138a2e90cefe3620ed135f080861af220ffc961aca2b86d318615f33f4b0959017548231168dd08a4fbe4b435aa06be4818ede2ea44a710380b +DIST vivaldi-snapshot-1.15.1132.3_p1-i386.deb 53505910 BLAKE2B 58e16657f3ffba1fbcd5ef32797843d0fb0eb5cb59e94b78839f2fca3a741e11bf02bb688f7886bd24b6a3fcd594a482aed444be8eaa445d64fe316114cd8b04 SHA512 f5f4b5b67526f03e833a8e450cf5a4a2262b8f65e97dd9d69132238eb7e77bbaf74c705d7f09b3ef35a39d82adf233941d2e5954e4f48ef0af0030973bb9ba2c +EBUILD vivaldi-snapshot-1.15.1130.3_p1.ebuild 2631 BLAKE2B 1f736c60ee67e0dae5fbd7682d546f79609fcbf416bfa14cabad3d6cbace0c68469d3d9c30dd9c604a0b18ad7e9ed795f64c440adabb5914472b37f765986462 SHA512 d4fec030632f8c5eef4d47b525970f9d2b9671e3ed1afac95b34ec8790b15cd431a17abd8fc4346241f4cd6ac31309424bb057832732c3586c4b75128cdaec0c +EBUILD vivaldi-snapshot-1.15.1132.3_p1.ebuild 2631 BLAKE2B 1f736c60ee67e0dae5fbd7682d546f79609fcbf416bfa14cabad3d6cbace0c68469d3d9c30dd9c604a0b18ad7e9ed795f64c440adabb5914472b37f765986462 SHA512 d4fec030632f8c5eef4d47b525970f9d2b9671e3ed1afac95b34ec8790b15cd431a17abd8fc4346241f4cd6ac31309424bb057832732c3586c4b75128cdaec0c MISC metadata.xml 238 BLAKE2B 72d4053d28bbf82c9a08a88b354321a782501542b5d506fc6d9f4034839f302761124d59445c0414a0fd38b6401cd5fbe06670802abdb1f25c7cb60919ea5d2e SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild deleted file mode 100644 index ee9ad44cb619..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1111.3_p1.ebuild +++ /dev/null @@ -1,119 +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 new browser for our friends" -HOMEPAGE="http://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/openssl-1.0.1:0 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch - - 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-1.15.1125.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild deleted file mode 100644 index ee9ad44cb619..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1125.3_p1.ebuild +++ /dev/null @@ -1,119 +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 new browser for our friends" -HOMEPAGE="http://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/openssl-1.0.1:0 - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch - - 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-1.15.1130.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild new file mode 100644 index 000000000000..ee9ad44cb619 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1130.3_p1.ebuild @@ -0,0 +1,119 @@ +# 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 new browser for our friends" +HOMEPAGE="http://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/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + 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-1.15.1132.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1132.3_p1.ebuild new file mode 100644 index 000000000000..ee9ad44cb619 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.15.1132.3_p1.ebuild @@ -0,0 +1,119 @@ +# 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 new browser for our friends" +HOMEPAGE="http://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/openssl-1.0.1:0 + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + 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 "${FILESDIR}"/vivaldi-snapshot-1.14.1072.3_p1-libffmpeg.patch + + 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