[arch-commits] Commit in qtox/trunk (PKGBUILD)

Jiachen Yang farseerfc at archlinux.org
Tue Jun 6 08:08:23 UTC 2017


    Date: Tuesday, June 6, 2017 @ 08:08:22
  Author: farseerfc
Revision: 234491

upgpkg: qtox 1.10.2-1

qtox 1.10.2

Modified:
  qtox/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++----------
 1 file changed, 17 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-06 06:36:45 UTC (rev 234490)
+++ PKGBUILD	2017-06-06 08:08:22 UTC (rev 234491)
@@ -5,14 +5,15 @@
 
 pkgname=qtox
 _pkgname=qTox
-pkgver=1.10.1
+pkgver=1.10.2
 pkgrel=1
-_gitver='981953ef140e6c11a83078ac80647f912de1e07d'
+_gitver='b73603b45a32e63a649294537a62a9f11176c73d'
 pkgdesc='Powerful Tox client written in C++/Qt that follows the Tox design guidelines'
 arch=('i686' 'x86_64')
 url='https://github.com/tux3/qTox'
 license=('GPL3')
-depends=('libxss'
+depends=('desktop-file-utils'
+         'libxss'
          'openal'
          'gtk2'
          'ffmpeg'
@@ -20,7 +21,7 @@
          'qt5-svg'
          'sqlcipher'
          'toxcore')
-makedepends=('qt5-tools' 'git' 'mesa-libgl' 'cmake')
+makedepends=('qt5-tools' 'git' 'check' 'cmake')
 
 #source=("git+https://github.com/qTox/qTox.git#commit=$_gitver")
 source=( #"https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.gz"
@@ -27,9 +28,11 @@
         #"$_pkgname-v$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/v$pkgver/v$pkgver.tar.gz"
         "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz"
         "https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
+	"gcc7fix.patch::https://github.com/qTox/qTox/commit/246e23abf3aa64c494c6abf42c83944eb78f1b16.patch"
         )
-sha512sums=('79a9b04132a59f8c4dce6ded82daf3a2258ae5c261ffe1edfe9d434e3fdd024ca595e054a586d556fafe9ab9abc80b9ab28570afdf1ad15a300e96578c099cc6'
-            'SKIP')
+sha512sums=('d0684c35d3aa06d129e3611d0a48c765ffb742cb22053dbc1572ee00bb1c1c1a933f463ad9c7e121b379ef2d63a8e8c3d040424f812733d40ff122864e9fbd84'
+            'SKIP'
+            '61d267b721e133573a6fa54d3119c4a9a5f49c0d11db11415dc2b5877ddc841796e6ca23490ebdab0b324fb09a0b69db1aa59997b79b4db0354fc76395db3b36')
 
 # GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
 validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44'  # sudden6 <sudden6 at gmx.at>
@@ -39,11 +42,15 @@
 	      'C7A2552D0B250F983827742C133203A3AC399151'  # - initramfs
 	      '2880C860D95C909D3DA45C687E086DD661263264'  # - tux3
              )
-# prepare() {
-# 	## apply PR https://github.com/qTox/qTox/issues/4053
-# 	#patch -p1 <pr4053.patch
-# }
+prepare() {
+	patch -p1 <gcc7fix.patch
+}
 
+check() {
+  cd build
+  make test
+}
+
 build() {
   #cd "$srcdir/$_pkgname-$pkgver"
   mkdir -p build



More information about the arch-commits mailing list