aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyo/APKBUILD
blob: 9d1c92bbf2aa4d5ae9695f7f82682e80164e5337 (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
# Contributor: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
# Maintainer: Jean-Louis Fuchs <jean-louis.fuchs@adfinis-sygroup.ch>
pkgname=py3-pyo
_pkgname=pyo
pkgver=1.0.1
pkgrel=2
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 py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/belangeo/pyo/archive/$pkgver.tar.gz
	portaudio-only.patch
	remove-O3.patch
	"
builddir="$srcdir/$_pkgname-$pkgver"

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

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

sha512sums="701e9461bebdfc6a117c65fb4198015389f7e2cfb50f3d53423add307541bd732bf80f416f2bc36f20311eebf1ea8d75e0b0784f6ff206f7b6ab70c3f6081c4a  py3-pyo-1.0.1.tar.gz
b3c3a659df4b9de9982898d2a6cc7462e88ee2b1c4ecac2b49a8220e42cf1c2fb583a7ca722cb2e77bed0e0b6fe3a70d88bda807ee46c9b096fe3e34514b5420  portaudio-only.patch
b19dc6bd526d96e0d76214f944cfb0788fa4386bce99f701cf2d2ef76ee08d01b2a66807f7eeb27538af171b34c3809687c440279ff09fb626c295a21f986d98  remove-O3.patch"