diff options
author | Thomas Lange | 2023-02-27 02:48:52 +0100 |
---|---|---|
committer | Thomas Lange | 2023-02-27 02:48:52 +0100 |
commit | c87cef24060f2898f5d0a3b2d22d2bff16d2e7ed (patch) | |
tree | 64e2e6ab839c16dae1a14085fe511c7fecfdfb1c | |
parent | 86c522a7b311b2ab32c04e3812b935e741e6ca90 (diff) | |
download | aur-c87cef24060f2898f5d0a3b2d22d2bff16d2e7ed.tar.gz |
Align PKGBUILD more to the official one for [community]
-rw-r--r-- | .SRCINFO | 59 | ||||
-rw-r--r-- | PKGBUILD | 65 |
2 files changed, 75 insertions, 49 deletions
@@ -1,10 +1,9 @@ pkgbase = mumble-git pkgdesc = An Open Source, low-latency, high quality voice chat software (git version) - pkgver = 1.4.0.development.snapshot.006.r605.g74faaba32 + pkgver = 1.4.0.development.snapshot.006.r1070.gc08801808 pkgrel = 1 epoch = 1 url = https://www.mumble.info - arch = i686 arch = x86_64 license = BSD makedepends = alsa-lib @@ -12,35 +11,31 @@ pkgbase = mumble-git makedepends = boost makedepends = cmake makedepends = git + makedepends = hicolor-icon-theme makedepends = jack makedepends = lib32-gcc-libs makedepends = libpulse makedepends = libsndfile + makedepends = libspeechd + makedepends = libx11 + makedepends = libxi makedepends = mesa makedepends = microsoft-gsl makedepends = nlohmann-json - makedepends = pipewire + makedepends = openssl + makedepends = opus + makedepends = poco makedepends = protobuf makedepends = python + makedepends = qt5-svg makedepends = qt5-tools + makedepends = rnnoise makedepends = speech-dispatcher + makedepends = speexdsp + makedepends = xdg-utils depends = gcc-libs depends = glibc - depends = hicolor-icon-theme - depends = libspeechd - depends = libx11 - depends = libxi - depends = openssl - depends = opus - depends = poco - depends = rnnoise depends = qt5-base - depends = qt5-svg - depends = speex - depends = xdg-utils - optdepends = speech-dispatcher: Text-to-Speech support - optdepends = espeak-ng: Text-to-Speech support - optdepends = pipewire: PipeWire audio support provides = mumble conflicts = mumble source = git+https://github.com/mumble-voip/mumble.git @@ -67,21 +62,33 @@ pkgbase = mumble-git pkgname = mumble-git depends = gcc-libs depends = glibc + depends = qt5-base + depends = alsa-lib + depends = libasound.so + depends = avahi + depends = libdns_sd.so depends = hicolor-icon-theme + depends = jack + depends = protobuf + depends = libprotobuf.so + depends = libpulse + depends = libsndfile + depends = libsndfile.so depends = libspeechd depends = libx11 depends = libxi depends = openssl + depends = libcrypto.so + depends = libssl.so depends = opus + depends = libopus.so depends = poco - depends = rnnoise - depends = qt5-base depends = qt5-svg - depends = speex + depends = rnnoise + depends = speexdsp + depends = libspeexdsp.so depends = xdg-utils - depends = libasound.so - depends = libdns_sd.so - depends = libjack.so - depends = libprotobuf.so - depends = libpulse.so - depends = libsndfile.so + optdepends = lib32-glibc: For mumble-overlay + optdepends = espeak-ng: Text-to-speech support + optdepends = speech-dispatcher: Text-to-speech support + optdepends = pipewire: PipeWire audio support @@ -1,28 +1,25 @@ # Maintainer: Radioactiveman <thomas-lange2@gmx.de> -# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com> # Contributor: David Runge <dvzrv@archlinux.org> +# Contributor: Sven-Hendrik Haase <svenstaro@archlinux.org> # Contributor: Lauri Niskanen <ape@ape3000.com> # Contributor: Sebastian.Salich@gmx.de # Contributor: Doc Angelo _pkgname=mumble pkgname="$_pkgname-git" -pkgver=1.4.0.development.snapshot.006.r605.g74faaba32 +pkgver=1.4.0.development.snapshot.006.r1070.gc08801808 pkgrel=1 epoch=1 pkgdesc='An Open Source, low-latency, high quality voice chat software (git version)' -arch=('i686' 'x86_64') +arch=('x86_64') url='https://www.mumble.info' license=('BSD') -depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'libspeechd' 'libx11' - 'libxi' 'openssl' 'opus' 'poco' 'rnnoise' 'qt5-base' 'qt5-svg' - 'speex' 'xdg-utils') -makedepends=('alsa-lib' 'avahi' 'boost' 'cmake' 'git' 'jack' 'lib32-gcc-libs' - 'libpulse' 'libsndfile' 'mesa' 'microsoft-gsl' 'nlohmann-json' - 'pipewire' 'protobuf' 'python' 'qt5-tools' 'speech-dispatcher') -optdepends=('speech-dispatcher: Text-to-Speech support' - 'espeak-ng: Text-to-Speech support' - 'pipewire: PipeWire audio support') +depends=('gcc-libs' 'glibc' 'qt5-base') +makedepends=('alsa-lib' 'avahi' 'boost' 'cmake' 'git' 'hicolor-icon-theme' + 'jack' 'lib32-gcc-libs' 'libpulse' 'libsndfile' 'libspeechd' + 'libx11' 'libxi' 'mesa' 'microsoft-gsl' 'nlohmann-json' 'openssl' + 'opus' 'poco' 'protobuf' 'python' 'qt5-svg' 'qt5-tools' 'rnnoise' + 'speech-dispatcher' 'speexdsp' 'xdg-utils') provides=("$_pkgname") conflicts=("$_pkgname") source=('git+https://github.com/mumble-voip/mumble.git' @@ -58,30 +55,52 @@ prepare() { } build() { - cd "$_pkgname" - cmake \ - -B build \ + -B build-client \ + -S "$_pkgname" \ -DCMAKE_BUILD_TYPE='None' \ -DCMAKE_INSTALL_PREFIX='/usr' \ -Dwarnings-as-errors='OFF' \ -Dclient='ON' \ -Dserver='OFF' \ - -Dbundled-celt='ON' \ -Dbundled-gsl='OFF' \ -Dbundled-json='OFF' \ - -Dbundled-opus='OFF' \ -Dbundled-rnnoise='OFF' \ -Dbundled-speex='OFF' \ -Dupdate='OFF' \ -Wno-dev - make -C build + + cmake --build build-client } package() { - depends+=('libasound.so' 'libdns_sd.so' 'libjack.so' 'libprotobuf.so' - 'libpulse.so' 'libsndfile.so') - cd "$_pkgname" - make -C build DESTDIR="$pkgdir" install - install -Dm 644 LICENSE -t "$pkgdir/usr/share/licenses/$_pkgname/" + # NOTE: jack, libpulse, and pipewire are dlopen'ed + depends+=( + 'alsa-lib' 'libasound.so' + 'avahi' 'libdns_sd.so' + 'hicolor-icon-theme' + 'jack' + 'protobuf' 'libprotobuf.so' + 'libpulse' + 'libsndfile' 'libsndfile.so' + 'libspeechd' + 'libx11' + 'libxi' + 'openssl' 'libcrypto.so' 'libssl.so' + 'opus' 'libopus.so' + 'poco' + 'qt5-svg' + 'rnnoise' + 'speexdsp' 'libspeexdsp.so' + 'xdg-utils' + ) + optdepends=( + 'lib32-glibc: For mumble-overlay' + 'espeak-ng: Text-to-speech support' + 'speech-dispatcher: Text-to-speech support' + 'pipewire: PipeWire audio support' + ) + + DESTDIR="$pkgdir" cmake --install build-client + install -Dm 644 "$_pkgname/LICENSE" -t "$pkgdir/usr/share/licenses/$_pkgname/" } |