summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 37539201d3a7bd86967d4266db0ba7dbe072cc12 (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: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

_pkgname=blitzloop
pkgname="$_pkgname-git"
pkgver=r238.8c6a581
pkgrel=1
pkgdesc='Open source karaoke software'
arch=('x86_64' 'armv7h' 'aarch64')
url='https://github.com/marcan/blitzloop'
license=('GPL')
depends=('python-opengl' 'python-pympv' 'python-paste' 'python-numpy'
         'python-freetype-py' 'python-bottle' 'python-pillow'
         'python-configargparse' 'python-jaconv')
optdepends=('python-ffms: for blitzloop-record'
            'jack: for microphone feedback')
provides=("$_pkgname")
conflicts=("$_pkgname")
makedepends=('git' 'cython' 'jack')
source=("$_pkgname::git+https://github.com/marcan/blitzloop")
md5sums=('SKIP')

pkgver() {
  cd $_pkgname
  echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

build() {
  cd $_pkgname
  python setup.py build
}

package() {
  cd $_pkgname
  python setup.py install --root="$pkgdir/" --optimize=1
  rm "$pkgdir"/usr/lib/python3.7/site-packages/blitzloop/_audio.c
}