[Lunar-commits] <moonbase> ffmpeg: some tiny tweaks to lunar scripts
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Tue Apr 22 21:55:16 CEST 2008
commit 7e6870196afe06d7ae2f732e7030069b859fb286
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Tue Apr 22 21:55:16 2008 +0200
ffmpeg: some tiny tweaks to lunar scripts
---
video/ffmpeg/BUILD | 4 ++--
video/ffmpeg/DEPENDS | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/video/ffmpeg/BUILD b/video/ffmpeg/BUILD
index e551d08..578d1a4 100644
--- a/video/ffmpeg/BUILD
+++ b/video/ffmpeg/BUILD
@@ -2,8 +2,8 @@
OPTS+=" --enable-gpl --enable-nonfree --enable-shared --enable-pthreads \
--enable-swscale --enable-postproc"
-
- ./configure --prefix=/usr $OPTS &&
+ [ -n $CPU ] && OPTS+="$OPTS --cpu=$CPU"
+ ./configure --prefix=/usr $OPTS &&
default_make
diff --git a/video/ffmpeg/DEPENDS b/video/ffmpeg/DEPENDS
index 2f98654..d64cff7 100644
--- a/video/ffmpeg/DEPENDS
+++ b/video/ffmpeg/DEPENDS
@@ -1,6 +1,9 @@
optional_depends libvorbis "--enable-libvorbis" "" "for ogg-vorbis support"
optional_depends libtheora "--enable-libtheora" "" "for theora support"
-optional_depends faad "--enable-libfaad" "" "for faad support"
+optional_depends faad "--enable-libfaad --enable-libfaadbin" \
+ "" \
+ "for faad support"
+
optional_depends faac "--enable-libfaac" "" "for faac support"
optional_depends lame "--enable-libmp3lame" "" "for mp3 support"
More information about the Lunar-commits
mailing list