Date: Friday, April 21, 2017 @ 10:02:22 Author: farseerfc Revision: 224085
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: qtox/repos/community-staging-i686/ qtox/repos/community-staging-i686/PKGBUILD (from rev 224084, qtox/trunk/PKGBUILD) qtox/repos/community-staging-x86_64/ qtox/repos/community-staging-x86_64/PKGBUILD (from rev 224084, qtox/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) Copied: qtox/repos/community-staging-i686/PKGBUILD (from rev 224084, qtox/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-04-21 10:02:22 UTC (rev 224085) @@ -0,0 +1,60 @@ +# Maintainer: Jiachen Yang <farsee...@gmail.com> +# AUR Maintainer: Vlad M. <v...@archlinux.net> +# Contributor: Håvard Pettersson <m...@haavard.me> +# Contributor: Kevin MacMartin <prurigro at gmail dot com> + +pkgname=qtox +_pkgname=qTox +pkgver=1.9.0 +pkgrel=1 +_gitver='7e0bcf089f519b82b6ebd88eb819b9174e5dd8dd' +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' + 'openal' + 'gtk2' + 'ffmpeg' + 'qrencode' + 'qt5-svg' + 'sqlcipher' + 'toxcore') +makedepends=('qt5-tools' 'git' 'mesa-libgl' '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" + "$_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.asc" + ) +sha512sums=('94e1c9cffc9570c09202004910e567f83657bd023da4c117fa26702746eadcb3a9168f2b74fc0840eb9dbf6b25554df54d364fbb80468d1555335a0d92ddd950') + +# GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md +validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # sudden6 <sudd...@gmx.at> + 'BA7883E22F9D35945BA3376053137C3033F09008' # Zetok Zalbavar <ze...@openmailbox.org> + '1157616BBD860C539926F8139591A163FF9BE04C' # - antis81 + '31039166FA902CA50D05D6085AF9F2E29107C727' # - Diadlo + 'C7A2552D0B250F983827742C133203A3AC399151' # - initramfs + '2880C860D95C909D3DA45C687E086DD661263264' # - tux3 + ) +# prepare() { +# ## apply PR https://github.com/qTox/qTox/issues/4053 +# #patch -p1 <pr4053.patch +# } + +build() { + cd "$srcdir/$_pkgname-$pkgver" + mkdir -p build + cd build + ##qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO GIT_VERSION=$_gitver GIT_DESCRIBE=v$pkgver .. + cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ + -DGIT_VERSION=$_gitver \ + -DGIT_DESCRIBE=v$pkgver + make +} + +package() { + cd "$_pkgname-$pkgver" + cd build + make DESTDIR="$pkgdir" install +} Copied: qtox/repos/community-staging-x86_64/PKGBUILD (from rev 224084, qtox/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-04-21 10:02:22 UTC (rev 224085) @@ -0,0 +1,60 @@ +# Maintainer: Jiachen Yang <farsee...@gmail.com> +# AUR Maintainer: Vlad M. <v...@archlinux.net> +# Contributor: Håvard Pettersson <m...@haavard.me> +# Contributor: Kevin MacMartin <prurigro at gmail dot com> + +pkgname=qtox +_pkgname=qTox +pkgver=1.9.0 +pkgrel=1 +_gitver='7e0bcf089f519b82b6ebd88eb819b9174e5dd8dd' +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' + 'openal' + 'gtk2' + 'ffmpeg' + 'qrencode' + 'qt5-svg' + 'sqlcipher' + 'toxcore') +makedepends=('qt5-tools' 'git' 'mesa-libgl' '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" + "$_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.asc" + ) +sha512sums=('94e1c9cffc9570c09202004910e567f83657bd023da4c117fa26702746eadcb3a9168f2b74fc0840eb9dbf6b25554df54d364fbb80468d1555335a0d92ddd950') + +# GPG key fingerprints taken from https://github.com/qTox/qTox/blob/$_gitver/README.md +validpgpkeys=('DA262CC93C0E1E525AD21C8596775D454B8EBF44' # sudden6 <sudd...@gmx.at> + 'BA7883E22F9D35945BA3376053137C3033F09008' # Zetok Zalbavar <ze...@openmailbox.org> + '1157616BBD860C539926F8139591A163FF9BE04C' # - antis81 + '31039166FA902CA50D05D6085AF9F2E29107C727' # - Diadlo + 'C7A2552D0B250F983827742C133203A3AC399151' # - initramfs + '2880C860D95C909D3DA45C687E086DD661263264' # - tux3 + ) +# prepare() { +# ## apply PR https://github.com/qTox/qTox/issues/4053 +# #patch -p1 <pr4053.patch +# } + +build() { + cd "$srcdir/$_pkgname-$pkgver" + mkdir -p build + cd build + ##qmake-qt5 ENABLE_SYSTRAY_UNITY_BACKEND=NO GIT_VERSION=$_gitver GIT_DESCRIBE=v$pkgver .. + cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ + -DGIT_VERSION=$_gitver \ + -DGIT_DESCRIBE=v$pkgver + make +} + +package() { + cd "$_pkgname-$pkgver" + cd build + make DESTDIR="$pkgdir" install +}