summaryrefslogtreecommitdiff
path: root/media-plugins/vdr-picselshow
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-plugins/vdr-picselshow
reinit the tree, so we can have metadata
Diffstat (limited to 'media-plugins/vdr-picselshow')
-rw-r--r--media-plugins/vdr-picselshow/Manifest8
-rw-r--r--media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff23
-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.xml8
-rw-r--r--media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild44
6 files changed, 145 insertions, 0 deletions
diff --git a/media-plugins/vdr-picselshow/Manifest b/media-plugins/vdr-picselshow/Manifest
new file mode 100644
index 000000000000..f6a10e245436
--- /dev/null
+++ b/media-plugins/vdr-picselshow/Manifest
@@ -0,0 +1,8 @@
+AUX vdr-picselshow-0.0.2-gcc-4.4.diff 857 SHA256 e19013df8f01098a896cde8c2409faa7d8322f02b6c5182aaf7b40be1e76767f SHA512 ade3b8b2a2b157ed60882dcaff8a3128d682bf0402f4a68149e3547d831f639b203495ed4558d19d23b79abc38c863f5780f568af38f931eddf975ae8160f533 WHIRLPOOL 84df6fb87335e81c0b497b263868b6d0646e26b108035bffa7dcee64d8c90cfe2887e654eed2f33ef272a5f2169dde582fa2bcde841daef8f943cea2efeb6470
+AUX vdr-picselshow-0.0.2-gentoo.diff 360 SHA256 306c69b082f059ff65e1cb402e6d2d12399af5c1da6e0b870733eec7b02dffe9 SHA512 8c9bd295158170c2828ed5e516c67a498ef37c9e5f13986f85f8b9103e789bb2a996eca96f43d2eff1e2367d778f4bb6f3b3c2071923fa9307dee0e443dc4bb6 WHIRLPOOL c64e9c7b92b3aa124bce442c5e4684def9d96c481f55d1193452177f8e042762b41f281686c16115dd4a5c2f19d0ca9a5b2712b7f04bdc49bf79f46fea9351e8
+AUX vdr-picselshow-0.0.2-vdr-1.5.x.diff 864 SHA256 8e7d8acf36b9021b96b9e3aec05b931f892badb6b17e3ca8555cabe1072f1275 SHA512 0920b75b8efde30223b7315b37fa0feede9f4a268ac3388dd36d50a08fdb508613357ace921742a1ff1b79db319836fdb84b96140e95b0cf6837ca54a80d9683 WHIRLPOOL fef5e46f11bab0e3b5161856103a858db51b1a6d0c93fb3c953bb1ab17891571d551025280443f9ff75fb3f4f386f33b3936b61308686b241c53dd8ae27b7eda
+DIST vdr-picselshow-0.0.2.tar.gz 97365 SHA256 48cb37a10e9fe946b2a97b986c96fc943f89fb67e2fe5535df98bab1f4802ac7 SHA512 3904d9a423c70041e013a2a6a326b0a071c9d315a9853edfbbceca8bab7eed1d672657ae95c0956c18d15c2ace1e28dd1ebe0784ed18770d1e629888188ee543 WHIRLPOOL e1fd74cc77d9bffe2caee81021b26976acab21eca5ab023194a53fc20e4f369852b2229f6a43e871b0e815f2b848ac94a2cf2f7a39c52cc915c7eaa49afb5cc4
+EBUILD vdr-picselshow-0.0.2.ebuild 1062 SHA256 374ec996f1386d66cf2f2f9a7c0f63159601ad3fb10c894d9668177c80be950a SHA512 67474d699d621713e5443bef3727ad5a72e2cf43b5654858dacc4419c453f45e577ce8385898341a49e268f71660f4ac2617e62d5fe66bea97576b6626240c93 WHIRLPOOL 7c698e5d0f4b5003bfa441a1587d801c5ce52ba6e6a0d2544c8d5f4dc4ecdee750380cf574adf5c7a6e4d2f9ad89c0a8ac975149d52bdccf4564319c484e17ef
+MISC ChangeLog 2979 SHA256 d63273b5ba0ad7b5039481a8f6c641bb66be0e9016a38bba480296ab04674084 SHA512 653bd06689fe4e690d629a61b31882499947bfcc321cd86a4dfe7fbf80a64ced916a324c507d712de428a39097b1b4796514b62f60e6dbe25336152e8ed38078 WHIRLPOOL 71d6a5b382e52b0aa7a59c7a6048b3a70e3efd1a684f26e16f9935bf8d6d605541dfebace3bb0276f68c63f53834b4fc487d7980358834699e04e19561d34680
+MISC ChangeLog-2015 937 SHA256 1aa7b5cd8a4844446f5d0e0f6f6636b8e1f3c518bfbac83db4a4af4e7b3aeca5 SHA512 e9a2f9f1ce990424af1b35b8dbd2bf3251cf8a2f941b58ce83be069b4399533d53b68b2d548ddd64620ac67d37e6e5791a9d0bea792245d7903aa7cc6b8c6889 WHIRLPOOL c54028f9598b86cf0f25623508584cadbd7fe2b5beb724c24c61525089d79361809f356d3101ff3dcc6f14ea7df807defa1c764310fe5ba44bd50199949fe2dd
+MISC metadata.xml 243 SHA256 161359b6e9eddec137a431eea66785e070bbc25fab3ae1b57f900e411fc37fe7 SHA512 f7d6e467a5a96c0afdd42df3c0f3866240defc5bbea5ccddf4c0b1a3c004225af5d46dab67d45a5ac34535391584f3b3727fe79ef6cef1a11413636bbc35cf06 WHIRLPOOL ebf59815181c251040396bb44206b875f6d996abcff030fdbf8355b47d6ea8c4f2669847ea1af194112de469258d7ca09ed77b682924ca495958a65f957dbf39
diff --git a/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff
new file mode 100644
index 000000000000..de72e9e5b31e
--- /dev/null
+++ b/media-plugins/vdr-picselshow/files/vdr-picselshow-0.0.2-gcc-4.4.diff
@@ -0,0 +1,23 @@
+diff -ru picselshow-0.0.2-orig/data.c picselshow-0.0.2/data.c
+--- picselshow-0.0.2-orig/data.c 2009-08-10 10:56:14.657708090 +0200
++++ picselshow-0.0.2/data.c 2009-08-10 11:02:12.287665408 +0200
+@@ -453,7 +453,7 @@
+
+ bool cFileSource::Action(eAction act)
+ {
+- static char *str[] = { "mount", "unmount", "eject", "status" };
++ static const char *str[] = { "mount", "unmount", "eject", "status" };
+
+ char *cmd = 0;
+ asprintf(&cmd, "%s %s %s", g_szMountScript, str[act], basedir);
+diff -ru picselshow-0.0.2-orig/imagecache.h picselshow-0.0.2/imagecache.h
+--- picselshow-0.0.2-orig/imagecache.h 2009-08-10 10:56:14.654371019 +0200
++++ picselshow-0.0.2/imagecache.h 2009-08-10 11:01:18.421003775 +0200
+@@ -5,6 +5,7 @@
+ #ifndef VDR_IMAGECACHE_HPP
+ #define VDR_IMAGECACHE_HPP
+
++#include <sys/types.h>
+ #include <map>
+ #include <vector>
+ #include <string>
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..27f419c289c3
--- /dev/null
+++ b/media-plugins/vdr-picselshow/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+<email>vdr@gentoo.org</email>
+<name>Gentoo VDR Project</name>
+</maintainer>
+</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..8d28c26f95d3
--- /dev/null
+++ b/media-plugins/vdr-picselshow/vdr-picselshow-0.0.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit vdr-plugin-2
+
+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="~amd64 ~x86"
+IUSE="imagemagick"
+
+PATCHES=("${FILESDIR}/${P}-vdr-1.5.x.diff"
+ "${FILESDIR}/${P}-gcc-4.4.diff"
+ "${FILESDIR}/${P}-gentoo.diff")
+
+DEPEND="imagemagick? ( media-gfx/imagemagick )
+ !imagemagick? ( media-libs/imlib2 )"
+
+RDEPEND="media-plugins/vdr-image
+ media-plugins/vdr-music"
+
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ 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-2_src_install
+
+ insinto /etc/vdr/plugins/picselshow
+ doins -r picselshow/*
+ doins example/*
+}