docs: Add nasm to latest Debian dependencies.

#44.
This commit is contained in:
Bradley Sepos 2018-05-30 11:41:20 -04:00
parent cfff2c3d40
commit 9f54c3db75
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7

View File

@ -16,7 +16,7 @@ License_URL: https://handbrake.fr/docs/license.html
Installing dependencies on Debian Installing dependencies on Debian
================================= =================================
The following instructions are for [Debian](https://www.debian.org) 9.4 (Stretch). The following instructions are for [Debian](https://www.debian.org) 9.4 (Stretch) x86_64.
Dependencies: Dependencies:
@ -53,6 +53,10 @@ Dependencies:
- yasm - yasm
- zlib1g-dev - zlib1g-dev
Additional dependencies not available in the base repository:
- nasm [Debian sid]
Graphical interface dependencies: Graphical interface dependencies:
- intltool - intltool
@ -71,8 +75,15 @@ Install dependencies.
sudo apt-get update sudo apt-get update
sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev m4 make patch pkg-config python tar yasm zlib1g-dev sudo apt-get install autoconf automake build-essential cmake git libass-dev libbz2-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libharfbuzz-dev libjansson-dev liblzma-dev libmp3lame-dev libogg-dev libopus-dev libsamplerate-dev libspeex-dev libtheora-dev libtool libtool-bin libvorbis-dev libx264-dev libxml2-dev m4 make patch pkg-config python tar yasm zlib1g-dev
The `nasm` package provided by Debian 9 is too old. Install a newer version provided by Debian sid (unstable/development distribution)[^nasm-sid].
sudo curl -L 'http://ftp.debian.org/debian/pool/main/n/nasm/nasm_2.13.03-1_amd64.deb' -o /var/cache/apt/archives/nasm_2.13.03-1_amd64.deb
sudo dpkg -i /var/cache/apt/archives/nasm_2.13.03-1_amd64.deb
To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies. To build the GTK [GUI](abbr:Graphical User Interface), install the graphical interface dependencies.
sudo apt-get install intltool libappindicator-dev libdbus-glib-1-dev libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libgudev-1.0-dev libnotify-dev libwebkitgtk-3.0-dev sudo apt-get install intltool libappindicator-dev libdbus-glib-1-dev libglib2.0-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev libgudev-1.0-dev libnotify-dev libwebkitgtk-3.0-dev
Debian is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions. Debian is now prepared to build HandBrake. See [Building HandBrake for Linux](build-linux.html) for further instructions.
[^nasm-sid]: Installing newer packages than those available in the base repository may lead to incompatibility with other software expecting specific package versions.