void-packages/srcpkgs/vlc/template
Juan RP a8f0501c53 Added vlc-1.0.4 build template, FINALLY!
--HG--
extra : convert_revision : 665e4ed89e22eb9fd056bb4043ac47a03bb9f464
2009-12-31 04:33:15 +01:00

38 lines
1.7 KiB
Text

# Template file for 'vlc'
pkgname=vlc
version=1.0.4
distfiles="http://download.videolan.org/pub/videolan/vlc/$version/vlc-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-hal --disable-mtp --disable-gme
--disable-telepathy --disable-lua --disable-live555 --disable-pulse
--enable-dvdread --disable-smb --disable-vcdinfo --enable-cddax
--disable-libtar --enable-flac --enable-xvmc --enable-snapshot"
short_desc="VideoLan Client"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=dbff0ba0cd60a4323f85fd8b918f2a4477a11c5a8f628d1b868fb5947e8e9896
long_desc="
VLC media player is a highly portable multimedia player supporting most
audio and video formats (H.264, Ogg, DivX, MKV, TS, MPEG-2, mp3, MPEG-4,
aac, ...) from files, physical media (DVDs, VCD, Audio-CD), TV capture
cards and many network streaming protocols.
It can also convert media files, transcode and act as a streaming server
over unicast or multicast and IPv4 or IPv6. It doesn't need any external
codec, program or codec pack to work."
Add_dependency build pkg-config
# XXX Add missing deps: libmtp, gme, telepathy, lua, live555, pulse
# smbclient, libtar (for skins2).
_vlc_deps="zlib dbus udev pcre libxml2 libgcrypt gnutls taglib freetype"
_vlc_deps="${_vlc_deps} fribidi liba52 libcddb libmpcdec libproxy libebml"
_vlc_deps="${_vlc_deps} libnotify libogg libtheora libflac libmad libmatroska"
_vlc_deps="${_vlc_deps} libcdio libdvdread libdvdnav libdvbpsi libdca"
_vlc_deps="${_vlc_deps} libXv libXvMC libXxf86vm libXdamage libXinerama"
_vlc_deps="${_vlc_deps} libmpeg2 ffmpeg x264 MesaLib SDL SDL_image qt"
for _dep_ in ${_vlc_deps}; do
Add_dependency run ${_dep_}
Add_dependency build ${_dep_}-devel
done