1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

net-im/qTox: Update 1.15.0 -> 1.16.0

Port changes:
* .desktop file got renamed
* Intermediate revision (when present) is based on DISTVERSIONSUFFIX

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2018-07-04 19:28:44 +00:00
parent 1a56fc52c7
commit fa236657f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473916
2 changed files with 9 additions and 15 deletions

View File

@ -3,13 +3,9 @@
PORTNAME= qTox
DISTVERSIONPREFIX= v
DISTVERSION= 1.15.0
PORTREVISION= 1
DISTVERSION= 1.16.0
CATEGORIES= net-im net-p2p
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 441931765ffe.patch:-p1
MAINTAINER= yuri@FreeBSD.org
COMMENT= Qt 5 based Tox client
@ -47,9 +43,9 @@ PLATFORM_EXTENSIONS_CMAKE_BOOL= PLATFORM_EXTENSIONS
PLATFORM_EXTENSIONS_USE= XORG=x11,xscrnsaver
PLIST_FILES= bin/qtox \
share/applications/qtox.desktop \
share/applications/io.github.qtox.qTox.desktop \
share/icons/hicolor/scalable/apps/qtox.svgz \
share/metainfo/qTox.appdata.xml
share/metainfo/io.github.qtox.qTox.appdata.xml
.for SZ in 14 16 22 24 32 36 48 64 72 96 128 192 256 512
PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/qtox.png
.endfor
@ -61,10 +57,10 @@ PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/qtox.png
CFLAGS+= -march=i586
.endif
.if !defined(GH_TAGNAME)
.if !defined(DISTVERSIONSUFFIX)
FULLVERSION= ${PKGVERSION}
.else
FULLVERSION= "${PKGVERSION} (rev.${GH_TAGNAME})"
FULLVERSION= "${PKGVERSION} (rev.${DISTVERSIONSUFFIX:S/-g//})"
.endif
pre-everything::
@ -74,6 +70,6 @@ pre-everything::
pre-configure:
@${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \
${WRKSRC}/qtox.desktop
${WRKSRC}/io.github.qtox.qTox.desktop
.include <bsd.port.post.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1525588746
SHA256 (qTox-qTox-v1.15.0_GH0.tar.gz) = 0395370fbc2a6ab868fe3090bad7f1626fcb494746780f48b7c9e231aae9b62e
SIZE (qTox-qTox-v1.15.0_GH0.tar.gz) = 4145106
SHA256 (441931765ffe.patch) = 576690867f6fcbe0e20a299c51e1e9ec9673ef7d576b13d8e08fb103673a6bb7
SIZE (441931765ffe.patch) = 760
TIMESTAMP = 1530727535
SHA256 (qTox-qTox-v1.16.0_GH0.tar.gz) = 4673f1e99a34d684012c9cde975f808bfb4b699eb391c79271d60c04012b84e8
SIZE (qTox-qTox-v1.16.0_GH0.tar.gz) = 4258337