[vlc-commits] Contribs: add lame
Jean-Baptiste Kempf
git at videolan.org
Mon Aug 8 22:58:33 CEST 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Aug 8 22:57:46 2011 +0200| [66178e72891694d3270def427c1ac8d678bc61c3] | committer: Jean-Baptiste Kempf
Contribs: add lame
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=66178e72891694d3270def427c1ac8d678bc61c3
---
contrib/src/ffmpeg/rules.mak | 4 ++--
contrib/src/lame/SHA512SUMS | 1 +
contrib/src/lame/rules.mak | 22 ++++++++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index cff6f3f..484ed6f 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -27,8 +27,8 @@ DEPS_ffmpeg = zlib gsm vpx $(DEPS_vpx)
# Optional dependencies
ifdef BUILD_ENCODERS
# TODO:
-#FFMPEGCONF += --enable-libmp3lame
-#DEPS_ffmpeg += lame $(DEPS_lame)
+FFMPEGCONF += --enable-libmp3lame
+DEPS_ffmpeg += lame $(DEPS_lame)
else
FFMPEGCONF += --disable-encoders --disable-muxers
# XXX: REVISIT --enable-small ?
diff --git a/contrib/src/lame/SHA512SUMS b/contrib/src/lame/SHA512SUMS
new file mode 100644
index 0000000..ed0ed88
--- /dev/null
+++ b/contrib/src/lame/SHA512SUMS
@@ -0,0 +1 @@
+cf6cff914c06c2d65470c577eed2bfa226e9017cdfd26aa3e95c3b3b76c40568151ca223327859d6dacb982c80c06b672ba4e9f32ce1e452363c95126edb301b lame-3.98.4.tar.gz
diff --git a/contrib/src/lame/rules.mak b/contrib/src/lame/rules.mak
new file mode 100644
index 0000000..b579db7
--- /dev/null
+++ b/contrib/src/lame/rules.mak
@@ -0,0 +1,22 @@
+# lame
+
+LAME_VERSION := 3.98.4
+LAME_URL := $(SF)/lame/lame-$(LAME_VERSION).tar.gz
+
+ifdef BUILD_ENCODERS
+PKGS += lame
+endif
+
+$(TARBALLS)/lame-$(LAME_VERSION).tar.gz:
+ $(call download,$(LAME_URL))
+
+.sum-lame: lame-$(LAME_VERSION).tar.gz
+
+lame: lame-$(LAME_VERSION).tar.gz .sum-lame
+ $(UNPACK)
+ $(MOVE)
+
+.lame: lame
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-analyser-hooks --disable-decoder --disable-gtktest --disable-frontend
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list