Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 19:15:43 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443529 - in head/net-im: . linux-telegram-desktop linux-telegram-desktop/files
Message-ID:  <201706131915.v5DJFheQ043378@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Jun 13 19:15:43 2017
New Revision: 443529
URL: https://svnweb.freebsd.org/changeset/ports/443529

Log:
  Linux version of the official desktop client for Telegram, a cloud-based
  messenger with a focus on security and speed.
  
  WWW: https://desktop.telegram.org/
  
  PR:		217019 (modified)
  Submitted by:	Henry Hu

Added:
  head/net-im/linux-telegram-desktop/
  head/net-im/linux-telegram-desktop/Makefile   (contents, props changed)
  head/net-im/linux-telegram-desktop/distinfo   (contents, props changed)
  head/net-im/linux-telegram-desktop/files/
  head/net-im/linux-telegram-desktop/files/telegram-desktop.sh.in   (contents, props changed)
  head/net-im/linux-telegram-desktop/pkg-descr   (contents, props changed)
Modified:
  head/net-im/Makefile

Modified: head/net-im/Makefile
==============================================================================
--- head/net-im/Makefile	Tue Jun 13 17:45:02 2017	(r443528)
+++ head/net-im/Makefile	Tue Jun 13 19:15:43 2017	(r443529)
@@ -72,6 +72,7 @@
     SUBDIR += licq-msn
     SUBDIR += licq-osd
     SUBDIR += licq-qt-gui
+    SUBDIR += linux-telegram-desktop
     SUBDIR += loudmouth
     SUBDIR += mastodon
     SUBDIR += mbpurple

Added: head/net-im/linux-telegram-desktop/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/linux-telegram-desktop/Makefile	Tue Jun 13 19:15:43 2017	(r443529)
@@ -0,0 +1,41 @@
+# Created by: Henry Hu <henry.hu.sh@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	telegram-desktop
+PORTVERSION=	1.1.7
+CATEGORIES=	net-im linux
+MASTER_SITES=	https://updates.tdesktop.com/tlinux32/ \
+		http://freebsd.nsu.ru/distfiles/
+PKGNAMEPREFIX=	linux-
+DISTNAME=	tsetup32.${PORTVERSION}
+
+MAINTAINER=	henry.hu.sh@gmail.com
+COMMENT=	Official desktop client for Telegram messenger (Linux version)
+
+LICENSE=	GPLv3
+
+USES=		linux:c7 tar:xz
+USE_LINUX=	alsalib alsa-plugins-oss dbuslibs dri expat gtk2 xorglibs
+NO_BUILD=	yes
+
+WRKSRC=		${WRKDIR}/Telegram
+TDESKTOPDIR=	lib/telegram-desktop
+SUB_FILES=	telegram-desktop.sh
+SUB_LIST=	TDESKTOPDIR=${TDESKTOPDIR}
+
+DESKTOP_ENTRIES=	"Telegram Desktop" "${COMMENT}" "" \
+			"${PREFIX}/bin/telegram-desktop -- %u" \
+			"Network;InstantMessaging;" false
+
+PLIST_FILES=	bin/telegram-desktop ${TDESKTOPDIR}/Telegram
+
+do-install:
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${TDESKTOPDIR}
+# The main program binary
+	${INSTALL_PROGRAM} ${WRKSRC}/Telegram \
+		${STAGEDIR}${PREFIX}/${TDESKTOPDIR}
+# Wrapper for the main program
+	${INSTALL_SCRIPT} ${WRKDIR}/telegram-desktop.sh \
+		${STAGEDIR}${PREFIX}/bin/telegram-desktop
+
+.include <bsd.port.mk>

Added: head/net-im/linux-telegram-desktop/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/linux-telegram-desktop/distinfo	Tue Jun 13 19:15:43 2017	(r443529)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1496182037
+SHA256 (tsetup32.1.1.7.tar.xz) = 49db49c089efa680e8ce68ee7153e7a3f601e485a1305857f5cf1b13a5e7e5b0
+SIZE (tsetup32.1.1.7.tar.xz) = 30618984

Added: head/net-im/linux-telegram-desktop/files/telegram-desktop.sh.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/linux-telegram-desktop/files/telegram-desktop.sh.in	Tue Jun 13 19:15:43 2017	(r443529)
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+export QT_XKB_CONFIG_ROOT=%%PREFIX%%/share/X11/xkb
+exec %%PREFIX%%/%%TDESKTOPDIR%%/Telegram "$@"

Added: head/net-im/linux-telegram-desktop/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-im/linux-telegram-desktop/pkg-descr	Tue Jun 13 19:15:43 2017	(r443529)
@@ -0,0 +1,12 @@
+This port provides Linux version of the official Telegram desktop client.
+
+Telegram is a messaging application with a focus on speed and security;
+it is super-fast, simple, and free.  You can use Telegram on all your
+devices at the same time -- your messages synchronize seamlessly across
+any number of your phones, tablets, or computers.
+
+With Telegram, you can send messages, photos, videos, and files of any
+type, as well as create groups for up to 1000 people or channels for
+broadcasting to unlimited audiences.
+
+WWW: https://desktop.telegram.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706131915.v5DJFheQ043378>