# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit desktop gnome2-utils systemd DESCRIPTION="All-In-One Solution for Remote Access and Support over the Internet" HOMEPAGE="https://anydesk.com/" SRC_URI=" x86? ( https://download.anydesk.com/linux/${P}-i686.tar.gz ) amd64? ( https://download.anydesk.com/linux/${P}-amd64.tar.gz )" LICENSE="AnyDesk" SLOT="0" KEYWORDS="x86 amd64" IUSE="" DEPEND="x11-libs/gtkglext sys-auth/polkit app-arch/xz-utils app-arch/lz4" RDEPEND="${DEPEND}" src_install() { for size in 16 24 32 48 256; do newicon -s ${size} icons/${size}x${size}/apps/${PN}.png ${PN}.png done newicon -s scalable icons/scalable/apps/${PN}.svg ${PN}.svg dobin anydesk make_desktop_entry ${MY_PN} anydesk ${MY_PN} dodoc README changelog } pkg_postinst() { gnome2_icon_cache_update } pkg_postrm() { gnome2_icon_cache_update }