# libquicktime
# ============
# I include two versions below. The latest stable release and
# instructions for installing it from CVS.
# If you want to uninstall libquicktime or if you need to downgrade to the
# stable or rc versions from the CVS version, skip down to the bottom for
# uninstall instructions.
cd
test -f installed/libquicktime-0.9.10.tar.gz &&
mv installed/libquicktime-0.9.10.tar.gz .
test ! -f libquicktime-0.9.10.tar.gz &&
wget http://download.sf.net/libquicktime/libquicktime-0.9.10.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libquicktime-*" -exec rm -r {} \;
test -d ./libquicktime && rm -r ./libquicktime
tar xzvf ~/libquicktime-0.9.10.tar.gz
cd libquicktime-0.9.10
test $UID = 0 && chown -R root:root .
chmod -R u+w .
# I had to change two occurances of i_rf_constant in plugins/x264/x264.c
# to f_rf_constant. I've read that the CVS version already includes that
# fix, it's due to a change in recent versions of x264.
./configure --enable-gpl
make
# Become root to install it
su
rm -f /usr/local/lib/libquicktime.*
make install
ldconfig
chown -R $USER .