diff --git a/net-im/viber/Manifest b/net-im/viber/Manifest index d6a6a5246..c50fe5ca3 100644 --- a/net-im/viber/Manifest +++ b/net-im/viber/Manifest @@ -1 +1 @@ -DIST viber-18.2.0.2.deb 133597600 BLAKE2B e631ecee8d17fc409959abbc9afb8be0231a0108f360b0bfef9482b9ad4672ecfd16c44178d68cc6b7ef0516d46792f75575b9c46c630318a2329cb392f2f224 SHA512 e3543322058285b1cffd9e6fc22376aad831b30ff4f2dd71567840ba5bcead7241d8f132f0eec9a5eb6fcbcb42b56d12636976a02d1de232aedcaf36d2961ff8 +DIST viber-21.0.0.1.deb 152860172 BLAKE2B 77a8a00ce191ead0ca285f8e4a5a1f7c9035e778dad3eaa2e34386645377965017ebe13c7c52324b24d198d1f59ea517094c58c4a9d2c7620f1c6535e0293914 SHA512 0ff5fffaefd85a15dba19be4c50e49cf1530bc7ed5226e0220c66c0c3d6e0b03d4bec4cf142696c6ebefad00943b144164750dd20e18cee6feba9b229c3c2d2b diff --git a/net-im/viber/viber-18.2.0.2.ebuild b/net-im/viber/viber-18.2.0.2.ebuild deleted file mode 100644 index cd271ba87..000000000 --- a/net-im/viber/viber-18.2.0.2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MULTILIB_COMPAT=( abi_x86_64 ) - -inherit desktop multilib-build pax-utils unpacker xdg - -QA_PREBUILT="/opt/viber/Viber - /opt/viber/libexec/QtWebEngineProcess - /opt/viber/plugins/*/*.so - /opt/viber/lib/* - /opt/viber/qml/*" - -DESCRIPTION="Free and secure calls and messages to anyone, anywhere" -HOMEPAGE="https://www.viber.com/" -SRC_URI="https://download.cdn.viber.com/cdn/desktop/Linux/${PN}.deb -> ${P}.deb" - -LICENSE="Viber" -SLOT="0" -KEYWORDS="-* amd64" -IUSE="+abi_x86_64 apulse +pulseaudio" -REQUIRED_USE="^^ ( apulse pulseaudio )" -RESTRICT="bindist mirror" - -RDEPEND=" - app-arch/brotli - dev-libs/expat[${MULTILIB_USEDEP}] - dev-libs/glib:2[${MULTILIB_USEDEP}] - dev-libs/nspr[${MULTILIB_USEDEP}] - dev-libs/nss[${MULTILIB_USEDEP}] - dev-libs/openssl-compat[${MULTILIB_USEDEP}] - dev-libs/wayland[${MULTILIB_USEDEP}] - media-libs/alsa-lib[${MULTILIB_USEDEP}] - media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] - media-libs/freetype:2[${MULTILIB_USEDEP}] - media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] - media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] - net-print/cups[${MULTILIB_USEDEP}] - sys-apps/dbus[${MULTILIB_USEDEP}] - sys-libs/zlib:0/1[${MULTILIB_USEDEP}] - x11-libs/libdrm[${MULTILIB_USEDEP}] - x11-libs/libICE[${MULTILIB_USEDEP}] - x11-libs/libSM[${MULTILIB_USEDEP}] - x11-libs/libX11[${MULTILIB_USEDEP}] - x11-libs/libxcb:0/1.12[${MULTILIB_USEDEP}] - x11-libs/libXcomposite[${MULTILIB_USEDEP}] - x11-libs/libXcursor[${MULTILIB_USEDEP}] - x11-libs/libXdamage[${MULTILIB_USEDEP}] - x11-libs/libXext[${MULTILIB_USEDEP}] - x11-libs/libXfixes[${MULTILIB_USEDEP}] - x11-libs/libXi[${MULTILIB_USEDEP}] - x11-libs/libXrandr[${MULTILIB_USEDEP}] - x11-libs/libXrender[${MULTILIB_USEDEP}] - x11-libs/libXScrnSaver[${MULTILIB_USEDEP}] - x11-libs/libXtst[${MULTILIB_USEDEP}] - x11-libs/xcb-util-image[${MULTILIB_USEDEP}] - x11-libs/xcb-util-keysyms[${MULTILIB_USEDEP}] - x11-libs/xcb-util-renderutil[${MULTILIB_USEDEP}] - x11-libs/xcb-util-wm[${MULTILIB_USEDEP}] - apulse? ( media-sound/apulse[${MULTILIB_USEDEP}] ) - pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) -" - -S="${WORKDIR}" - -src_prepare() { - default - - if use apulse ; then - sed -i '/Exec=/s|/opt|apulse /opt|' \ - usr/share/applications/viber.desktop || die "sed failed" - fi - - # remove hardcoded path - sed -i '/Icon/s|/usr/share/pixmaps/viber.png|viber|' \ - usr/share/applications/viber.desktop \ - || die "sed failed for viber.desktop" -} - -src_install() { - newicon -s scalable usr/share/icons/hicolor/scalable/apps/Viber.svg \ - viber.svg - for size in 16x16 24x24 32x32 48x48 64x64 96x96 128x128 256x256; do - newicon -s "${size%%x*}" usr/share/viber/"${size}".png viber.png - done - dosym ../icons/hicolor/96x96/apps/viber.png \ - /usr/share/pixmaps/viber.png - - domenu usr/share/applications/viber.desktop - - insinto /opt/viber - doins -r opt/viber/. - - pax-mark -m "${ED}"/opt/viber/Viber \ - "${ED}"/opt/viber/QtWebEngineProcess - - fperms -R +x /opt/viber/Viber \ - /opt/viber/libexec - - dosym ../../opt/viber/Viber /usr/bin/Viber -} diff --git a/net-im/viber/viber-18.2.0.2-r3.ebuild b/net-im/viber/viber-21.0.0.1.ebuild similarity index 98% rename from net-im/viber/viber-18.2.0.2-r3.ebuild rename to net-im/viber/viber-21.0.0.1.ebuild index 1db0cafd3..e4c1e7331 100644 --- a/net-im/viber/viber-18.2.0.2-r3.ebuild +++ b/net-im/viber/viber-21.0.0.1.ebuild @@ -102,7 +102,7 @@ RDEPEND=" x11-libs/xcb-util-renderutil[${MULTILIB_USEDEP}] x11-libs/xcb-util-wm[${MULTILIB_USEDEP}] apulse? ( media-sound/apulse[${MULTILIB_USEDEP}] ) - pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[glib,${MULTILIB_USEDEP}] ) " S="${WORKDIR}"