commit: 4efab0b1e772548d29084212da68a5cc30ae79e5 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Oct 19 11:13:11 2018 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Oct 19 11:13:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4efab0b1
www-client/vivaldi-snapshot: Version 2.1.1337.17_p1 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> www-client/vivaldi-snapshot/Manifest | 4 + .../vivaldi-snapshot-2.1.1337.17_p1.ebuild | 118 +++++++++++++++++++++ 2 files changed, 122 insertions(+) diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 6ba2ff9bd2d..f5923f083ad 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.1.1332.4_p1-amd64.deb 58107088 BLAKE2B 111424cb9de5aaab2 DIST vivaldi-snapshot-2.1.1332.4_p1-arm64.deb 50357660 BLAKE2B 47af324087647fa288a265f5e386771895ee78bd905512624255108984190f20396724000ffea3d1917b1df3ebfe5aa996bf9e2f8a22387413aa7a5a2715315a SHA512 06038c1f87a5704ccdd208bf892ca3608d5b096d5d7ffe0f7a56637098c477c73013f49b6584b3567cce00a9eca25e52c88c561e6e65ba930cd046ad94e93727 DIST vivaldi-snapshot-2.1.1332.4_p1-armhf.deb 51256222 BLAKE2B 65a39ad25415e4937e8698446f7a97bcc7cce2bb425df7ea88dac42715e1575beeef9b570fc987b1b5419b3146c0510a6df0ad5bff9167fe07cd683f53b20808 SHA512 f3c036a73ec3f3a71219b9dab740348467b275c9fc3a0f5c45b44d4e8ee4e7ac9e64084dd7be2283518126e1477688b46a1d6bb3b94e357c689cc74e9b9afa07 DIST vivaldi-snapshot-2.1.1332.4_p1-i386.deb 56904124 BLAKE2B 10fec817ec87946b07b2b1cc2b15f4008a1f4a58d1798a518709abe3fcaf51d2067d542524a738871916698e557693739c76c835b44f46ce2aae1da8001fe0da SHA512 3279913022fdcd55d60ac0ad3ec4697f5f0b21f6b7c73c0887fc8ec61daf9970214b310654263ba752c2f18951f341a9cc0f39aeb32864b634e3fd794ceab766 +DIST vivaldi-snapshot-2.1.1337.17_p1-amd64.deb 58480706 BLAKE2B d86a87f199cfea16f855e56221ca9baeb75045f02cc39e8384eb1278b96468bc39e53c0d32cb63550c81a47794887997a25ec354bb2f9f1afcabe4c5ca333ca8 SHA512 84e49b82b3b499eed088e8c32b3509a6a0fc594ca6b1dda556b987a95a25daad69d4d5e597feeee49064b7d2c93ba783ae783bcac8992f8111ecb700cf116b43 +DIST vivaldi-snapshot-2.1.1337.17_p1-arm64.deb 50290640 BLAKE2B 7caba0afc906f410da12182a7de595b6eda0e30369e8a3c7755d346a0d6120770566357a2df4a78485551281345ef25d19a6b62395a9f741856ab65ceee6be1b SHA512 6501426fcca421ba156d1db4e4da744ce5cb2e51579d3e182393f3349f0e569f9d08f7c1ad1c8db7ed9b3e2569b71b0045e0a4a31d7533d4ca2df08ffc14cd36 +DIST vivaldi-snapshot-2.1.1337.17_p1-armhf.deb 51215486 BLAKE2B c7ad32d3eb26c2dda805bcbdec0d45b9f458095dae0ec3ed674c017d043490803ebb86abf85059c4a7ef364aaa27bbdcfb1e42138758d207ca5ccb6db3494f31 SHA512 d9f968ebb05e26ecd14b3c5ec82fc628fbbbe314d9ccb2c847a4882db49e48e73865e51f8387595c9f7f7ec51be04612595c7aa5a56d52cab04ce22db7bb13d0 +DIST vivaldi-snapshot-2.1.1337.17_p1-i386.deb 57383112 BLAKE2B a7f12b8b952bbaf12e9499c6c029e98d42096bdfbaca2d9c8c28582a2ece9fb054062d4d259fed5d700047cf7065aa9f4f1f9f5ced1dfebd90fcab56a4784362 SHA512 3ca65c6b68a4d9baf7d1bf5b7413d1a3f191d1fac83d46bed5da0e16d73fc00574200b2977e7c39b0cceecb1f0a6906a977a8e5682f9dd88ec2de97a302c246d diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.17_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.17_p1.ebuild new file mode 100644 index 00000000000..91b5d4fe6ab --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1337.17_p1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2018 Gentoo Authors +# 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 + + gunzip usr/share/doc/${PF}/changelog.gz || 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 +}