blob: a490cfd916d597df1be31751f069e4d9a095bbb0 (
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
33
34
35
36
37
38
39
40
|
# Maintainer: robertfoster
# Contributor: Fabio Rämi <fabio[at]dynamix-tontechnik[dot]ch>
# Contributor: speps <speps at aur dot archlinux dot org>
pkgname=friture
pkgver=0.51
pkgrel=1
pkgdesc="An application to visualize and analyze live audio data in real-time."
arch=(i686 x86_64)
url="https://friture.org/"
license=('GPL3')
depends=('python-appdirs' 'python-docutils' 'python-multipledispatch' 'python-numpy'
'python-pa-ringbuffer' 'python-pyqt5' 'python-pyrr' 'python-rtmixer'
'python-sounddevice')
optdepends=('jack: for JACK I/O support')
makedepends=('cython' 'git' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel')
source=(
"https://github.com/tlecomte/friture/archive/refs/tags/v${pkgver}.tar.gz"
)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m build --wheel --no-isolation -x
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 resources/images/friture.iconset/icon_512x512.png \
"${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "appimage/${pkgname}.desktop" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
sed -i "s|usr|/usr|g" \
"${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
sha256sums=('1e88cbee028019f0c889d55baae4305a4b64093fa0b4901617827742762175dc')
|