From 246c2f32bd0fc8f6aebcbf68158de4314663b0a5 Mon Sep 17 00:00:00 2001 From: Ricardo Salveti de Araujo Date: Tue, 10 Nov 2009 16:59:49 -0300 Subject: [PATCH 117/118] mpeg4ip-1.5.0.1: adding recipe Signed-off-by: Ricardo Salveti de Araujo --- .../mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch | 80 ++++++++++++++++++++ .../mpeg4ip-1.5.0.1-ffmpeg-headers.patch | 74 ++++++++++++++++++ .../mpeg4ip-1.5.0.1-newffmpeg.patch | 22 ++++++ .../mpeg4ip-1.5.0.1-swscale_and_lavc.patch | 65 ++++++++++++++++ .../mpeg4ip-fix-macro-not-found.patch | 29 +++++++ .../mpeg4ip-1.5.0.1/remove_check_file.patch | 61 +++++++++++++++ .../mpeg4ip/mpeg4ip-1.5.0.1/remove_werror.patch | 45 +++++++++++ recipes/mpeg4ip/mpeg4ip_1.5.0.1.bb | 37 +++++++++ 8 files changed, 413 insertions(+), 0 deletions(-) create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-ffmpeg-headers.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-newffmpeg.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-swscale_and_lavc.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-fix-macro-not-found.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_check_file.patch create mode 100644 recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_werror.patch create mode 100644 recipes/mpeg4ip/mpeg4ip_1.5.0.1.bb diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch new file mode 100644 index 0000000..6fdbd4e --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch @@ -0,0 +1,80 @@ +--- mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.h.unpatched 2008-06-21 14:21:58.000000000 +0900 ++++ mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.h 2008-06-21 14:23:16.000000000 +0900 +@@ -25,9 +25,13 @@ + #define __MPEG4IP_FFMPEG_H__ 1 + #include "codec_plugin.h" + #ifdef HAVE_FFMPEG_INSTALLED ++extern "C" { + #include ++} + #else ++extern "C" { + #include ++} + #endif + + DECLARE_CONFIG(CONFIG_USE_FFMPEG_AUDIO); +--- mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h.unpatched 2008-06-21 14:21:58.000000000 +0900 ++++ mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h 2008-06-21 14:23:26.000000000 +0900 +@@ -25,9 +25,13 @@ + #define __MPEG4IP_FFMPEG_H__ 1 + #include "codec_plugin.h" + #ifdef HAVE_FFMPEG_INSTALLED ++extern "C" { + #include ++} + #else ++extern "C" { + #include ++} + #endif + #include + +--- mpeg4ip-1.5.0.1/server/mp4live/audio_ffmpeg.h.unpatched 2007-11-24 09:07:06.000000000 +0100 ++++ mpeg4ip-1.5.0.1/server/mp4live/audio_ffmpeg.h 2007-11-24 09:11:03.000000000 +0100 +@@ -24,9 +24,13 @@ + + #include "audio_encoder.h" + #ifdef HAVE_FFMPEG_INSTALLED ++extern "C" { + #include ++} + #else ++extern "C" { + #include ++} + #endif + #include + +--- mpeg4ip-1.5.0.1/server/mp4live/video_ffmpeg.h.unpatched 2007-11-24 09:09:04.000000000 +0100 ++++ mpeg4ip-1.5.0.1/server/mp4live/video_ffmpeg.h 2007-11-24 09:10:18.000000000 +0100 +@@ -24,9 +24,13 @@ + + #include "video_encoder.h" + #ifdef HAVE_FFMPEG_INSTALLED ++extern "C" { + #include ++} + #else ++extern "C" { + #include ++} + #endif + + class CFfmpegVideoEncoder : public CVideoEncoder { +--- mpeg4ip-1.5.0.1/server/mp4live/video_encoder_class.cpp.unpatched 2007-11-24 09:11:51.000000000 +0100 ++++ mpeg4ip-1.5.0.1/server/mp4live/video_encoder_class.cpp 2007-11-24 09:12:17.000000000 +0100 +@@ -26,9 +26,13 @@ + #include "video_util_filter.h" + #ifdef HAVE_FFMPEG + #ifdef HAVE_FFMPEG_INSTALLED ++extern "C" { + #include ++} + #else ++extern "C" { + #include ++} + #endif + #endif + diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-ffmpeg-headers.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-ffmpeg-headers.patch new file mode 100644 index 0000000..85790f1 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-ffmpeg-headers.patch @@ -0,0 +1,74 @@ +diff -urN mpeg4ip-1.5.0.1-orig/configure.in mpeg4ip-1.5.0.1/configure.in +--- mpeg4ip-1.5.0.1-orig/configure.in 2006-06-09 04:15:16.000000000 +0900 ++++ mpeg4ip-1.5.0.1/configure.in 2008-06-21 13:44:38.000000000 +0900 +@@ -495,8 +495,8 @@ + AC_DEFINE(HAVE_FFMPEG_INSTALLED, 1, [defined if ffmpeg is installed]) + FFMPEG_INC= + FFMPEG_LIB="-lavcodec -lz $ffmpeg_add_libs" +- AC_CHECK_TYPES([AVRational], , , [#include ]) +- AC_CHECK_MEMBERS(AVCodecContext.time_base, , , [#include ]) ++ AC_CHECK_TYPES([AVRational], , , [#include ]) ++ AC_CHECK_MEMBERS(AVCodecContext.time_base, , , [#include ]) + AC_DEFINE(HAVE_FFMPEG, 1, [enable ffmpeg for mp4live]) + fi + fi +diff -urN mpeg4ip-1.5.0.1-orig/player/plugin/audio/ffmpeg/ffmpeg.h mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.h +--- mpeg4ip-1.5.0.1-orig/player/plugin/audio/ffmpeg/ffmpeg.h 2004-10-12 06:26:46.000000000 +0900 ++++ mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.h 2008-06-21 13:45:35.000000000 +0900 +@@ -25,7 +25,7 @@ + #define __MPEG4IP_FFMPEG_H__ 1 + #include "codec_plugin.h" + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +diff -urN mpeg4ip-1.5.0.1-orig/player/plugin/video/ffmpeg/ffmpeg.h mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h +--- mpeg4ip-1.5.0.1-orig/player/plugin/video/ffmpeg/ffmpeg.h 2005-04-06 03:04:46.000000000 +0900 ++++ mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h 2008-06-21 13:47:48.000000000 +0900 +@@ -25,7 +25,7 @@ + #define __MPEG4IP_FFMPEG_H__ 1 + #include "codec_plugin.h" + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +diff -urN mpeg4ip-1.5.0.1-orig/server/mp4live/audio_ffmpeg.h mpeg4ip-1.5.0.1/server/mp4live/audio_ffmpeg.h +--- mpeg4ip-1.5.0.1-orig/server/mp4live/audio_ffmpeg.h 2005-09-15 08:15:42.000000000 +0900 ++++ mpeg4ip-1.5.0.1/server/mp4live/audio_ffmpeg.h 2008-06-21 13:48:21.000000000 +0900 +@@ -24,7 +24,7 @@ + + #include "audio_encoder.h" + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +diff -urN mpeg4ip-1.5.0.1-orig/server/mp4live/video_encoder_class.cpp mpeg4ip-1.5.0.1/server/mp4live/video_encoder_class.cpp +--- mpeg4ip-1.5.0.1-orig/server/mp4live/video_encoder_class.cpp 2006-03-11 06:40:57.000000000 +0900 ++++ mpeg4ip-1.5.0.1/server/mp4live/video_encoder_class.cpp 2008-06-21 13:48:31.000000000 +0900 +@@ -26,7 +26,7 @@ + #include "video_util_filter.h" + #ifdef HAVE_FFMPEG + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif +diff -urN mpeg4ip-1.5.0.1-orig/server/mp4live/video_ffmpeg.h mpeg4ip-1.5.0.1/server/mp4live/video_ffmpeg.h +--- mpeg4ip-1.5.0.1-orig/server/mp4live/video_ffmpeg.h 2005-09-09 02:40:36.000000000 +0900 ++++ mpeg4ip-1.5.0.1/server/mp4live/video_ffmpeg.h 2008-06-21 13:48:13.000000000 +0900 +@@ -24,7 +24,7 @@ + + #include "video_encoder.h" + #ifdef HAVE_FFMPEG_INSTALLED +-#include ++#include + #else + #include + #endif diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-newffmpeg.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-newffmpeg.patch new file mode 100644 index 0000000..97678d3 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-newffmpeg.patch @@ -0,0 +1,22 @@ +--- player/plugin/audio/ffmpeg/ffmpeg.cpp.orig 2006-11-18 12:34:36.000000000 -0500 ++++ player/plugin/audio/ffmpeg/ffmpeg.cpp 2006-11-18 12:34:50.000000000 -0500 +@@ -166,7 +166,7 @@ + break; + } + if (userdata) { +- ffmpeg->m_c->extradata = (void *)userdata; ++ ffmpeg->m_c->extradata = const_cast(userdata); + ffmpeg->m_c->extradata_size = ud_size; + } + if (avcodec_open(ffmpeg->m_c, ffmpeg->m_codec) < 0) { +--- player/plugin/video/ffmpeg/ffmpeg.cpp.orig 2006-11-18 14:48:11.000000000 -0500 ++++ player/plugin/video/ffmpeg/ffmpeg.cpp 2006-11-18 14:49:22.000000000 -0500 +@@ -255,7 +255,7 @@ + } + break; + case CODEC_ID_SVQ3: +- ffmpeg->m_c->extradata = (void *)userdata; ++ ffmpeg->m_c->extradata = const_cast(userdata); + ffmpeg->m_c->extradata_size = ud_size; + if (vinfo != NULL) { + ffmpeg->m_c->width = vinfo->width; diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-swscale_and_lavc.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-swscale_and_lavc.patch new file mode 100644 index 0000000..dbd4f65 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-1.5.0.1-swscale_and_lavc.patch @@ -0,0 +1,65 @@ +--- mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.cpp.orig 2008-10-15 20:28:08.000000000 -0700 ++++ mpeg4ip-1.5.0.1/player/plugin/audio/ffmpeg/ffmpeg.cpp 2008-10-15 20:31:06.000000000 -0700 +@@ -214,7 +214,8 @@ + uint32_t freq_ts = pts->audio_freq_timestamp; + + do { +- used = avcodec_decode_audio(ffmpeg->m_c, (short *)ffmpeg->m_outbuf, ++ outsize=AVCODEC_MAX_AUDIO_FRAME_SIZE; ++ used = avcodec_decode_audio2(ffmpeg->m_c, (short *)ffmpeg->m_outbuf, + &outsize, buffer, left); + if (used < 0) { + ffmpeg_message(LOG_DEBUG, "ffmpeg", "failed to decode at "U64, +--- mpeg4ip-1.5.0.1/configure.in.orig 2008-10-15 12:39:56.000000000 -0700 ++++ mpeg4ip-1.5.0.1/configure.in 2008-10-15 12:42:39.000000000 -0700 +@@ -509,7 +509,7 @@ + if test x$have_ffmpeg = xtrue; then + AC_DEFINE(HAVE_FFMPEG_INSTALLED, 1, [defined if ffmpeg is installed]) + FFMPEG_INC= +- FFMPEG_LIB="-lavcodec -lz $ffmpeg_add_libs" ++ FFMPEG_LIB="-lavcodec -lswscale -lz $ffmpeg_add_libs" + AC_CHECK_TYPES([AVRational], , , [#include ]) + AC_CHECK_MEMBERS(AVCodecContext.time_base, , , [#include ]) + AC_DEFINE(HAVE_FFMPEG, 1, [enable ffmpeg for mp4live]) +--- mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h.orig 2008-10-15 12:33:59.000000000 -0700 ++++ mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.h 2008-10-15 12:34:10.000000000 -0700 +@@ -27,6 +27,7 @@ + #ifdef HAVE_FFMPEG_INSTALLED + extern "C" { + #include ++#include + } + #else + extern "C" { +--- mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.cpp.orig 2008-10-15 12:16:22.000000000 -0700 ++++ mpeg4ip-1.5.0.1/player/plugin/video/ffmpeg/ffmpeg.cpp 2008-10-15 12:27:22.000000000 -0700 +@@ -565,10 +565,25 @@ + from.data[ix] = ffmpeg->m_picture->data[ix]; + from.linesize[ix] = ffmpeg->m_picture->linesize[ix]; + } +- +- img_convert(&to, PIX_FMT_YUV420P, +- &from, ffmpeg->m_c->pix_fmt, +- ffmpeg->m_c->width, ffmpeg->m_c->height); ++ ++ SwsContext *img_cvt_ctx; ++ img_cvt_ctx = sws_getContext(ffmpeg->m_c->width, ++ ffmpeg->m_c->height, ++ ffmpeg->m_c->pix_fmt, ++ ffmpeg->m_c->width, ++ ffmpeg->m_c->height, ++ PIX_FMT_YUV420P, ++ SWS_BICUBIC, ++ 0, 0, 0); ++ sws_scale(img_cvt_ctx, ++ from.data, ++ from.linesize, ++ 0, ++ ffmpeg->m_c->height, ++ to.data, ++ to.linesize); ++ sws_freeContext(img_cvt_ctx); ++ + ffmpeg->m_vft->video_filled_buffer(ffmpeg->m_ifptr, + ffmpeg->have_cached_ts ? + ffmpeg->cached_ts : ts); diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-fix-macro-not-found.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-fix-macro-not-found.patch new file mode 100644 index 0000000..ba7e94a --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/mpeg4ip-fix-macro-not-found.patch @@ -0,0 +1,29 @@ +From 5f59d1da418d7f4ffca4f0c4f1dbe48fb42e1c74 Mon Sep 17 00:00:00 2001 +From: Francisco Alecrim +Date: Tue, 18 Nov 2008 16:59:33 -0400 +Subject: [PATCH] mpeg4ip: fix macro not found + +Remove macro AM_PATH_GTK_2_0 not found + +Signed-off-by: Francisco Alecrim +--- + configure.in | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/configure.in b/configure.in +index 68964d0..8930d86 100644 +--- a/configure.in ++++ b/configure.in +@@ -641,7 +641,8 @@ glib_gtk=no + if test x$disable_gtk_glib = xno; then + AM_PATH_GLIB_2_0(, [haveglib20=yes], [haveglib20=no]) + if test x$haveglib20 = xyes; then +- AM_PATH_GTK_2_0(, [havegtk20=yes], [havegtk20=no]) ++ #AM_PATH_GTK_2_0(, [havegtk20=yes], [havegtk20=no]) ++ havegtk20=no + if test x$havegtk20 = xyes; then + AC_DEFINE(HAVE_GTK_2_0, 1, [Have GTK 2.0 on system]) + AC_DEFINE(HAVE_GTK, 1, [Have GTK on system]) +-- +1.5.4.3 + diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_check_file.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_check_file.patch new file mode 100644 index 0000000..5543821 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_check_file.patch @@ -0,0 +1,61 @@ +diff --git a/configure.in b/configure.in +index 68964d0..70d8d94 100644 +--- a/configure.in ++++ b/configure.in +@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. + AC_INIT(mpeg4ip, 1.5.0.1) + AM_CONFIG_HEADER(mpeg4ip_config.h) + dnl Prevent user from running just ./configure +-AC_CHECK_FILE(./bootstrapped, [did_bootstrap=yes], [did_bootstrap=no]) ++#AC_CHECK_FILE(./bootstrapped, [did_bootstrap=yes], [did_bootstrap=no]) + if test x$did_bootstrap = xno; then + AC_MSG_ERROR([Please run bootstrap first]) + exit -1 +@@ -416,20 +416,20 @@ if test x$enable_mp4live = xyes; then + #include ]) + if test x$have_mp4live = xfalse; then + KERNEL_VERSION=`uname -r` +- AC_CHECK_FILE(/lib/modules/$KERNEL_VERSION/build/include/linux/videodev2.h, +- [AC_MSG_WARN([]) +- AC_MSG_WARN([]) +- AC_MSG_WARN([We cannot locate videodev2.h in /usr/include/linux]) +- AC_MSG_WARN([]) +- AC_MSG_WARN([This file is responsible for V4L2 in mp4live]) +- AC_MSG_WARN([This file is correct in /lib/modules/$KERNEL_VERSION/build/include]) +- AC_MSG_WARN([It is recommended that you copy this file and videodev.h to /usr/include/linux and re-run bootstrap]) +- AC_MSG_WARN([You may also have to have to copy compiler.h, as well]) +- AC_MSG_WARN([]) +- AC_MSG_WARN([This is known to happen on Fedora Core systems]) +- AC_MSG_WARN([Mp4live has been disabled]) +- AC_MSG_WARN([]) +- ]) ++# AC_CHECK_FILE(/lib/modules/$KERNEL_VERSION/build/include/linux/videodev2.h, ++# [AC_MSG_WARN([]) ++# AC_MSG_WARN([]) ++# AC_MSG_WARN([We cannot locate videodev2.h in /usr/include/linux]) ++# AC_MSG_WARN([]) ++# AC_MSG_WARN([This file is responsible for V4L2 in mp4live]) ++# AC_MSG_WARN([This file is correct in /lib/modules/$KERNEL_VERSION/build/include]) ++# AC_MSG_WARN([It is recommended that you copy this file and videodev.h to /usr/include/linux and re-run bootstrap]) ++# AC_MSG_WARN([You may also have to have to copy compiler.h, as well]) ++# AC_MSG_WARN([]) ++# AC_MSG_WARN([This is known to happen on Fedora Core systems]) ++# AC_MSG_WARN([Mp4live has been disabled]) ++# AC_MSG_WARN([]) ++# ]) + fi + ;; + *) +diff --git a/lib/rtp/configure.in b/lib/rtp/configure.in +index 07dcd6f..35621bc 100644 +--- a/lib/rtp/configure.in ++++ b/lib/rtp/configure.in +@@ -91,7 +91,7 @@ fi + + ############################################################################### + # The following causes autoconf to complain. +-AC_CHECK_FILE(/dev/urandom,AC_DEFINE(HAVE_DEV_URANDOM)) ++#AC_CHECK_FILE(/dev/urandom,AC_DEFINE(HAVE_DEV_URANDOM)) + + # If more files than mbus.c use vsnprintf, split it out into + # vsnprintf.c and add it to AC_REPLACE_FUNCS diff --git a/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_werror.patch b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_werror.patch new file mode 100644 index 0000000..d8db4d6 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip-1.5.0.1/remove_werror.patch @@ -0,0 +1,45 @@ +diff --git a/lib/rtp/configure.in b/lib/rtp/configure.in +index 35621bc..4ed99ed 100644 +--- a/lib/rtp/configure.in ++++ b/lib/rtp/configure.in +@@ -244,8 +244,8 @@ AC_DEFUN([MY_CHECK_CC_OPT], + [ + save_CFLAG="$CFLAGS" + save_CXXFLAG="$CXXFLAGS" +-CFLAGS="$CFLAGS -Werror $1" +-CXXFLAGS="$CXXFLAGS -Werror $1" ++#CFLAGS="$CFLAGS -Werror $1" ++#CXXFLAGS="$CXXFLAGS -Werror $1" + AC_MSG_CHECKING([whether $3 accepts $1]) + AC_COMPILE_IFELSE( + [extern void f(void); void f(void){}], +@@ -268,14 +268,14 @@ AC_ARG_ENABLE(warns-as-err, + [if test x$enableval = xno; then + AC_MSG_NOTICE([compiler warnings will not be errors]) + else +- BASE_ERR="$BASE_ERR -Werror" ++# BASE_ERR="$BASE_ERR -Werror" + AC_MSG_NOTICE([enabling compiler warnings as errors]) + fi + ], + [AC_MSG_NOTICE([compiler warnings will not be errs])]) + + BILLS_CWARNINGS="$BASE_ERR" +-CFLAGS="$CFLAGS -Wall -Werror" ++#CFLAGS="$CFLAGS -Wall -Werror" + MY_CHECK_CC_OPT_SET([-Wmissing-prototypes], BILLS_CWARNINGS, [c compiler]) + MY_CHECK_CC_OPT_SET([-Wmissing-declarations], BILLS_CWARNINGS, [c compiler]) + MY_CHECK_CC_OPT_SET([-Wbad-function-cast], BILLS_CWARNINGS, [c compiler]) +diff --git a/lib/rtp/Makefile.am b/lib/rtp/Makefile.am +index 8e09494..a0da035 100644 +--- a/lib/rtp/Makefile.am ++++ b/lib/rtp/Makefile.am +@@ -77,7 +77,7 @@ EXTRA_DIST = \ + + check_PROGRAMS = test_rtp_client test_rtp_server + +-AM_CFLAGS = -DDEBUG -Wall -Werror ++#AM_CFLAGS = -DDEBUG -Wall -Werror + test_rtp_client_SOURCES = test_rtp_client.c + test_rtp_client_LDADD = libuclmmbase.la -lsrtp + test_rtp_server_SOURCES = test_rtp_server.c diff --git a/recipes/mpeg4ip/mpeg4ip_1.5.0.1.bb b/recipes/mpeg4ip/mpeg4ip_1.5.0.1.bb new file mode 100644 index 0000000..29b57b8 --- /dev/null +++ b/recipes/mpeg4ip/mpeg4ip_1.5.0.1.bb @@ -0,0 +1,37 @@ +LICENSE = "GPL" +SECTION = "libs" +PR = "r6" + +SRC_URI = "http://downloads.sourceforge.net/mpeg4ip/mpeg4ip-1.5.0.1.tar.gz \ + file://remove_check_file.patch;patch=1 \ + file://remove_werror.patch;patch=1 \ + file://mpeg4ip-fix-macro-not-found.patch;patch=1 \ + file://mpeg4ip-1.5.0.1-newffmpeg.patch;patch=1;pnum=0 \ + file://mpeg4ip-1.5.0.1-ffmpeg-headers.patch;patch=1 \ + file://mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch;patch=1 \ + file://mpeg4ip-1.5.0.1-swscale_and_lavc.patch;patch=1 \ + " +EXTRA_OECONF += "--disable-gtk-glib \ + --disable-gtktest \ + --disable-mmx \ + --disable-id3tags \ + --disable-xvid \ + --disable-srtp \ + --disable-x264 \ + " +DEPENDS = "virtual/libsdl esound liba52 libmad mpeg2dec lame faac ffmpeg" + +inherit autotools + +do_stage() { + autotools_stage_all +} + +PACKAGES =+ "libmp4v2" + +FILES_${PN} += "${libdir}/mp4player_plugin/*.so.*" +FILES_${PN}-dev += "${libdir}/mp4player_plugin/*.a \ + ${libdir}/mp4player_plugin/*.la \ + ${libdir}/mp4player_plugin/*.so" +FILES_${PN}-dbg += "${libdir}/mp4player_plugin/.debug" +FILES_libmp4v2 = "${libdir}/libmp4v2.so.*" -- 1.6.3.3