Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2015 21:40:45 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403740 - head/net-im/qTox
Message-ID:  <201512142140.tBELej4p044014@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Mon Dec 14 21:40:45 2015
New Revision: 403740
URL: https://svnweb.freebsd.org/changeset/ports/403740

Log:
  Update to 1.2.1.
  
  PR:		ports/205309
  Submitted by:	yuri (at) rawbw.com (maintainer)

Modified:
  head/net-im/qTox/Makefile
  head/net-im/qTox/distinfo

Modified: head/net-im/qTox/Makefile
==============================================================================
--- head/net-im/qTox/Makefile	Mon Dec 14 21:12:24 2015	(r403739)
+++ head/net-im/qTox/Makefile	Mon Dec 14 21:40:45 2015	(r403740)
@@ -2,7 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	qTox
-PORTVERSION=	0.151116
+PORTVERSION=	1.2.1
+DISTVERSIONPREFIX=	v
 CATEGORIES=	net-im net-p2p
 
 MAINTAINER=	yuri@rawbw.com
@@ -22,16 +23,20 @@ LIB_DEPENDS=	libtoxcore.so:${PORTSDIR}/n
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	tux3
-GH_TAGNAME=	db52ef6
 
 USES=		compiler:c++11-lib desktop-file-utils openal:soft qmake gmake
 USE_GNOME=	glib20 gtk20 cairo gdkpixbuf2
 USE_XORG=	x11 xscrnsaver
 USE_QT5=	core gui network xml opengl sql sql-sqlite3_run widgets svg \
 		concurrent buildtools_build linguisttools_build
+ICON_SIZES=	14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512
 
 PLIST_FILES=	bin/qtox \
-		share/applications/qTox.desktop
+		share/applications/qTox.desktop \
+		share/icons/hicolor/scalable/apps/qtox.svgz
+.for SZ in ${ICON_SIZES}
+PLIST_FILES+=	share/icons/hicolor/${SZ}/apps/qtox.png
+.endfor
 
 pre-everything::
 	@${ECHO_MSG}
@@ -52,4 +57,12 @@ pre-configure:
 	@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
 		${WRKSRC}/qTox.desktop
 
+post-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	@${GZIP_CMD} ${GZIP} < ${WRKSRC}/img/icons/qtox.svg > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz
+.for SZ in ${ICON_SIZES}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps
+	@${CP} ${WRKSRC}/img/icons/qtox-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png
+.endfor
+
 .include <bsd.port.mk>

Modified: head/net-im/qTox/distinfo
==============================================================================
--- head/net-im/qTox/distinfo	Mon Dec 14 21:12:24 2015	(r403739)
+++ head/net-im/qTox/distinfo	Mon Dec 14 21:40:45 2015	(r403740)
@@ -1,2 +1,2 @@
-SHA256 (tux3-qTox-0.151116-db52ef6_GH0.tar.gz) = 3920a71131666bef8044c7428e56e75ac9136b22b9e7d51d2c506da24e34ff91
-SIZE (tux3-qTox-0.151116-db52ef6_GH0.tar.gz) = 4627473
+SHA256 (tux3-qTox-v1.2.1_GH0.tar.gz) = 039800a2fbd4a5f1fb02e6caaf9b264bae9d19c8411a834b8fcd760df5d0ca00
+SIZE (tux3-qTox-v1.2.1_GH0.tar.gz) = 4639415



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