summaryrefslogtreecommitdiff
path: root/packages/ffmpeg
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2008-08-30 10:09:23 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2008-08-30 10:09:23 +0000
commit439d11db568087953260a0453b9c2f7eeea74ab5 (patch)
treeb95c4dd546b644ac9ae872155e931e7d4b67d7de /packages/ffmpeg
parent9c0e0b8bb7b55ed7e035320a4ed0cf8bf09bcad1 (diff)
packages/ffmpeg/ffmpeg_0.4.9-pre1.bb : Add libmp3lame if mp3 support is configured in
Diffstat (limited to 'packages/ffmpeg')
-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 \
"