blob: 5b5cf0f5aa275f748266fb2c1dbef588a56c4b41 (
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.54 # renovate: datasource=github-tags depName=tlecomte/friture
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=('414a39c594c9428998b6de0c7e452648a2b5a4d5dc182a96b27b8be3cca2ccea')
|