aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyo/APKBUILD
blob: 13b9c6f3feb71e84607cb1281192800473698cb0 (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
30
31
# Contributor: Jean-Louis Fuchs <ganwell@fangorn.ch>
# Maintainer: Jean-Louis Fuchs <ganwell@fangorn.ch>
pkgname=py3-pyo
_pkgname=pyo
pkgver=0.8.7
pkgrel=1
pkgdesc="dedicated Python module for digital signal processing"
url="http://ajaxsoundstudio.com/software/pyo/"
arch="all"
license="GPL"
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() {
	cd "$builddir"
	python3 setup.py build --minimal
}

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

sha512sums="da4d80bf507f47680415712dc1092b3fafba53d344ad6944b362d5d44bd730a5789174a6d8d0b561e78ce6d9f0916064185102c57791ba986981d8cd388ad84d  pyo_0.8.7-src.tar.bz2
b3c3a659df4b9de9982898d2a6cc7462e88ee2b1c4ecac2b49a8220e42cf1c2fb583a7ca722cb2e77bed0e0b6fe3a70d88bda807ee46c9b096fe3e34514b5420  portaudio-only.patch
bc4d319ba491b02828b3e061daa23be1421def8331550d68be18a08831526a1a890ddf76210df38bfed104ad1c1a24ac7c45770d212e308fdadb2d657c7cd333  remove-O3.patch"