summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2008-01-13 16:44:54 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2008-01-13 16:44:54 +0000
commit9453cd9ed58ef4fbd68b8216845b1e9c27bf4dc2 (patch)
tree284a1b4454a2ba94bdd66e04832c04fb3c044260 /media-plugins/vdr-picselshow
parentDepend on alsa-utils for aconnect wrt #205648 (diff)
downloadhistorical-9453cd9ed58ef4fbd68b8216845b1e9c27bf4dc2.tar.gz
historical-9453cd9ed58ef4fbd68b8216845b1e9c27bf4dc2.tar.bz2
historical-9453cd9ed58ef4fbd68b8216845b1e9c27bf4dc2.zip
initial ebuild; moved from vdr-testing overlay; Thanks to T.Kost
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'media-plugins/vdr-picselshow')
-rw-r--r--media-plugins/vdr-picselshow/ChangeLog12
-rw-r--r--media-plugins/vdr-picselshow/files/digest-vdr-picselshow-0.0.23
-rw-r--r--media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff11
-rw-r--r--media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff51
-rw-r--r--media-plugins/vdr-picselshow/metadata.xml12
-rw-r--r--media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild42
6 files changed, 131 insertions, 0 deletions
diff --git a/media-plugins/vdr-picselshow/ChangeLog b/media-plugins/vdr-picselshow/ChangeLog
new file mode 100644
index 000000000000..fc9fb5d43832
--- /dev/null
+++ b/media-plugins/vdr-picselshow/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for media-plugins/vdr-picselshow
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-picselshow/ChangeLog,v 1.1 2008/01/13 16:44:54 hd_brummy Exp $
+
+*vdr-picselshow-0.0.2 (13 Jan 2008)
+
+ 13 Jan 2008; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +files/vdr-picselshow-0.0.2-gentoo.diff,
+ +files/vdr-picselshow-0.0.2-vdr-1.5.x.diff, +metadata.xml,
+ +vdr-picselshow-0.0.2.ebuild:
+ initial ebuild; moved from vdr-testing overlay; Thanks to T.Kost
+
diff --git a/media-plugins/vdr-picselshow/files/digest-vdr-picselshow-0.0.2 b/media-plugins/vdr-picselshow/files/digest-vdr-picselshow-0.0.2
new file mode 100644
index 000000000000..61e5d73a768f
--- /dev/null
+++ b/media-plugins/vdr-picselshow/files/digest-vdr-picselshow-0.0.2
@@ -0,0 +1,3 @@
+MD5 1d71aa1159f1cdfb897f8f9778e5745c vdr-picselshow-0.0.2.tar.gz 97365
+RMD160 5af94f6743b4892a329cd29587d87fb3d989c81b vdr-picselshow-0.0.2.tar.gz 97365
+SHA256 48cb37a10e9fe946b2a97b986c96fc943f89fb67e2fe5535df98bab1f4802ac7 vdr-picselshow-0.0.2.tar.gz 97365
diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff
new file mode 100644
index 000000000000..a7f50817e069
--- /dev/null
+++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gentoo.diff
@@ -0,0 +1,11 @@
+--- picselshow-0.0.2-orig/picselshow.c 2007-05-17 23:25:57.000000000 +0200
++++ picselshow-0.0.2/picselshow.c 2007-08-01 08:52:36.000000000 +0200
+@@ -58,7 +58,7 @@
+ return ImageSetup.SetupParse(szName,szValue);
+ }
+
+-const char *g_szConfigDirectory = NULL;
++const char *g_szConfigDirectory = "picselshow";
+
+ const char *cPluginImage::CommandLineHelp(void)
+ {
diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff
new file mode 100644
index 000000000000..f6c112f36b0b
--- /dev/null
+++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-vdr-1.5.x.diff
@@ -0,0 +1,51 @@
+--- control-image.c~ 2007-05-18 12:00:59.000000000 +0200
++++ control-image.c 2007-06-11 15:38:54.000000000 +0200
+@@ -194,7 +194,11 @@
+
+ void cImageControl::FadeIn(void)
+ {
+-needsFastResponse = true;
++#if VDRVERSNUM >= 10500
++ SetNeedsFastResponse(true);
++#else
++ needsFastResponse = true;
++#endif
+ int i;
+ int alpha = 0;
+
+@@ -237,13 +241,21 @@
+ fd--;
+ }
+
+-needsFastResponse = false;
++#if VDRVERSNUM >= 10500
++ SetNeedsFastResponse(false);
++#else
++ needsFastResponse = false;
++#endif
+ }
+
+
+ void cImageControl::FadeOut(void)
+ {
+-needsFastResponse = true;
++#if VDRVERSNUM >= 10500
++ SetNeedsFastResponse(true);
++#else
++ needsFastResponse = true;
++#endif
+ int i;
+ int alpha = 255;
+ int fd = 16;
+@@ -283,7 +295,11 @@
+ fd--;
+ }
+
++#if VDRVERSNUM >= 10500
++ SetNeedsFastResponse(false);
++#else
+ needsFastResponse = false;
++#endif
+ }
+
+
diff --git a/media-plugins/vdr-picselshow/metadata.xml b/media-plugins/vdr-picselshow/metadata.xml
new file mode 100644
index 000000000000..d1b88e6872a7
--- /dev/null
+++ b/media-plugins/vdr-picselshow/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>media-tv</herd>
+<maintainer>
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild
new file mode 100644
index 000000000000..ef247b3fba1a
--- /dev/null
+++ b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2003-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild,v 1.1 2008/01/13 16:44:54 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="VDR plugin: picselshow for vdr-music"
+HOMEPAGE="http://www.vdr.glaserei-franz.de/"
+SRC_URI="http://www.kost.sh/vdr/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE="imagemagick"
+
+PATCHES="${FILESDIR}/${P}-vdr-1.5.x.diff
+ ${FILESDIR}/${P}-gentoo.diff"
+
+DEPEND="imagemagick? ( media-gfx/imagemagick )
+ !imagemagick? ( media-libs/imlib2 )"
+
+RDEPEND="media-plugins/vdr-image
+ =media-plugins/vdr-music-0.2.0"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ use imagemagick && sed -i Makefile -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:"
+
+ sed -i example/imagesources.conf -e "s:/media/vdrdaten/bilder:/mnt/images:"
+
+ sed -i example/imagesources.conf -e \
+ "s:/VDR/etc/plugins/music/downloads/music_cover:/etc/vdr/plugins/music/downloads/music_cover:"
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/picselshow
+ doins -r picselshow/*
+ doins example/*
+}