Merge pull request #3152 from Spencer-H/qtox

qtox: update to 1.2.
This commit is contained in:
Juan RP 2015-12-14 16:48:56 +01:00
commit c46da4d273
2 changed files with 16 additions and 36 deletions

View File

@ -1,28 +0,0 @@
From 31f7ded7687c443b8e4570a9364340aace022dea Mon Sep 17 00:00:00 2001
From: tux3 <barrdetwix@gmail.com>
Date: Fri, 5 Jun 2015 03:07:42 +0200
Subject: [PATCH] Fix #1794
---
src/video/videomode.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git src/video/videomode.h src/video/videomode.h
index ec2ffb9..0cbe52f 100644
--- src/video/videomode.h
+++ src/video/videomode.h
@@ -8,12 +8,12 @@ struct VideoMode
unsigned short FPS; ///< Max frames per second supported by the device at this resolution
/// All zeros means a default/unspecified mode
- operator bool()
+ operator bool() const
{
return width || height || FPS;
}
- bool operator==(const VideoMode& other)
+ bool operator==(const VideoMode& other) const
{
return width == other.width
&& height == other.height

View File

@ -1,21 +1,29 @@
# Template file for 'qtox'
pkgname="qtox"
reverts="20150325_2"
version="1.1"
revision=6
version="1.2"
revision=1
build_style=qmake
short_desc="QT-based TOX instant messenger client"
maintainer="Stefan Mühlinghaus <jazzman@alphabreed.com>"
maintainer="Spencer Hill <spencernh77@gmail.com>"
license="GPL-3"
homepage="https://wiki.tox.im/QTox"
homepage="https://wiki.tox.chat/clients/qtox"
hostmakedepends="qt5-qmake"
makedepends="toxcore-devel-git filteraudio-devel-git ffmpeg-devel qt5-svg-devel
qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel
libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel"
makedepends="toxcore-devel-git filteraudio-devel-git ffmpeg-devel qt5-svg-devel qt5-tools-devel libopencv-devel libopenal-devel libsodium-devel libXScrnSaver-devel gdk-pixbuf-devel gtk+-devel libvpx-devel qrencode-devel"
distfiles="https://github.com/tux3/qTox/archive/v${version}.tar.gz"
checksum=0507b0708295cd5eabe750b3e9e2c92a7970c554262d7714f6cbad26b17b718a
checksum=f6d4aafa1ffa5cdadb1fbee1f5bce41cd8a638e510c42726ba665524e8320d54
wrksrc="qTox-${version}"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
configure_args+=" ENABLE_SYSTRAY_STATUSNOTIFIER_BACKEND=NO ENABLE_SYSTRAY_UNITY_BACKEND=NO ENABLE_SYSTRAY_GTK_BACKEND=NO"
;;
*)
;;
esac
}
do_install() {
vbin qtox
vinstall qTox.desktop 644 usr/share/applications