summaryrefslogtreecommitdiff
path: root/hacks/build-all-ffmpeg
blob: a3d197c28a0e85c7a94ae904940ea612a310c662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

FFMPEGS=/home/carl/ffmpeg

# 0.6, 0.7, 0.8 need significant work, I think.

for v in 0.9.2 0.10.4 0.11.1; do
    PKG_CONFIG_PATH=$FFMPEGS/$v/lib/pkgconfig ./waf configure
    if [ "$?" != "0" ]; then
        echo "$v: configure FAIL"
	exit 1
    fi
    ./waf
    if [ "$?" != "0" ]; then
        echo "$v: build FAIL"
	exit 1
    fi
    echo "$v: PASS"
done