summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a58a11de3a079fd59906490b02805c3ead4bf42 (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
# Maintainer: Carlo Capocasa <carlo@capocasa.net>
# Maintainer: Peter Sutton <peter@foxdogstudios.com>
# Contributor: amiguet <contact at matthieuamiguet dot ch>
# Based on python2-pyo by amiguet

pkgname=python-pyo
pkgver=1.0.5
pkgrel=3
pkgdesc='Python DSP module'
arch=('x86_64')
url="http://ajaxsoundstudio.com/software/pyo/"
license=('GPL')
depends=('python' 'portmidi' 'portaudio' 'liblo' 'libsndfile')
makedepends=('git' 'python-setuptools')
optdepends=('wxpython: wxWidgets GUI')
provides=("pyo=$pkgver" "python-pyo=$pkgver")
conflicts=('pyo')
source=("https://codeload.github.com/belangeo/pyo/tar.gz/$pkgver"
        'gcc-14.patch')
sha512sums=('4e48c255d87d61017b4f74ffa8e80af26964fc2948b0376ed638a773c5cc36e12e2553ff2e7762e2c8585a12882f63433e879a29700b89f5dd451fdbb9c2f5be'
            'fe9222a604ccf43f04a21f6c6a3ac55f70fcf13e6001700ddb72efcc0a87c859a105a7d9fc1205c9339792e70d03e510b2812f599681af444c20a2278c5cd48f')

prepare() {
  cd "$srcdir"/pyo-"$pkgver"
  git --git-dir=.git apply "$srcdir"/gcc-14.patch
}

build() {
  cd "$srcdir"/pyo-"$pkgver"
  python setup.py build --use-double --use-jack
}

package() {
  cd "$srcdir"/pyo-"$pkgver"
  python setup.py install --use-double --use-jack --root="$pkgdir"/
}