blob: 9e66d67d771114aaf14133763dda857a589f0a45 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
pkgname=('mlt-git')
_srcname='mlt'
pkgdesc='Multimedia Framework'
pkgver='r1'
pkgrel='1'
arch=('i686' 'x86_64')
url="https://github.com/mltframework/${_srcname}"
license=('GPL2')
optdepends=(
'sdl_image: for SDL plugin'
'libsamplerate: for libavresample plugin'
'sox: for SOX (Audio Swiss Army Knife) plugin'
'ffmpeg: for ffmpeg plugin'
'vid.stab: for video stabilize plugin'
'gtk2: Gtk plugin'
'qt5-svg: for Qt5 plugins'
'jack: for JACK sound output plugin'
'libexif: for auto rotate plugin'
'frei0r-plugins: for additional effects'
'movit: opengl plugin'
)
makedepends=(
'ladspa'
'frei0r-plugins'
'libdv'
'sdl_image'
'libsamplerate'
'sox'
'ffmpeg'
'vid.stab'
'qt5-svg'
'jack'
'libexif'
'python2'
'swig'
'git'
'movit'
)
provides=("${pkgname[0]%-git}")
conflicts=("${pkgname[0]%-git}")
source=("${_srcname}::git+${url}.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${_srcname}"
printf 'r%s.%s.%s\n' \
"$( git rev-list --count 'HEAD' )" \
"$( git log --max-count='1' --pretty='format:%ct' )" \
"$( git rev-parse --short 'HEAD' )"
}
build() {
cd "${srcdir}/${_srcname}"
./configure \
--prefix='/usr' \
--avformat-swscale \
--enable-gpl \
--enable-gpl3 \
--qt-libdir='/usr/lib' \
--qt-includedir='/usr/include/qt'
make
}
package() {
cd "${srcdir}/${_srcname}"
make DESTDIR="${pkgdir}" install
}
|