From 2d473748ba47a39c9ba689b4957f44ca6e2bd92d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 8 Oct 2017 18:03:40 +0100 Subject: r1710 revision bump --- net-im/telegram/telegram-0.10.1-r1710.ebuild | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 net-im/telegram/telegram-0.10.1-r1710.ebuild (limited to 'net-im/telegram/telegram-0.10.1-r1710.ebuild') diff --git a/net-im/telegram/telegram-0.10.1-r1710.ebuild b/net-im/telegram/telegram-0.10.1-r1710.ebuild new file mode 100644 index 00000000..eb2540d3 --- /dev/null +++ b/net-im/telegram/telegram-0.10.1-r1710.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +MY_PN="Telegram" +inherit eutils +DESCRIPTION="Unofficial telegram protocol client" +HOMEPAGE="https://telegram.org/" +SRC_URI=" + amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz -> ${P}.tar.xz ) + x86? ( https://updates.tdesktop.com/tlinux32/tsetup32.${PV}.tar.xz -> ${PN}32-${PV}.tar.xz )" + +RESTRICT="mirror" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +DEPEND="x11-libs/libxcb:= + dev-libs/glib:2 + x11-libs/libX11" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${MY_PN}" + +src_install() { + exeinto "/opt/${PN}" + doexe "${MY_PN}" + make_wrapper "${PN}" "/opt/${PN}/${MY_PN}" + make_desktop_entry "${PN}" "${MY_PN} Desktop" "/usr/share/pixmaps/${PN}.png" "" "MimeType=application/x-xdg-protocol-tg;x-scheme-handler/tg;" + newicon "${FILESDIR}/${PN}.png" "${PN}.png" +} -- cgit v1.2.3