Difference between revisions of "Vlc"

From CBLFS
Jump to navigationJump to search
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| http://download.videolan.org/pub/videolan/vlc/{{vlc-Version}}/vlc-{{vlc-Version}}.tar.bz2
 
| http://download.videolan.org/pub/videolan/vlc/{{vlc-Version}}/vlc-{{vlc-Version}}.tar.bz2
|-valign="top"
 
!Required Patch:
 
| http://svn.cross-lfs.org/svn/repos/patches/vlc/vlc-{{vlc-Version}}-ffmpeg-1.patch
 
 
|}
 
|}
  
Line 46: Line 43:
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 
Apply the patch if you have new version of [[FFmpeg]] (svn version)
 
 
patch -Np1 -i ../vlc-{{vlc-Version}}-ffmpeg-1.patch
 
 
   
 
   
 
Compile the package:
 
Compile the package:
Line 63: Line 56:
  
 
=== 32Bit ===
 
=== 32Bit ===
 
Apply the patch if you have new version of [[FFmpeg]] (svn version)
 
 
patch -Np1 -i ../vlc-{{vlc-Version}}-ffmpeg-1.patch
 
  
 
Compile the package:
 
Compile the package:
Line 81: Line 70:
  
 
=== N32 ===
 
=== N32 ===
 
Apply the patch if you have new version of [[FFmpeg]] (svn version)
 
 
patch -Np1 -i ../vlc-{{vlc-Version}}-ffmpeg-1.patch
 
  
 
Compile the package:
 
Compile the package:
Line 96: Line 81:
  
 
=== 64Bit ===
 
=== 64Bit ===
 
Apply the patch if you have new version of [[FFmpeg]] (svn version)
 
 
patch -Np1 -i ../vlc-{{vlc-Version}}-ffmpeg-1.patch
 
  
 
Compile the package:
 
Compile the package:

Revision as of 09:33, 3 April 2008

Download Source: http://download.videolan.org/pub/videolan/vlc/0.9.9a/vlc-0.9.9a.tar.bz2

Introduction to Vlc

VideoLAN Client (VLC) is a media player, streamer, and encoder for Unix, Windows, Mac OS X, BeOS, QNX, and PocketPC. It can play most audio and video codecs (MPEG 1/2/4, DivX, WMV, Vorbis, AC3, AAC, etc.), has support for VCD, SVCD, and DVD (with menus), and can read or dump streams from a network source (HTTP, UDP, DVB, MMS, etc.). It can also act as a server and send streams through the network, with optional support for audio and video transcoding.

Project Homepage: http://www.videolan.org/vlc/

Dependencies

Required

Recommended

Optional

Caution.png

Note

Vlc may not compile properly if parallel makes are used.

Non-Multilib

Compile the package:

./configure --prefix=/usr --enable-wxwidgets &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" USE_ARCH=32 \
./configure --prefix=/usr --enable-wxwidgets &&
make

Install the package

make install &&
mv -v /usr/bin/vlc-config{,-32}

N32

Compile the package:

Todo...

Install the package

make install &&
mv -v /usr/bin/vlc-config{,-n32}

64Bit

Compile the package:

CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" USE_ARCH=64 \
./configure --prefix=/usr --libdir=/usr/lib64 \
    --enable-wxwidgets &&
make

Install the package

make install &&
mv -v /usr/bin/vlc-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/vlc-config

Contents

Installed Programs: vlc, vlc-config, vlcwrapper.py
Installed Libraries: libvlc.a
Installed Directory: /usr/include/vlc, /usr/lib/vlc, /usr/share/vlc, /usr/share/doc/vlc