[Lunar-commits] <moonbase> vlc: Some more tweaks.

Moritz Heiber moe at lunar-linux.org
Sun Apr 20 21:49:12 CEST 2008


commit 2fb7f2f7402c29c25ae9d384764fc776d7dfa5a4
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Sun Apr 20 20:11:33 2008 +0200

    vlc: Some more tweaks.
---
 video/vlc/BUILD   |    6 +++++-
 video/vlc/DEPENDS |   26 ++++++++++++++------------
 2 files changed, 19 insertions(+), 13 deletions(-)

diff --git a/video/vlc/BUILD b/video/vlc/BUILD
index 35ec8db..7a2f1de 100644
--- a/video/vlc/BUILD
+++ b/video/vlc/BUILD
@@ -3,7 +3,11 @@
   patch_it $SOURCE2 0 &&
   patch_it $SOURCE3 0 &&
 
-  OPTS="$OPTS --enable-release"
+  if in_depends ffmpeg lame ; then
+    OPTS+=" --with-ffmpeg-mp3lame"
+  fi
+
+  OPTS="$OPTS --enable-release --enable-x11 --enable-xvideo --enable-ffmpeg"
 
   default_build
 
diff --git a/video/vlc/DEPENDS b/video/vlc/DEPENDS
index ef348c9..9a82e4d 100644
--- a/video/vlc/DEPENDS
+++ b/video/vlc/DEPENDS
@@ -1,26 +1,28 @@
 depends  mpeg2dec
 depends  ffmpeg
 
-optional_depends  "hal"          ""  ""  "for HAL support"
-optional_depends  "alsa-utils"   ""  ""  "for ALSA support"
-optional_depends  "libogg"       ""  ""  "for OGG support"
-optional_depends  "libvorbis"    ""  ""  "for Vorbis support"
-optional_depends  "libmad"       ""  ""  "for MP3 support"
-optional_depends  "libmodplug"   ""  ""  "for MOD support"
-optional_depends  "speex"        ""  ""  "for Speex support"
-optional_depends  "SDL"          ""  ""  "for SDL support"
+optional_depends  "hal"          "--enable-hal"  ""  "for HAL support"
+optional_depends  "alsa-utils"   "--enable-alsa"  ""  "for ALSA support"
+optional_depends  "libogg"       "--enable-ogg"  ""  "for OGG support"
+optional_depends  "libvorbis"    "--enable-vorbis"  ""  "for Vorbis support"
+optional_depends  "libmad"       "--enable-mad"  ""  "for MP3 support"
+optional_depends  "libmodplug"   "--enable-mod"  ""  "for MOD support"
+optional_depends  "speex"        "--enable-speex"  ""  "for Speex support"
+optional_depends  "SDL"          "--enable-sdl"  ""  "for SDL support"
 optional_depends  "libcdio"      ""  ""  "for CD-ROM control"
 optional_depends  "libcddb"      ""  ""  "for CDDB support"
 optional_depends  "a52dec"       ""  ""  "for a52dec support"
-optional_depends  "freetype2"    ""  ""  "for TrueType support"
+optional_depends  "freetype2"    "--enable-freetype"  ""  "for TrueType support"
 optional_depends  "fribidi"      ""  ""  "for Fribidi support"
-optional_depends  "libmatroska"  ""  ""  "for Matroska support"
+optional_depends  "libmatroska"  "--enable-mkv"  ""  "for Matroska support"
 optional_depends  "libmpcdec"    ""  ""  "for Musepack support"
 optional_depends  "libxml2"      ""  ""  "for XML support"
 optional_depends  "libpng"       ""  ""  "for PNG support"
 optional_depends  "gnutls"       ""  ""  "for TLS/SSL support"
-optional_depends  "libdvdnav"    ""  ""  "for DVD navigation"
-optional_depends  "gnome-vfs2"   ""  ""  "for GNOME Vfs support"
+optional_depends  "libdvdnav"    "--enable-dvdnav"  ""  "for DVD navigation"
+optional_depends  "gnome-vfs2"   "--enable-gnomevfs"  ""  "for GNOME Vfs support"
+
+
 
 optional_depends  "ncurses"               \
                   "--enable-ncurses"      \


More information about the Lunar-commits mailing list