summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2007-03-25 17:41:40 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2007-03-25 17:41:40 +0000
commit66354e1b8629c7e50578c3ba93f97aae3a1ad119 (patch)
treeaf5738d152bf2c18aa8cb57e4e835055f68ffa0c /media-plugins/vdr-mplayer
parentInitial ebuild, should be pretty identical to bcprov ebuild. Ideal to keep bo... (diff)
downloadgentoo-2-66354e1b8629c7e50578c3ba93f97aae3a1ad119.tar.gz
gentoo-2-66354e1b8629c7e50578c3ba93f97aae3a1ad119.tar.bz2
gentoo-2-66354e1b8629c7e50578c3ba93f97aae3a1ad119.zip
patch added; ready for VDR-1.5.x
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-plugins/vdr-mplayer')
-rw-r--r--media-plugins/vdr-mplayer/ChangeLog6
-rw-r--r--media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.15-vdr-1.5.1.patch63
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild5
3 files changed, 71 insertions, 3 deletions
diff --git a/media-plugins/vdr-mplayer/ChangeLog b/media-plugins/vdr-mplayer/ChangeLog
index 8cc6226c6c43..3cc6457e10d9 100644
--- a/media-plugins/vdr-mplayer/ChangeLog
+++ b/media-plugins/vdr-mplayer/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-mplayer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.14 2007/01/05 16:38:29 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.15 2007/03/25 17:41:40 hd_brummy Exp $
+
+ 25 Mar 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-mplayer-0.9.15-vdr-1.5.1.patch, vdr-mplayer-0.9.15.ebuild:
+ patch added; ready for VDR-1.5.x
05 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-mplayer-0.9.14-r2.ebuild, vdr-mplayer-0.9.15.ebuild:
diff --git a/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.15-vdr-1.5.1.patch b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.15-vdr-1.5.1.patch
new file mode 100644
index 000000000000..50a14f47756b
--- /dev/null
+++ b/media-plugins/vdr-mplayer/files/vdr-mplayer-0.9.15-vdr-1.5.1.patch
@@ -0,0 +1,63 @@
+http://www.vdr-portal.de/board/thread.php?postid=565407#post565407
+diff -urN mp3-0.9.15/mp3.c mp3-unstable/mp3.c
+--- mp3-0.9.15/mp3.c 2006-08-30 17:39:24.000000000 +0200
++++ mp3-unstable/mp3.c 2007-01-15 18:33:56.000000000 +0100
+@@ -342,7 +342,12 @@
+ #else
+ Interface->Close();
+ #endif
+- needsFastResponse=visible=bigwin=false;
++ visible=bigwin=false;
++#if APIVERSNUM >= 10500
++ SetNeedsFastResponse(false);
++#else
++ needsFastResponse=false;
++#endif
+ }
+ }
+
+@@ -502,7 +507,12 @@
+ #endif
+ ShowStatus(true);
+ bigwin=bigWin;
+- needsFastResponse=visible=true;
++ visible=true;
++#if APIVERSNUM >= 10500
++ SetNeedsFastResponse(true);
++#else
++ needsFastResponse=true;
++#endif
+ fliptime=listtime=0; flipint=0; flip=-1; top=lastTop=-1; lastIndex=lastTotal=-1;
+ delete lastMode; lastMode=0;
+ }
+diff -urN mp3-0.9.15/mplayer.c mp3-unstable/mplayer.c
+--- mp3-0.9.15/mplayer.c 2006-09-19 20:18:13.000000000 +0200
++++ mp3-unstable/mplayer.c 2007-01-15 18:33:56.000000000 +0100
+@@ -232,7 +233,12 @@
+ #else
+ Interface->Close();
+ #endif
+- needsFastResponse=visible=modeOnly=false;
++ visible=modeOnly=false;
++#if APIVERSNUM >= 10500
++ SetNeedsFastResponse(false);
++#else
++ needsFastResponse=false;
++#endif
+ }
+ }
+
+@@ -303,7 +309,12 @@
+ Interface->Clear();
+ if(MPlayerSetup.OsdPos>0) Interface->Fill(0,3,Interface->Width(),MPlayerSetup.OsdPos,clrTransparent);
+ #endif
+- needsFastResponse=visible=true; modeOnly=false;
++ visible=true; modeOnly=false;
++#if APIVERSNUM >= 10500
++ SetNeedsFastResponse(true);
++#else
++ needsFastResponse=true;
++#endif
+ lastCurrent=lastTotal=-1;
+ flush=true;
+ }
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild
index 3aabe4cc207b..a17f555dae68 100644
--- a/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild
+++ b/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild,v 1.6 2007/01/05 16:38:29 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.9.15.ebuild,v 1.7 2007/03/25 17:41:40 hd_brummy Exp $
inherit vdr-plugin eutils
@@ -22,7 +22,8 @@ RDEPEND="${DEPEND}
S=${WORKDIR}/mp3-${PV}
PATCHES="${FILESDIR}/${P}-gentoo.diff
- ${FILESDIR}/${P}-slave-mode-default.diff"
+ ${FILESDIR}/${P}-slave-mode-default.diff
+ ${FILESDIR}/${P}-vdr-1.5.1.patch"
src_install() {