aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyo/APKBUILD
blob: 99a1c445a744d7a9e0138bb86c8f729f7f9da25e (plain) (blame)
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
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py3-pyo
_pkgname=pyo
pkgver=0.9.1
pkgrel=0
pkgdesc="dedicated Python module for digital signal processing"
url="http://ajaxsoundstudio.com/software/pyo/"
arch="all"
license="LGPL-3.0-or-later"
options="!check"
depends="python3 python3-tkinter"
makedepends="python3-dev portaudio-dev libsndfile-dev"
source="http://ajaxsoundstudio.com/downloads/${_pkgname}_$pkgver-src.tar.bz2
	portaudio-only.patch
	remove-O3.patch"
builddir="$srcdir/${_pkgname}_$pkgver-src"

build() {
	python3 setup.py build --minimal
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="d536eaece5ccd87b4d751819f3cb5167e3b93f98009ff4a06c09e7c62e414a019ec197dc353714661f27147c6b54aed84b9d5b0135a520896cd89fde15345ab5  pyo_0.9.1-src.tar.bz2
b3c3a659df4b9de9982898d2a6cc7462e88ee2b1c4ecac2b49a8220e42cf1c2fb583a7ca722cb2e77bed0e0b6fe3a70d88bda807ee46c9b096fe3e34514b5420  portaudio-only.patch
b19dc6bd526d96e0d76214f944cfb0788fa4386bce99f701cf2d2ef76ee08d01b2a66807f7eeb27538af171b34c3809687c440279ff09fb626c295a21f986d98  remove-O3.patch"