From 6c81eb9a2c43bd69950b176b1a8c924917f2f8f7 Mon Sep 17 00:00:00 2001 From: "Tobias C. Berner" Date: Sat, 21 Oct 2017 09:39:18 +0000 Subject: Update net-im/qTox to 1.12.1 * the port option PLATFORM_EXTENSIONS to reflect the option in CMakeLists.txt for Xorg and screensaver integration. It should be normally "on". * pkg-message is moved into the main folder * added LICENSE_FILE * cmake now installs and compresses icon files * while here, switch it to DISTVERSION. PR: 222949 Submitted by: Yuri Victorovich (maintainer) --- net-im/qTox/Makefile | 41 ++++++++++++++++------------------------ net-im/qTox/distinfo | 6 +++--- net-im/qTox/files/pkg-message.in | 10 ---------- net-im/qTox/pkg-message | 10 ++++++++++ 4 files changed, 29 insertions(+), 38 deletions(-) delete mode 100644 net-im/qTox/files/pkg-message.in create mode 100644 net-im/qTox/pkg-message (limited to 'net-im/qTox') diff --git a/net-im/qTox/Makefile b/net-im/qTox/Makefile index 8acdfd5db427..9eca24e6db9c 100644 --- a/net-im/qTox/Makefile +++ b/net-im/qTox/Makefile @@ -2,15 +2,15 @@ # $FreeBSD$ PORTNAME= qTox -PORTVERSION= 1.11.0 DISTVERSIONPREFIX= v -PORTREVISION= 3 +DISTVERSION= 1.12.1 CATEGORIES= net-im net-p2p MAINTAINER= yuri@rawbw.com COMMENT= Qt 5 based Tox client LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat LIB_DEPENDS= libtoxcore.so:net-im/tox \ @@ -26,29 +26,32 @@ LIB_DEPENDS= libtoxcore.so:net-im/tox \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig +OPTIONS_DEFINE= PLATFORM_EXTENSIONS +OPTIONS_DEFAULT=PLATFORM_EXTENSIONS +PLATFORM_EXTENSIONS_DESC= Enable platform specific extensions + USE_GITHUB= yes GH_ACCOUNT= qTox - -SUB_FILES= pkg-message +GH_TAGNAME= cd8a7ad USES= compiler:c++11-lib desktop-file-utils gettext openal:soft pkgconfig cmake -USE_GNOME= glib20 gtk20 cairo gdkpixbuf2 -USE_XORG= x11 xscrnsaver -USE_GL= gl -USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg testlib \ - concurrent buildtools_build linguisttools_build -# bug#220813: qmake isn't needed, but the build fails without qmake_build +USE_GNOME= gtk20 cairo +USE_QT5= core gui network xml opengl sql sql-sqlite3_run widgets svg \ + concurrent_build buildtools_build linguisttools_build testlib_build +# bug#220813: qmake isn't needed, but build fails without qmake_build USE_QT5+= qmake_build CMAKE_ARGS= -DGIT_DESCRIBE:STRING=${FULLVERSION} INSTALLS_ICONS= yes -ICON_SIZES= 14x14 16x16 22x22 24x24 32x32 36x36 48x48 64x64 72x72 96x96 128x128 192x192 256x256 512x512 + +PLATFORM_EXTENSIONS_CMAKE_OFF= -DPLATFORM_EXTENSIONS:BOOL=OFF +PLATFORM_EXTENSIONS_USE= XORG=x11,xscrnsaver PLIST_FILES= bin/qtox \ share/applications/qtox.desktop \ share/icons/hicolor/scalable/apps/qtox.svgz \ share/appdata/qTox.appdata.xml -.for SZ in ${ICON_SIZES} -PLIST_FILES+= share/icons/hicolor/${SZ}/apps/qtox.png +.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 .include @@ -73,16 +76,4 @@ pre-configure: @${REINPLACE_CMD} '/Comment/s,=.*,=${COMMENT},' \ ${WRKSRC}/qtox.desktop -post-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps - @${GZIP_CMD} \ - < ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svg \ - > ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svgz - @${RM} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/qtox.svg -.for SZ in ${ICON_SIZES} - @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps - ${INSTALL_DATA} ${WRKSRC}/img/icons/${SZ}/qtox.png \ - ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}/apps/qtox.png -.endfor - .include diff --git a/net-im/qTox/distinfo b/net-im/qTox/distinfo index 30d95b4444e2..4d7cb02a80d6 100644 --- a/net-im/qTox/distinfo +++ b/net-im/qTox/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1500321399 -SHA256 (qTox-qTox-v1.11.0_GH0.tar.gz) = be38517cd915727dbd9b3cd2a51bbaf1cae28290de07a34c759ec8b77c502cd4 -SIZE (qTox-qTox-v1.11.0_GH0.tar.gz) = 3946782 +TIMESTAMP = 1507800999 +SHA256 (qTox-qTox-v1.12.1-cd8a7ad_GH0.tar.gz) = 90709402c93f6529d88c05ff106072e3e4e42ac06917d7b955f3ae39813c13dd +SIZE (qTox-qTox-v1.12.1-cd8a7ad_GH0.tar.gz) = 3957662 diff --git a/net-im/qTox/files/pkg-message.in b/net-im/qTox/files/pkg-message.in deleted file mode 100644 index 2eb416388d72..000000000000 --- a/net-im/qTox/files/pkg-message.in +++ /dev/null @@ -1,10 +0,0 @@ -====================================================================== -You installed qTox: Qt 5 based Tox client. - -To have video working, you need: -1. Have multimedia/webcamd installed and running. The usual way to - start webcamd is to have these two lines in /etc/rc.conf: - webcamd_enable="YES" - webcamd_flags="-H" -2. Make sure V4L option is "on" in multimedia/ffmpeg. -====================================================================== diff --git a/net-im/qTox/pkg-message b/net-im/qTox/pkg-message new file mode 100644 index 000000000000..2eb416388d72 --- /dev/null +++ b/net-im/qTox/pkg-message @@ -0,0 +1,10 @@ +====================================================================== +You installed qTox: Qt 5 based Tox client. + +To have video working, you need: +1. Have multimedia/webcamd installed and running. The usual way to + start webcamd is to have these two lines in /etc/rc.conf: + webcamd_enable="YES" + webcamd_flags="-H" +2. Make sure V4L option is "on" in multimedia/ffmpeg. +====================================================================== -- cgit v1.2.3