summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2008-03-29 13:46:12 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2008-03-29 13:46:12 +0000
commita8afafb2d27d8f540d9b5529bf9eeaee0834f982 (patch)
treef7dacd620f023688a306f5c68e405eedecefc9bb /media-plugins
parentamd64 stable (diff)
downloadgentoo-2-a8afafb2d27d8f540d9b5529bf9eeaee0834f982.tar.gz
gentoo-2-a8afafb2d27d8f540d9b5529bf9eeaee0834f982.tar.bz2
gentoo-2-a8afafb2d27d8f540d9b5529bf9eeaee0834f982.zip
patch to fix new ffmpeg header structur added; bug #214740
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-graphtft/ChangeLog9
-rw-r--r--media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff71
-rw-r--r--media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild8
3 files changed, 84 insertions, 4 deletions
diff --git a/media-plugins/vdr-graphtft/ChangeLog b/media-plugins/vdr-graphtft/ChangeLog
index 10885847bcaf..4665e7dc32f4 100644
--- a/media-plugins/vdr-graphtft/ChangeLog
+++ b/media-plugins/vdr-graphtft/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/vdr-graphtft
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.1 2007/12/23 22:05:09 hd_brummy Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/ChangeLog,v 1.2 2008/03/29 13:46:11 hd_brummy Exp $
+
+ 29 Mar 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/ffmpeg-0.4.9_p20080326-new_header.diff,
+ vdr-graphtft-0.1.16_alpha.ebuild:
+ patch to fix new ffmpeg header structur added; bug #214740
*vdr-graphtft-0.1.16_alpha (23 Dec 2007)
diff --git a/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff b/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff
new file mode 100644
index 000000000000..660cb9fbb639
--- /dev/null
+++ b/media-plugins/vdr-graphtft/files/ffmpeg-0.4.9_p20080326-new_header.diff
@@ -0,0 +1,71 @@
+new ffmpeg header structur
+https://bugs.gentoo.org/show_bug.cgi?id=214740
+Joerg Bornkessel <hd_brummy@gentoo.org> 29 Mar 2008
+diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c graphtft-0.1.16.alpha/imlibrenderer/dvbrenderer/mpeg2encoder.c
+--- graphtft-0.1.16.alpha.orig/imlibrenderer/dvbrenderer/mpeg2encoder.c 2008-03-29 14:28:15.000000000 +0100
++++ graphtft-0.1.16.alpha/imlibrenderer/dvbrenderer/mpeg2encoder.c 2008-03-29 14:30:07.000000000 +0100
+@@ -23,10 +23,10 @@
+
+ extern "C"
+ {
+-#include <avcodec.h>
++#include <libavcodec/avcodec.h>
+
+ #ifdef HAVE_SWSCALE
+-# include <swscale.h>
++# include <libswscale/swscale.h>
+ #endif
+ }
+
+diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/fbrenderer.c graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/fbrenderer.c
+--- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/fbrenderer.c 2008-03-29 14:28:15.000000000 +0100
++++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/fbrenderer.c 2008-03-29 14:30:33.000000000 +0100
+@@ -31,7 +31,7 @@
+ #include <stdlib.h>
+
+ #include <fbrenderer.h>
+-#include <avcodec.h>
++#include <libavcodec/avcodec.h>
+ //#include <mpeg2decoder.h>
+ #include <common.h>
+ #include <setup.h>
+diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.c graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.c
+--- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.c 2008-03-29 14:28:15.000000000 +0100
++++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.c 2008-03-29 14:31:00.000000000 +0100
+@@ -23,10 +23,10 @@
+
+ extern "C"
+ {
+-#include <avcodec.h>
++#include <libavcodec/avcodec.h>
+
+ # ifdef HAVE_SWSCALE
+-# include <swscale.h>
++# include <libswscale/swscale.h>
+ # endif
+ }
+
+diff -Naur graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.h graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.h
+--- graphtft-0.1.16.alpha.orig/imlibrenderer/fbrenderer/mpeg2decoder.h 2008-03-29 14:28:15.000000000 +0100
++++ graphtft-0.1.16.alpha/imlibrenderer/fbrenderer/mpeg2decoder.h 2008-03-29 14:31:14.000000000 +0100
+@@ -19,7 +19,7 @@
+
+ extern "C"
+ {
+-#include <avcodec.h>
++#include <libavcodec/avcodec.h>
+ }
+ #include <vdr/plugin.h>
+ #include <vdr/ringbuffer.h>
+diff -Naur graphtft-0.1.16.alpha.orig/Makefile graphtft-0.1.16.alpha/Makefile
+--- graphtft-0.1.16.alpha.orig/Makefile 2008-03-29 14:28:15.000000000 +0100
++++ graphtft-0.1.16.alpha/Makefile 2008-03-29 14:28:32.000000000 +0100
+@@ -11,7 +11,7 @@
+ # You will need ffmpeg for dvb/fb-devices and for softmpeg,
+ # so install it and set path below:
+
+-FFMDIR = /usr/include/ffmpeg
++FFMDIR = /usr/include
+
+ #
+ # Install imlib2 and uncomment the lines
diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild
index 80bf14a53fd7..8166f8dfc6f2 100644
--- a/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild
+++ b/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild,v 1.1 2007/12/23 22:05:09 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.1.16_alpha.ebuild,v 1.2 2008/03/29 13:46:11 hd_brummy Exp $
MY_PV="${PV/_alpha/.alpha}"
MY_P="${PN}-${MY_PV}"
@@ -53,6 +53,10 @@ src_unpack() {
sed -i Makefile -e "s:#HAVE_SWSCALE:HAVE_SWSCALE:"
fi
+ if has_version ">=media-video/ffmpeg-0.4.9_p20080326" ; then
+ epatch "${FILESDIR}/ffmpeg-0.4.9_p20080326-new_header.diff"
+ fi
+
use directfb && sed -i Makefile \
-e "s:#HAVE_DFB = 1:HAVE_DFB = 1:"