Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Nov 2018 11:45:20 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484686 - head/net-im/telegram-desktop
Message-ID:  <201811111145.wABBjKcf027649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Sun Nov 11 11:45:19 2018
New Revision: 484686
URL: https://svnweb.freebsd.org/changeset/ports/484686

Log:
  net-im/telegram-desktop:
  - Fix desktop entry
  
  PR:		232746
  Approved by:	Henry Hu (maintainer)

Modified:
  head/net-im/telegram-desktop/Makefile

Modified: head/net-im/telegram-desktop/Makefile
==============================================================================
--- head/net-im/telegram-desktop/Makefile	Sun Nov 11 11:45:11 2018	(r484685)
+++ head/net-im/telegram-desktop/Makefile	Sun Nov 11 11:45:19 2018	(r484686)
@@ -3,7 +3,7 @@
 PORTNAME=	telegram-desktop
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.4.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-im
 
 MAINTAINER=	henry.hu.sh@gmail.com
@@ -82,6 +82,7 @@ post-patch:
 		${FILESDIR}/gyp-patches | \
 		${PATCH} -z .bak -s)
 	@${ECHO} "#define FREEBSD_QT_PLUGINDIR \"${QT_PLUGINDIR}\"" > ${WRKSRC}/Telegram/SourceFiles/FREEBSD_QT_PLUGINDIR.h
+	${SED} -i -e "/Icon=/s|telegram|${PORTNAME}|" ${WRKSRC}/lib/xdg/telegramdesktop.desktop
 
 pre-configure:
 	@cd ${WRKSRC} && gyp \



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