aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/qTox
diff options
context:
space:
mode:
authorthierry <thierry@FreeBSD.org>2015-12-15 05:40:45 +0800
committerthierry <thierry@FreeBSD.org>2015-12-15 05:40:45 +0800
commit8631448ac9b13eeb3ae18e38a76e9103d381f9d0 (patch)
tree467fa67cab805cef7ae95b9b20b8d761b7af41fb /net-im/qTox
parentf18bec54e428977296062eed21d231e6186b4356 (diff)
downloadfreebsd-ports-gnome-8631448ac9b13eeb3ae18e38a76e9103d381f9d0.tar.gz
freebsd-ports-gnome-8631448ac9b13eeb3ae18e38a76e9103d381f9d0.tar.zst
freebsd-ports-gnome-8631448ac9b13eeb3ae18e38a76e9103d381f9d0.zip
Update to 1.2.1.
PR: ports/205309 Submitted by: yuri (at) rawbw.com (maintainer)
Diffstat (limited to 'net-im/qTox')
-rw-r--r--net-im/qTox/Makefile19
-rw-r--r--net-im/qTox/distinfo4
2 files changed, 18 insertions, 5 deletions
diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile
index 8b588f630f22..a1ee8f307644 100644
--- a/net-im/qTox/Makefile
+++ b/net-im/qTox/Makefile
@@ -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}/net-im/tox \
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>
diff --git a/net-im/qTox/distinfo b/net-im/qTox/distinfo
index 871da3d0d740..2b427af2e24f 100644
--- a/net-im/qTox/distinfo
+++ b/net-im/qTox/distinfo
@@ -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