[Lunar-commits] <moonbase> gst-plugins-bad: add more optional depends, fix others
Zachary McGrew
zmcgrew at lunar-linux.org
Fri Jan 23 01:24:42 CET 2009
commit e9c6d04a7c1e60e6445ec434bed3ec8b8943be86
Author: Zachary McGrew <zmcgrew at lunar-linux.org>
Date: Thu Jan 22 16:24:42 2009 -0800
gst-plugins-bad: add more optional depends, fix others
---
audio/gst-plugins-bad/BUILD | 20 +++++++++++++++++++-
audio/gst-plugins-bad/DEPENDS | 10 ++++++++--
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/audio/gst-plugins-bad/BUILD b/audio/gst-plugins-bad/BUILD
index ce0e099..5950c5a 100644
--- a/audio/gst-plugins-bad/BUILD
+++ b/audio/gst-plugins-bad/BUILD
@@ -4,7 +4,25 @@
#check this at the next release!
sedit 's:b_bframe_adaptive:i_bframe_adaptive:g' ext/x264/gstx264enc.c
- OPTS="$OPTS --disable-valgrind --disable-debug --disable-examples"
+ #xvidcore doesn't use pkgconfig, and gstreamer doesn't use -pthread
+ #This leaves us to fix the problem
+ if in_depends $MODULE xvidcore ; then
+ sedit 's:\"-lxvidcore:\"-pthread -lxvidcore:g' configure
+ fi
+
+ #gstreamer explicitly checks for swfdec-0.3,
+ #but it compiles just fine with the current version
+ if in_depends $MODULE swfdec ; then
+ sedit 's:swfdec-0.3:swfdec-0.8:g' configure
+ fi
+
+ #Disable x264, since x264-git doesn't work with it, and
+ #I can't seem to find a version of x264-snapshot that does either
+
+ OPTS="$OPTS --disable-valgrind \
+ --disable-debug \
+ --disable-examples \
+ --disable-x264"
default_build
diff --git a/audio/gst-plugins-bad/DEPENDS b/audio/gst-plugins-bad/DEPENDS
index c13ef6a..343a1e9 100644
--- a/audio/gst-plugins-bad/DEPENDS
+++ b/audio/gst-plugins-bad/DEPENDS
@@ -6,12 +6,18 @@ optional_depends "faad" "" "--disable-faad" \
"for the AAC decoder plugin"
optional_depends "DirectFB" "" "--disable-directfb" \
"for the DirectFB video sink"
-optional_depends "divx4linux" "" "--disable-divx" \
- "for the DivX video plugin"
optional_depends "neon" "" "--disable-neon" \
"for the neon HTTP client plugin"
+optional_depends "libcdaudio" "" "--disable-cdaudio" \
+ "for basic cd audio support"
+optional_depends "twolame" "" "--disable-twolame" \
+ "for mpeg2 audo encoding support"
optional_depends "xvidcore" "" "--disable-xvid" \
"for the XviD video plugin"
+optional_depends "dirac" "" "--disable-dirac" \
+ "for the Dirac video plugin"
+optional_depends "timidity++" "" "--disable-timidity" \
+ "For midi plugin"
optional_depends "swfdec" "" "--disable-swfdec" \
"for the SWF plugin"
optional_depends "jack" "" "--disable-jack" \
More information about the Lunar-commits
mailing list