[arch-commits] Commit in qtox/repos (2 files)

Maxime Gauduin alucryd at gemini.archlinux.org
Sun Jan 30 20:22:58 UTC 2022


    Date: Sunday, January 30, 2022 @ 20:22:58
  Author: alucryd
Revision: 1120865

archrelease: copy trunk to community-staging-x86_64

Added:
  qtox/repos/community-staging-x86_64/
  qtox/repos/community-staging-x86_64/PKGBUILD
    (from rev 1120864, qtox/trunk/PKGBUILD)

----------+
 PKGBUILD |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 77 insertions(+)

Copied: qtox/repos/community-staging-x86_64/PKGBUILD (from rev 1120864, qtox/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-01-30 20:22:58 UTC (rev 1120865)
@@ -0,0 +1,77 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Vlad M. <vlad at archlinux.net>
+# Contributor: Håvard Pettersson <mail at haavard.me>
+# Contributor: Kevin MacMartin <prurigro at gmail dot com>
+
+pkgname=qtox
+_pkgname=qTox
+pkgver=1.17.4
+pkgrel=2
+_gitver='c0e9a3b79609681e5b9f6bbf8f9a36cb1993dc5f'
+pkgdesc='a chat, voice, video, and file transfer IM client using the encrypted peer-to-peer Tox protocol'
+arch=('x86_64')
+url='https://github.com/qTox/qTox'
+license=('GPL3')
+depends=('desktop-file-utils'
+         'libxss'
+         'openal'
+         'ffmpeg'
+         'qrencode'
+         'qt5-svg'
+         'sqlcipher'
+         'libexif'
+         'toxcore'
+         'sonnet'
+         'snorenotify'
+         'libgl')
+makedepends=('qt5-tools' 'git' 'check' 'cmake' 'mesa' 'libglvnd')
+
+source=( 
+        "$pkgname-$pkgver.tar.lz::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz"
+        "$pkgname-$pkgver.tar.lz.asc::https://github.com/$_pkgname/$_pkgname/releases/download/v$pkgver/v$pkgver.tar.lz.asc"
+        )
+sha512sums=('a1757a5dc98153e131c9469771d2c8b5f729ceb26314c2abae5f17b0d59c8cba36b6833ddaaaf46839ebb5e19bf088750b00121805cd6713a21cf5266a52d6ca'
+            'SKIP')
+
+## GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md
+validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44'  # sudden6 <sudden6 at gmx.at>
+              'BA7883E22F9D35945BA3376053137C3033F09008'  # Zetok Zalbavar <zetok at openmailbox.org>
+	      '1157616BBD860C539926F8139591A163FF9BE04C'  # - antis81
+	      '31039166FA902CA50D05D6085AF9F2E29107C727'  # - Diadlo
+	      'C7A2552D0B250F983827742C133203A3AC399151'  # - initramfs
+	      '2880C860D95C909D3DA45C687E086DD661263264'  # - tux3
+          '74ADB7A7F8ECC1009916C4E42AA8E0DA1B31FB3C'  # - AnthonyBilinski subkey
+          '7EB339FE881747E701B7D472EBE36E66A8429B99'  # - AnthonyBilinski
+          'CA9221C5389B7C50AA5F779352A50775BE13DF17'  # - noavarice
+          '141C880E8BA25B198D0F850F7C132143C1A3A7D4'  # – tox-user
+             )
+
+prepare() {
+  cd $_pkgname
+  # disable -Werror for release packaging
+  sed -e 's|-Werror||' -i CMakeLists.txt
+}
+
+build() {
+  cd $_pkgname
+  mkdir -p build
+  cd build
+  export CXXFLAGS+=' -fpermissive'
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+          -DDESKTOP_NOTIFICATIONS=ON \
+	  -DGIT_VERSION=$_gitver \
+	  -DGIT_DESCRIBE=v$pkgver
+  make
+}
+
+check() {
+  cd $_pkgname
+  cd build
+  make test
+}
+
+package() {
+  cd $_pkgname
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list