Very simple and quick.
What you're going to do is build a static only version of AoTuV tuned libvorbis and install to /usr/local
(it can be removed afterwards
The you'll install the build deps for vorbis-tools, after which removing the libvorbis-dev package.
Finally you get the vorbis-tools source, build and install to usr/local with checkinstall - the oggenc will have built-in encoding support using the tuned libvorbis
Also install checkinstall if not already
sudo apt-get build-dep vorbis-tools
After done open synaptic, search libvorbis and remove the libvorbis-dev package.
sudo apt-get install checkinstall
(not 100% nessasary but i'd do this - if any other -devs are removed a record will be in synaptics history - re-install afterwards as desired
Might as well do this all in one folder, so make a folder in your home directory, I used ogg_build. Take your tuned source, place it in the folder and cd to it in a terminal.
Make sure the configure file is executable, either r. click on properties - permissions or
Then a simple configure (if you want to use the Cflags as in prior post do so
Then just use make install
./configure --disable-shared && make
Then cd to the vorbis-tools folder (will guess it's vorbis-tools-1.2.0 on lucid
cd .. && apt-get source vorbis-tools
./configure && make
(blue is to make a number higher than lucid package
sudo checkinstall --backup=no --deldoc=yes --deldesc=yes \
--delspec=yes --default --pkgversion 1.2.1
That's it - took me longer to write then it should take you to do.
Test your oggenc, if all is well I'd cd back to the vorbis source and run sudo make uninstall
Quick example - oggenc encode wav to ogg no options
see screen for mediainfo
doug@doug-laptop:~$ oggenc '/home/doug/Music/luckynight.wav' -o /home/doug/Music/luckynight2.ogg
Opening with wav module: WAV file reader
Encoding "/home/doug/Music/luckynight.wav" to
at quality 3.00
[ 99.1%] [ 0m00s remaining] |
Done encoding file "/home/doug/Music/luckynight2.ogg"
File length: 1m 00.0s
Elapsed time: 0m 02.7s
Average bitrate: 106.9 kb/s
EDit: anything that uses oggenc will also encode w/ the tuned - soundkonverter is one ex.