diff options
| author | Richard Purdie <richard@openedhand.com> | 2008-04-14 23:03:34 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2008-04-14 23:03:34 +0000 |
| commit | 782b9d4bef6dbc886219b31b7877c33527277e94 (patch) | |
| tree | 4b83c42a4b9461aa340f3b1ed99c89192e0e2f56 /meta/packages/gstreamer | |
| parent | 9bedb92e21cecfcc653078531f4389003abea82c (diff) | |
| download | poky-782b9d4bef6dbc886219b31b7877c33527277e94.tar.gz | |
gst-ffmpeg: Patch out beos bits from ffmpeg which break libtool 2.2.2
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4263 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gstreamer')
| -rw-r--r-- | meta/packages/gstreamer/gst-ffmpeg-0.10.1/no_beos.patch | 55 | ||||
| -rw-r--r-- | meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb | 3 |
2 files changed, 57 insertions, 1 deletions
diff --git a/meta/packages/gstreamer/gst-ffmpeg-0.10.1/no_beos.patch b/meta/packages/gstreamer/gst-ffmpeg-0.10.1/no_beos.patch new file mode 100644 index 0000000000..9ffcafff73 --- /dev/null +++ b/meta/packages/gstreamer/gst-ffmpeg-0.10.1/no_beos.patch | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | The AC_LANG sections upset libtool 2.2.2, easiest fix is to remove them. | ||
| 2 | Using a .cpp file in a Makefile means configure.ac must use AC_PROG_CXX | ||
| 3 | so patch out the section from the makefile too. | ||
| 4 | |||
| 5 | RP - 14/4/08 | ||
| 6 | |||
| 7 | Index: gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg/configure.ac | ||
| 8 | =================================================================== | ||
| 9 | --- gst-ffmpeg-0.10.1.orig/gst-libs/ext/ffmpeg/configure.ac 2008-04-14 23:55:25.000000000 +0100 | ||
| 10 | +++ gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg/configure.ac 2008-04-14 23:56:18.000000000 +0100 | ||
| 11 | @@ -742,26 +742,7 @@ | ||
| 12 | |||
| 13 | dnl Beos Audio | ||
| 14 | AC_FF_ALLOW_DISABLE(CONFIG_AUDIO_BEOS, audio-beos, BeOS audio support,[ | ||
| 15 | - if test x$TARGET_OS = xbeos; then | ||
| 16 | - AC_LANG_CPLUSPLUS | ||
| 17 | - AC_CHECK_HEADER(SoundPlayer.h,[ | ||
| 18 | - OLD_CXXFLAGS="$CXXFLAGS" | ||
| 19 | - CXXFLAGS="$CXXFLAGS -lbe -lmedia" | ||
| 20 | - AC_MSG_CHECKING(For BeOS audio libraries) | ||
| 21 | - AC_TRY_COMPILE([ | ||
| 22 | -#include <Application.h> | ||
| 23 | -#include <SoundPlayer.h> | ||
| 24 | - ],[ | ||
| 25 | - BSoundPlayer *p = new BSoundPlayer(NULL,NULL,NULL); | ||
| 26 | - ],[ CONFIG_AUDIO_BEOS=yes && AC_MSG_RESULT(yes) ],[ | ||
| 27 | - CONFIG_AUDIO_BEOS=no && AC_MSG_RESULT(no) | ||
| 28 | - ]) | ||
| 29 | - CXXFLAGS="$OLD_CXXFLAGS" | ||
| 30 | - ], CONFIG_AUDIO_BEOS=no) | ||
| 31 | - AC_LANG_C | ||
| 32 | - else | ||
| 33 | CONFIG_AUDIO_BEOS=no | ||
| 34 | - fi | ||
| 35 | ]) | ||
| 36 | |||
| 37 | dnl Check for freetype2, used in vook/libdrawtext.so | ||
| 38 | Index: gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg/libavformat/Makefile.am | ||
| 39 | =================================================================== | ||
| 40 | --- gst-ffmpeg-0.10.1.orig/gst-libs/ext/ffmpeg/libavformat/Makefile.am 2008-04-14 23:58:44.000000000 +0100 | ||
| 41 | +++ gst-ffmpeg-0.10.1/gst-libs/ext/ffmpeg/libavformat/Makefile.am 2008-04-14 23:58:55.000000000 +0100 | ||
| 42 | @@ -24,13 +24,6 @@ | ||
| 43 | audiooss_SRC = audio.c | ||
| 44 | endif | ||
| 45 | |||
| 46 | -if CONFIG_AUDIO_BEOS | ||
| 47 | -audiobeos_SRC = beosaudio.cpp | ||
| 48 | -audiobeos_LIBS = \ | ||
| 49 | - -lbe \ | ||
| 50 | - -lmedia | ||
| 51 | -endif | ||
| 52 | - | ||
| 53 | if CONFIG_VIDEO4LINUX | ||
| 54 | v4l_SRC = grab.c v4l2.c | ||
| 55 | endif | ||
diff --git a/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb b/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb index 1ffffc4919..f6ff3270b3 100644 --- a/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb +++ b/meta/packages/gstreamer/gst-ffmpeg_0.10.1.bb | |||
| @@ -4,11 +4,12 @@ PRIORITY = "optional" | |||
| 4 | LICENSE = "LGPL" | 4 | LICENSE = "LGPL" |
| 5 | HOMEPAGE = "http://www.gstreamer.net/" | 5 | HOMEPAGE = "http://www.gstreamer.net/" |
| 6 | DEPENDS = "gstreamer zlib gst-plugins-base" | 6 | DEPENDS = "gstreamer zlib gst-plugins-base" |
| 7 | PR = "r2" | 7 | PR = "r3" |
| 8 | 8 | ||
| 9 | inherit autotools pkgconfig | 9 | inherit autotools pkgconfig |
| 10 | 10 | ||
| 11 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \ | 11 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2 \ |
| 12 | file://no_beos.patch;patch=1 \ | ||
| 12 | file://configure_fix.patch;patch=1" | 13 | file://configure_fix.patch;patch=1" |
| 13 | 14 | ||
| 14 | FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" | 15 | FILES_${PN} += "${libdir}/gstreamer-0.10/*.so" |
