Skip to contentSkip to conversation

ffmpeg: Stage `avconfig.h` which is built at compile time.

PATCH In review Paul Menzel 3 participants 3 messages Mar 16, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ffmpeg: Stage `avconfig.h` which is built at compile time.

This header is needed for libvalhalla.

---
Could someone please test this with ffmpeg_0.4.9-pre1.bb as it includes ffmpeg.inc too.

---
 recipes/ffmpeg/ffmpeg.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/ffmpeg/ffmpeg.inc +2 -0
index cd330f8..437a822 100644
@@ -61,6 +61,8 @@ do_stage() {
            install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/ffmpeg/$h
            install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/libavutil/$h 
         done
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/ffmpeg/
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/libavutil/
 
         install -d ${STAGING_INCDIR}/libswscale/ 
         install -m 0644 ${S}/libswscale/*.h ${STAGING_INCDIR}/ffmpeg/
Signature · 1 line
1.7.0
#1 lore raw

2010/3/16 Paul Menzel <[email protected]>:

Quoted 20 lines

This header is needed for libvalhalla.

---
Could someone please test this with ffmpeg_0.4.9-pre1.bb as it includes ffmpeg.inc too.
---
 recipes/ffmpeg/ffmpeg.inc |    2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/ffmpeg/ffmpeg.inc +0 -0
index cd330f8..437a822 100644
@@ -61,6 +61,8 @@ do_stage() {

           install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/ffmpeg/$h install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/libavutil/$h done
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/ffmpeg/
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/libavutil/

Quoted 5 lines

        install -d ${STAGING_INCDIR}/libswscale/
        install -m 0644 ${S}/libswscale/*.h ${STAGING_INCDIR}/ffmpeg/ --
1.7.0

It might be better to try to move to the new default staging (by removing the do_stage and testing whether it installs the required things in staging).

FM

#2 lore raw
Quoted 21 lines · Frans Meulenbroeks

2010/3/16 Paul Menzel <[email protected]>:

Quoted 20 lines

This header is needed for libvalhalla.

---
Could someone please test this with ffmpeg_0.4.9-pre1.bb as it includes ffmpeg.inc too.
---
 recipes/ffmpeg/ffmpeg.inc |    2 ++

 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/ffmpeg/ffmpeg.inc +0 -0
index cd330f8..437a822 100644
@@ -61,6 +61,8 @@ do_stage() {

           install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/ffmpeg/$h install -m 0644 ${S}/libavutil/$h        ${STAGING_INCDIR}/libavutil/$h done
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/ffmpeg/
+        install -m 0644 ${B}/libavutil/avconfig.h ${STAGING_INCDIR}/libavutil/

Quoted 9 lines
Quoted 5 lines

        install -d ${STAGING_INCDIR}/libswscale/
        install -m 0644 ${S}/libswscale/*.h ${STAGING_INCDIR}/ffmpeg/ --
1.7.0

It might be better to try to move to the new default staging (by removing the do_stage and testing whether it installs the required things in staging).

I agree it would be better, but right now it fixes mplayer build, so I would like to push it as-is + INC_PR bump.

Regards,

Signature · 3 lines
uin:136542059                jid:[email protected]
Jansa Martin                 sip:[email protected] 
JaMa