summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 215911acf2a32f24e152c05bc3a3f1a720341c9f (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
37
# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>

_pkgname=blitzloop
pkgname="$_pkgname-git"
pkgver=r157.3423912
pkgrel=1
pkgdesc='Open source karaoke software'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url='https://github.com/marcan/blitzloop'
license=('GPL')
depends=('python' 'glfw' 'python-opengl' 'python-pympv' 'python-paste'
         'python-numpy' 'python-freetype-py' 'python-bottle' 'python-pillow'
         'python-configargparse')
optdepends=('python-ffms: for blitzloop-record')
provides=("$_pkgname")
conflicts=("$_pkgname")
makedepends=('git' 'cython')
# TODO: switch to the official repository once the fixes are in.
#source=("$_pkgname::git+https://github.com/marcan/blitzloop")
source=("$_pkgname::git+https://git.linkmauve.fr/blitzloop.git#branch=no-jack")
md5sums=('SKIP')
options=('!optipng')

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

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

package() {
  cd "$srcdir/$_pkgname"
  python setup.py install --root="$pkgdir/" --optimize=1
}