blob: 622931b2b0dedb12c7255ba8ea8ecaa58d51e2fd (
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
|
# Maintainer: Nathaniel Chin <thegamingorangutans+aur at gmail.com>
# Original: bitwave > https://aur.archlinux.org/packages/python-scenedetect/
pkgname=('python-scenedetect-git')
pkgver=v0.6.release.r45.gb54aff9
pkgrel=1
pkgdesc="A cross-platform, OpenCV-based video scene detection program and Python library."
url="https://github.com/Breakthrough/PySceneDetect"
depends=('python' 'python-click' 'python-opencv' 'python-numpy' 'python-tqdm')
makedepends=('python-setuptools' 'git')
checkdepends=("python-pytest")
optdepends=('mkvtoolnix-cli: Splitting in copy mode.'
'ffmpeg: Splitting in precise mode.'
'python-av')
license=('BSD')
arch=('any')
provides=('python-scenedetect')
conflicts=('python-scenedetect')
source=("git+https://github.com/Breakthrough/PySceneDetect.git"
'LICENSE')
sha256sums=('SKIP'
'c6c20f040d5c41680f2584dc01c723494f08234259852c279e3e9018fac8dc71')
pkgver() {
cd "PySceneDetect"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$srcdir/PySceneDetect"
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
python setup.py install --root="${pkgdir}/" --optimize=1
}
|