This build is for Ubuntu 14.04 only. Fedora and other distros require different and/or extra packages. This build worked for me and you mileage may vary. These instructions were compiled from here and here.
Recommended tools used to build handbrake:
- subversion - 1.6.16
- python - Python 2.7.1
- curl - curl 7.21.4 (or wget)
- m4 - GNU M4 1.4.6
- make - GNU Make 3.81
- patch - Patch 2.5.8
- tar - GNU tar 1.26
- wget - GNU wget 1.13.4 (or curl)
- subversion
- yasm
- build-essential
- autoconf
- libtool
- zliblg-dev
- libbz2-dev
- libxml2-dev
- libogg-dev
- libtheora-dev
- libvorbis-dev
- libsamplerate-dev
- libfribidi-dev
- libfreetype6-dev
- libfontconfig1-dev
- libass-dev
- intltool
- libglib2.0-dev
- libdbus-glib-1-dev
- libgtk-3-dev
- libgudev-1.0-dev
- libwebkitgtk-3.0-dev
- libnotify-dev
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
- libappindicator-dev
sudo apt-get install subversion yasm build-essential autoconf libtool zlib1g-dev libbz2-dev libogg-dev libtheora-dev libvorbis-dev libsamplerate-dev libxml2-dev libfribidi-dev libfreetype6-dev libfontconfig1-dev libass-dev intltool libglib2.0-dev libdbus-glib-1-dev libgtk-3-dev libgudev-1.0-dev libwebkitgtk-3.0-dev libnotify-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libappindicator-devMake sure you are in your home directory in your terminal. If you are not, the build will fail. In the terminal type:
svn checkout svn://svn.handbrake.fr/HandBrake/trunk hb-trunkChange to the hb-trunk directory:
cd hb-trunkConfigure command:
./configure --launchThe special option '--launch' selects launch mode and performs the following steps:
- assert scratch directory 'build/' does not exist
- create scratch directory 'build/'
- change to directory 'build/'
- launch 'make'
- capture build output to 'build/log/build.txt'
- echo build output
- print elapsed time
- indicate if build succeeded or failed
cd build
sudo make install
You can then run it from the terminal with
ghb or find it in Dash as Handbrake. Dash will show that you have the version from the repositories install but you can go to Help>About in HandBrake and it will show the correct version installed.
No comments:
Post a Comment