use one version of ffmpeg for all tasks, remove avconv dependency, fixes #2606

This commit is contained in:
j 2015-01-05 16:07:55 +00:00
commit e1bc418e0c
6 changed files with 61 additions and 161 deletions

View file

@ -6,6 +6,11 @@ else
ID=unknown
fi
UBUNTU_VERSION="$VERSION_ID"
if [ "$ID" == "debian" ]; then
SYSTEMD="yes"
else
SYSTEMD="no"
fi
export DEBIAN_FRONTEND=noninteractive
echo "deb http://ppa.launchpad.net/j/pandora/ubuntu trusty main" > /etc/apt/sources.list.d/j-pandora.list
apt-key add - << EOF
@ -24,20 +29,6 @@ pAAGSEQ4uz6bYSeM4Q==
-----END PGP PUBLIC KEY BLOCK-----
EOF
if [ "$ID" == "debian" ]; then
SYSTEMD="yes"
else
SYSTEMD="no"
if [ "$UBUNTU_VERSION" == "12.04" ]; then
EXTRA=python-software-properties
else
EXTRA=""
fi
apt-get install -y \
update-manager-core \
software-properties-common \
$EXTRA
fi
apt-get update
if [ "$LXC" == "no" ]; then
@ -46,12 +37,6 @@ apt-get install -y \
ntp
fi
if [ "$UBUNTU_VERSION" == "12.04" ]; then
LIBAVCODEC_EXTRA=libavcodec-extra-53
else
LIBAVCODEC_EXTRA=libavcodec-extra
fi
apt-get install -y \
openssh-server \
vim \
@ -77,8 +62,7 @@ apt-get install -y \
python-html5lib \
python-ox \
oxframe \
$LIBAVCODEC_EXTRA \
libav-tools \
ffmpeg \
ffmpeg2theora \
mkvtoolnix \
gpac \