summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/ffmpeg/ffmpeg-0.4.9-pre1/Makefile-add-liblame.patch13
-rw-r--r--packages/ffmpeg/ffmpeg_0.4.9-pre1.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/ffmpeg/ffmpeg-0.4.9-pre1/Makefile-add-liblame.patch b/packages/ffmpeg/ffmpeg-0.4.9-pre1/Makefile-add-liblame.patch
new file mode 100644
index 0000000000..3c3969de43
--- /dev/null
+++ b/packages/ffmpeg/ffmpeg-0.4.9-pre1/Makefile-add-liblame.patch
@@ -0,0 +1,13 @@
+--- /orig-Makefile 2008-07-17 00:29:01.000000000 +0300
++++ /Makefile 2008-07-17 00:29:35.000000000 +0300
+@@ -58,6 +58,10 @@
+ EXTRALIBS+=-lfaac
+ endif
+
++ifeq ($(CONFIG_MP3LAME),yes)
++EXTRALIBS+=-lmp3lame
++endif
++
+ ifeq ($(BUILD_VHOOK),yes)
+ VHOOK=videohook
+ INSTALLVHOOK=install-vhook
diff --git a/packages/ffmpeg/ffmpeg_0.4.9-pre1.bb b/packages/ffmpeg/ffmpeg_0.4.9-pre1.bb
index c415ffa8bf..3e05040854 100644
--- a/packages/ffmpeg/ffmpeg_0.4.9-pre1.bb
+++ b/packages/ffmpeg/ffmpeg_0.4.9-pre1.bb
@@ -1,12 +1,13 @@
require ffmpeg.inc
-PR = "r7"
+PR = "r8"
SRC_URI = "${SOURCEFORGE_MIRROR}/ffmpeg/ffmpeg-${PV}.tar.gz \
file://configure.patch;patch=0 \
file://gcc4.patch;patch=1 \
file://soname.patch;patch=1 \
file://Makefile-avformat-use-LDFLAGS.patch;patch=1 \
+ file://Makefile-add-liblame.patch;patch=1 \
file://install-must-not-strip.patch;patch=1 \
"