summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7d405d38e5d7c60a4dd8cb38045f3070ea13802e (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
# Maintainer: Nathaniel Chin <thegamingorangutans+aur at gmail.com>

pkgname=python-av1an
pkgver=1.12
pkgrel=2
pkgdesc='A cross-platform all-in-one tool for streamlining AV1 encoding'
arch=('any')
url='https://github.com/master-of-zen/Av1an'
license=('GPL3')
makedepends=('python-setuptools')
depends=('python>=3.6.0' 'python-numpy' 'python-scenedetect' 'opencv' 'hdf5'
         'python-tqdm' 'python-psutil' 'python-scipy' 'python-matplotlib'
         'ffmpeg' 'aom')
optdepends=('svt-av1: SVT-AV1 encoder support'
            'rav1e: rav1e encoder support'
            'libvpx: vpx encoder support'
            'vmaf: VMAF calculation support'
            'x265: x265 encoder support')
source=("av1an-${pkgver}.tar.gz"::"https://github.com/master-of-zen/Av1an/archive/${pkgver}.tar.gz")
sha256sums=('0d6ee58775d48aaf26c5131b1c03d4b8107523c6a551859fc6ed487ef859f8f5')


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