ffmpeg: Revert DEPENDS on coreutils-native. Instead, remove -s (strip) argument to...
authorLeon Woestenberg <leon.woestenberg@gmail.com>
Sat, 30 Aug 2008 09:28:09 +0000 (09:28 +0000)
committerLeon Woestenberg <leon.woestenberg@gmail.com>
Sat, 30 Aug 2008 09:28:09 +0000 (09:28 +0000)
packages/ffmpeg/ffmpeg-0.4.9-pre1/install-must-not-strip.patch [new file with mode: 0644]
packages/ffmpeg/ffmpeg.inc
packages/ffmpeg/ffmpeg_0.4.9-pre1.bb
packages/gnash/gnash-minimal.inc
packages/mplayer/mplayer_0.0+1.0rc2.bb

diff --git a/packages/ffmpeg/ffmpeg-0.4.9-pre1/install-must-not-strip.patch b/packages/ffmpeg/ffmpeg-0.4.9-pre1/install-must-not-strip.patch
new file mode 100644 (file)
index 0000000..6fbeb3e
--- /dev/null
@@ -0,0 +1,47 @@
+Index: ffmpeg-0.4.9-pre1/libavcodec/Makefile
+===================================================================
+--- ffmpeg-0.4.9-pre1.orig/libavcodec/Makefile 2008-08-30 11:13:14.000000000 +0200
++++ ffmpeg-0.4.9-pre1/libavcodec/Makefile      2008-08-30 11:13:34.000000000 +0200
+@@ -267,10 +267,10 @@
+ ifeq ($(BUILD_SHARED),yes)
+ install: all install-headers
+ ifeq ($(CONFIG_WIN32),yes)
+-      install -s -m 755 $(SLIB) "$(prefix)"
++      install -m 755 $(SLIB) "$(prefix)"
+ else
+       install -d $(prefix)/lib
+-      install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec.so.0.4.9
++      install -m 755 $(SLIB) $(prefix)/lib/libavcodec.so.0.4.9
+       ln -sf libavcodec.so.0.4.9 $(prefix)/lib/libavcodec.so.0
+       ln -sf libavcodec.so.0.4.9 $(prefix)/lib/libavcodec.so
+       ldconfig || true
+Index: ffmpeg-0.4.9-pre1/libavcodec/libpostproc/Makefile
+===================================================================
+--- ffmpeg-0.4.9-pre1.orig/libavcodec/libpostproc/Makefile     2008-08-30 11:13:14.000000000 +0200
++++ ffmpeg-0.4.9-pre1/libavcodec/libpostproc/Makefile  2008-08-30 11:13:40.000000000 +0200
+@@ -50,7 +50,7 @@
+ install: all
+ ifeq ($(SHARED_PP),yes)
+       install -d $(prefix)/lib
+-      install -s -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION)
++      install -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION)
+       ln -sf $(SPPLIB).$(SPPVERSION) $(prefix)/lib/$(SPPLIB)
+       ldconfig || true
+       mkdir -p $(prefix)/include/postproc
+Index: ffmpeg-0.4.9-pre1/libavformat/Makefile
+===================================================================
+--- ffmpeg-0.4.9-pre1.orig/libavformat/Makefile        2008-08-30 11:13:14.000000000 +0200
++++ ffmpeg-0.4.9-pre1/libavformat/Makefile     2008-08-30 11:13:46.000000000 +0200
+@@ -103,10 +103,10 @@
+ ifeq ($(BUILD_SHARED),yes)
+ install: all install-headers
+ ifeq ($(CONFIG_WIN32),yes)
+-      install -s -m 755 $(SLIB) "$(prefix)"
++      install -m 755 $(SLIB) "$(prefix)"
+ else
+       install -d $(prefix)/lib
+-      install -s -m 755 $(SLIB) $(prefix)/lib/libavformat.so.0.4.9
++      install -m 755 $(SLIB) $(prefix)/lib/libavformat.so.0.4.9
+       ln -sf libavformat.so.0.4.9 $(prefix)/lib/libavformat.so.0
+       ln -sf libavformat.so.0.4.9 $(prefix)/lib/libavformat.so
+       ldconfig || true
index 6316b4e..aab2c62 100644 (file)
@@ -5,7 +5,7 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "LGPL"
 
-DEPENDS = "coreutils-native zlib libogg libvorbis faac faad2 liba52 lame"
+DEPENDS = "zlib libogg libvorbis faac faad2 liba52 lame"
 RSUGGESTS = "mplayer"
 
 inherit autotools pkgconfig
index f2d5a92..5a2856a 100644 (file)
@@ -1,13 +1,12 @@
 require ffmpeg.inc
 
-PR = "r5"
+PR = "r6"
 
 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://libavformat-makefile.patch;patch=1 \
-           file://Makefile-lame.patch;patch=1 \
+           file://install-must-not-strip.patch;patch=1 \
           "
 
 EXTRA_OECONF += " \
index 2f2645a..9845638 100644 (file)
@@ -28,7 +28,7 @@ EXTRA_OECONF="--enable-gui=gtk \
                 --disable-glext \
                 --disable-Xft \
                 --disable-expat \
-                --disable-mad \
+                --enable-mad \
                 --disable-gstreamer \
                 --disable-cairo \
                 --disable-plugin \
index e50fa46..d086e9b 100644 (file)
@@ -6,7 +6,7 @@ DEPENDS = "virtual/libsdl xsp libmad zlib libpng jpeg liba52 freetype fontconfig
 DEPENDS_append_c7x0 = " libw100 "
 DEPENDS_append_hx4700 = " libw100 "
 
-DEFAULT_PREFERENCE_avr32 = "-1"
+DEFAULT_PREFERENCE_avr32 = "1"
 
 RDEPENDS = "mplayer-common"
 LICENSE = "GPL"