mirror of
https://github.com/videolan/vlc.git
synced 2024-11-25 10:53:36 +08:00
6116299e39
* Additional Makefile cleaning for built-in modules. * Fixed Makefile for Solaris target.
62 lines
1.5 KiB
Plaintext
62 lines
1.5 KiB
Plaintext
INSTALL file for vlc, the VideoLAN Client
|
|
|
|
|
|
Configuring VideoLAN
|
|
====================
|
|
|
|
A typical way to configure vlc is:
|
|
|
|
./configure --prefix=/usr --enable-gnome --with-sdl
|
|
|
|
See `./configure --help' for more information.
|
|
|
|
Here is a shortcut to copy-paste for a complete build:
|
|
|
|
make distclean && ./configure --prefix=/usr --enable-gnome \
|
|
--enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
|
|
--enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo
|
|
|
|
If you intend to debug stuff, you may want to disable optimizations:
|
|
|
|
make distclean && ./configure --prefix=/usr --enable-gnome \
|
|
--enable-fb --with-glide --with-ggi --with-sdl --enable-esd \
|
|
--enable-alsa --enable-mga --enable-gtk --enable-qt --enable-xvideo \
|
|
--disable-optimizatons
|
|
|
|
|
|
Building VideoLAN
|
|
=================
|
|
|
|
Have a look at the generated Makefile.opts file, you may want to choose
|
|
which modules will be compiled as plugins, and which ones will remain in
|
|
the core application. The configure script tries to guess for you.
|
|
|
|
Once configured, run `make' to build vlc.
|
|
|
|
|
|
Installing and running VideoLAN
|
|
===============================
|
|
|
|
You can install the vlc and its plugins by typing:
|
|
|
|
make install
|
|
|
|
But you don't need to install it if you don't want to; vlc can be launched
|
|
from the current directory as well:
|
|
|
|
./vlc
|
|
|
|
|
|
Building packages
|
|
=================
|
|
|
|
To build a Debian package, you may use:
|
|
|
|
dpkg-buildpackage -rfakeroot -us -uc
|
|
|
|
|
|
To build RedHat packages, use:
|
|
|
|
rpm -ba vlc.spec
|
|
|