diff options
-rw-r--r-- | net-im/telegram/Manifest | 2 | ||||
-rw-r--r-- | net-im/telegram/files/telegram.png | bin | 0 -> 8529 bytes | |||
-rw-r--r-- | net-im/telegram/telegram-0.10.1.ebuild | 33 |
3 files changed, 35 insertions, 0 deletions
diff --git a/net-im/telegram/Manifest b/net-im/telegram/Manifest new file mode 100644 index 00000000..0cae2e38 --- /dev/null +++ b/net-im/telegram/Manifest @@ -0,0 +1,2 @@ +DIST telegram-0.10.1.tar.xz 20883804 SHA256 eb57fdf613c79be9408ac31476c37ad18a4991990fe8172e2007f6e90af4f1ee SHA512 879b802e0d959a41cca027f468a44a08701975b3e5c8dd3e97b4a9e719435ae09a60bb822fcfd223853d549df18b86a51472cd9897ce9693c8d23df2315f8e70 WHIRLPOOL ef477b3c8804afffb0e769cb999c53738f6f53767d28c1f62874c463c4a8a97230a741ef6c441c131bf220478d4bd98e16c909922b072662ac46240f5e3454a7 +DIST telegram32-0.10.1.tar.xz 21596744 SHA256 c942b08fdc452f3cdc97be398a35d2d28b7b4063f97de4b68a180007b494950a SHA512 24daff9f17808ae33711144e81e333ae4441ad728db3098593fbfc1544369ed8153be736ce828565a26ea5a900e05b82b625cba5c983a27329c21a93e3918641 WHIRLPOOL a9d57c75f7264c2d252d756e08632b4a3a4fbe820e23631aed084da8c3aad1c60ada2cb25cd6ead70e18795fec269349f42efd9c7664b3375a20fdab83a1d422 diff --git a/net-im/telegram/files/telegram.png b/net-im/telegram/files/telegram.png Binary files differnew file mode 100644 index 00000000..88b74325 --- /dev/null +++ b/net-im/telegram/files/telegram.png diff --git a/net-im/telegram/telegram-0.10.1.ebuild b/net-im/telegram/telegram-0.10.1.ebuild new file mode 100644 index 00000000..eb2540d3 --- /dev/null +++ b/net-im/telegram/telegram-0.10.1.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" +} |