All of lore.kernel.org
 help / color / mirror / Atom feed
* Ack for ffmpeg patch
@ 2009-04-21 16:13 Henning Heinold
  2009-04-21 16:29 ` Tom Rini
  2009-04-21 18:20 ` Koen Kooi
  0 siblings, 2 replies; 5+ messages in thread
From: Henning Heinold @ 2009-04-21 16:13 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]

Hi,

is the attached patch okay for dev. The patch removes the install
of the headers to the legacy directories. Without the patch it is very complicated
to compile xine 1.1.16.3.

Bye Henning

[-- Attachment #2: 0001-ffmpeg-0.5-install-the-header-to-staging-only-to-th.patch --]
[-- Type: text/x-diff, Size: 1877 bytes --]

 recipes/ffmpeg/ffmpeg_0.5.bb |   34 +++++++++++++++++++++++++++++++++-
 1 files changed, 33 insertions(+), 1 deletions(-)

diff --git a/recipes/ffmpeg/ffmpeg_0.5.bb b/recipes/ffmpeg/ffmpeg_0.5.bb
index 54db004..244dba1 100644
--- a/recipes/ffmpeg/ffmpeg_0.5.bb
+++ b/recipes/ffmpeg/ffmpeg_0.5.bb
@@ -3,7 +3,7 @@ require ffmpeg.inc
 DEPENDS += "schroedinger libgsm"
 
 PE = "1"
-PR = "r1"
+PR = "r2"
 
 DEFAULT_PREFERENCE = "1"
 
@@ -59,3 +59,35 @@ do_configure() {
 		sed -i -e s:Os:O4:g ${B}/config.h
 }
 
+do_stage() {
+        for lib in libavcodec libavdevice libavformat \
+                   libavutil libpostproc libswscale
+        do
+            oe_libinstall -a -so -C $lib $lib ${STAGING_LIBDIR} || true
+            install -d ${STAGING_INCDIR}/$lib 
+        done 
+
+        install -m 0644 ${S}/libavcodec/avcodec.h ${STAGING_INCDIR}/libavcodec/avcodec.h
+        install -m 0644 ${S}/libavcodec/opt.h ${STAGING_INCDIR}/libavcodec/opt.h
+
+        
+        for h in avformat.h avio.h rtp.h rtsp.h rtspcodes.h
+        do
+           install -m 0644 ${S}/libavformat/$h  ${STAGING_INCDIR}/libavformat/$h        
+        done
+
+                for h in adler32.h avstring.h avutil.h base64.h bswap.h \
+                 common.h crc.h fifo.h integer.h intfloat_readwrite.h \
+                 log.h lzo.h mathematics.h md5.h mem.h pixfmt.h random.h \
+                 rational.h sha1.h
+                do
+           install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/libavutil/$h 
+        done
+
+        install -d ${STAGING_INCDIR}/libswscale/ 
+        install -m 0644 ${S}/libswscale/*.h ${STAGING_INCDIR}/libswscale/
+
+        install -d ${STAGING_INCDIR}/libpostproc
+        install -m 0644 ${S}/libpostproc/postprocess.h ${STAGING_INCDIR}/libpostproc/postprocess.h
+}
+
-- 
1.6.2.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-21 20:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-21 16:13 Ack for ffmpeg patch Henning Heinold
2009-04-21 16:29 ` Tom Rini
2009-04-21 16:44   ` Henning Heinold
2009-04-21 18:20 ` Koen Kooi
2009-04-21 20:54   ` Henning Heinold

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.