Here is a detailed guide of my steps to build OpenPHT 1.6 under Ubuntu 14.04 LTS. It is using exactly the same ffmpeg 2.8.7 version bundled in OpenPHT 1.6 and the same configure command with the non-existent options removed. The Kodi specific patches for ffmpeg are applied too.
Everything works perfectly on my Intel Nuc.
Build OpenPHT 1.6 from source on Ubuntu 14.04 (Intel NUC)
Backup the old version /opt/openpht and the configuration ~/.plexht
sudo apt-add-repository -s ppa:team-xbmc/ppa
sudo apt-get build-dep kodi
sudo apt-get install libsdl-image1.2-dev libflac+±dev libshairport-dev
cd ~
git clone https://github.com/RasPlex/OpenPHT.git openpht-source
cd ~
mkdir ~/ffmpeg-sources
cd ~/ffmpeg-sources
wget http://ffmpeg.org/releases/ffmpeg-2.8.7.tar.bz2
tar xjvf ffmpeg-2.8.7.tar.bz2
cd ffmpeg-2.8.7
cp -r ~/openpht-source/lib/ffmpeg/patches patches
./configure --prefix="/usr/local" --disable-altivec --disable-amd3dnow --disable-avisynth --disable-crystalhd --disable-debug --disable-decoder=mpeg_xvmc --disable-devices --disable-doc --disable-dxva2 --disable-encoders --disable-extra-warnings --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-frei0r --disable-gray --disable-hardcoded-tables --disable-indevs --disable-libdc1394 --disable-libfaac --disable-libfreetype --disable-libgsm --disable-libmp3lame --disable-libnut --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libopencv --disable-libopenjpeg --disable-librtmp --disable-libschroedinger --disable-libspeex --disable-libtheora --disable-libvo-aacenc --disable-libvo-amrwbenc --disable-libvorbis --disable-libvpx --disable-libx264 --disable-libxavs --disable-libxvid --disable-memalign-hack --disable-mmi --disable-muxers --disable-nonfree --disable-outdevs --disable-small --disable-static --disable-symver --disable-vda --disable-version3 --disable-w32threads --disable-x11grab --enable-asm --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-bsfs --enable-bzlib --enable-dct --enable-demuxers --enable-fft --enable-filters --enable-gpl --enable-hwaccels --enable-libvorbis --enable-logging --enable-mdct --enable-muxer=adts --enable-muxer=ogg --enable-muxer=spdif --enable-network --enable-optimizations --enable-parsers --enable-pic --enable-postproc --enable-protocol=http --enable-pthreads --enable-rdft --enable-runtime-cpudetect --enable-shared --enable-stripping --enable-swscale --enable-swscale-alpha --enable-vaapi --enable-vdpau --enable-yasm --enable-zlib --host-libs=-lm
make -j 4
make check
sudo make install
make clean
cat /etc/ld.so.conf
include /etc/ld.so.conf.d/*.conf
/usr/local/lib
sudo ldconfig
cd ~
mkdir ~/openpht-build
cd ~/openpht-build
cmake -DCMAKE_BUILD_TYPE=Debug -DCOMPRESS_TEXTURES=on -DUSE_INTERNAL_FFMPEG=off -DENABLE_AUTOUPDATE=off -DCMAKE_INSTALL_PREFIX=/opt/openpht “~/openpht-source”
make
sudo make install
make clean
To uninstall the package run: sudo rm -r /opt/openpht