blob: f3f6f04554017fdf9e54aa484ab86350f8fb2fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Maintainer: Davide Gerhard <rainbow@irh.it>
pkgname=freedv-gui
pkgver=1.9.9.2
pkgrel=3
pkgdesc="Digital Voice for Radio Amateurs"
arch=('x86_64' 'aarch64')
license=('LGPL2.1')
url="https://freedv.org/"
# leave sioclient as an internal build
depends=('libpulse' 'hamlib' 'sox' 'wxwidgets-gtk3' 'codec2-lpcnet' 'speex' 'libao' 'libsamplerate' 'gsm' 'libsndfile' 'lpcnetfreedv' 'portaudio')
makedepends=('cmake')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/drowe67/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha512sums=('fe7f6b69d8af000fca1ca0025b36165659a0a0bfc6105a1d9ccf8785ba268b06796bddab1fe9bb49f4a79da1a587e111fa8004250532dee5fabeb99ab853750c')
build() {
cmake -B build -S "$pkgname-$pkgver" \
-Wno-dev \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_INTERNAL_CODEC2=FALSE \
-DUSE_STATIC_SPEEXDSP=FALSE \
-DUSE_STATIC_PORTAUDIO=FALSE \
-DBOOTSTRAP_WXWIDGETS=FALSE \
-DUSE_PULSEAUDIO=TRUE
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
install -m644 -D "$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
}
|