diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-04 17:03:52 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2006-01-04 17:03:52 +0000 |
commit | 3506163cd4bd4281b048491f37fd04ac22fab383 (patch) | |
tree | 156d1ca54d1ba1cf582cb57de2657664410f99bb /media-plugins | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-3506163cd4bd4281b048491f37fd04ac22fab383.tar.gz gentoo-2-3506163cd4bd4281b048491f37fd04ac22fab383.tar.bz2 gentoo-2-3506163cd4bd4281b048491f37fd04ac22fab383.zip |
initial ebuild on gentoo.org, find older versions on gentoo.de cvs
(Portage version: 2.0.53)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-image/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-image/Manifest | 6 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/digest-vdr-image-0.2.4 | 1 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/rc-addon.sh | 20 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/vdr-image-0.2.4-gentoo.diff | 89 | ||||
-rw-r--r-- | media-plugins/vdr-image/metadata.xml | 15 | ||||
-rw-r--r-- | media-plugins/vdr-image/vdr-image-0.2.4.ebuild | 43 |
7 files changed, 185 insertions, 0 deletions
diff --git a/media-plugins/vdr-image/ChangeLog b/media-plugins/vdr-image/ChangeLog new file mode 100644 index 000000000000..0676570cd9c8 --- /dev/null +++ b/media-plugins/vdr-image/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for media-plugins/vdr-image +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/ChangeLog,v 1.1 2006/01/04 17:03:52 hd_brummy Exp $ + +*vdr-image-0.2.4 (04 Jan 2006) + + 04 Jan 2006; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-image-0.2.4-gentoo.diff, +files/rc-addon.sh, +metadata.xml, + +vdr-image-0.2.4.ebuild: + initial ebuild on gentoo.org, find older versions on gentoo.de cvs + diff --git a/media-plugins/vdr-image/Manifest b/media-plugins/vdr-image/Manifest new file mode 100644 index 000000000000..987d8b5fd819 --- /dev/null +++ b/media-plugins/vdr-image/Manifest @@ -0,0 +1,6 @@ +MD5 3ed137fc1d22ebbac1fc207d8d758b91 ChangeLog 381 +MD5 adae2ccfe37f39d4a68bc1d959716d0e files/digest-vdr-image-0.2.4 67 +MD5 f6d91a552789e8da00a278d3f03ee393 files/rc-addon.sh 339 +MD5 2fbaec1ecda7806379715e09d4a7227c files/vdr-image-0.2.4-gentoo.diff 3328 +MD5 e7055a92958497a9a028c06b8223f110 metadata.xml 439 +MD5 d7e5946925022dd48ab279654a9a860c vdr-image-0.2.4.ebuild 782 diff --git a/media-plugins/vdr-image/files/digest-vdr-image-0.2.4 b/media-plugins/vdr-image/files/digest-vdr-image-0.2.4 new file mode 100644 index 000000000000..05ea8aaae561 --- /dev/null +++ b/media-plugins/vdr-image/files/digest-vdr-image-0.2.4 @@ -0,0 +1 @@ +MD5 a89abf89239db5dfbd2a2a0e4142376a vdr-image-0.2.4.tar.gz 111703 diff --git a/media-plugins/vdr-image/files/rc-addon.sh b/media-plugins/vdr-image/files/rc-addon.sh new file mode 100644 index 000000000000..52bc0985ad0b --- /dev/null +++ b/media-plugins/vdr-image/files/rc-addon.sh @@ -0,0 +1,20 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/files/rc-addon.sh,v 1.1 2006/01/04 17:03:52 hd_brummy Exp $ +# +# rc-addon plugin-startup-skript for vdr-image +# + +IMAGE_MOUNT="/usr/bin/mount-image.sh" +IMAGE_CONVERT="/usr/bin/imageplugin.sh" + +plugin_pre_vdr_start() { + + add_plugin_param "-m ${IMAGE_MOUNT}" + add_plugin_param "-C ${IMAGE_CONVERT}" + +} + + +# for compatibility +if [[ ${SCRIPT_API:-1} -lt 2 ]]; then + plugin_pre_vdr_start +fi diff --git a/media-plugins/vdr-image/files/vdr-image-0.2.4-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.2.4-gentoo.diff new file mode 100644 index 000000000000..226a8868a66c --- /dev/null +++ b/media-plugins/vdr-image/files/vdr-image-0.2.4-gentoo.diff @@ -0,0 +1,89 @@ +--- control-image.c 2005-10-29 21:36:43.000000000 +0200 ++++ control-image-gentoo.c 2006-01-03 15:12:21.803187500 +0100 +@@ -622,7 +622,7 @@ + return osContinue; + + // Load additional Commands +- pCmd->Load(AddDirectory(cPlugin::ConfigDirectory(g_szConfigDirectory), "imagecmds.conf")); ++ pCmd->Load(AddDirectory(cPlugin::ConfigDirectory(g_szConfigDirectory), "image/imagecmds.conf")); + + if(pCmd->Count() <= 0) { + delete pCmd; +--- image.c 2005-10-29 21:50:31.000000000 +0200 ++++ image-gentoo.c 2006-01-03 15:34:01.632421750 +0100 +@@ -107,7 +107,7 @@ + return false; + } + +- ImageSources.Load(AddDirectory(ConfigDirectory(g_szConfigDirectory), "imagesources.conf")); ++ ImageSources.Load(AddDirectory(ConfigDirectory(g_szConfigDirectory), "image/imagesources.conf")); + if(ImageSources.Count()<1) { + esyslog("imageplugin: you must have defined at least one source in imagesources.conf"); + return false; +--- libimage/Makefile.orig 2005-09-11 17:51:12.000000000 +0200 ++++ libimage/Makefile 2006-01-03 15:36:56.307338250 +0100 +@@ -3,19 +3,19 @@ + # + # $Id: vdr-image-0.2.4-gentoo.diff,v 1.1 2006/01/04 17:03:52 hd_brummy Exp $ + +-VDRDIR = ../../../.. ++VDRDIR = /usr/include + + ### The C++ compiler and options: + + CXX ?= g++ +-CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual ++#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual + +--include $(VDRDIR)/Make.config ++-include $(VDRDIR)/vdr/Make.config + + ### The directory environment: + + +-INCLUDES += -I$(VDRDIR)/include ++INCLUDES += -I$(VDRDIR) + + DEFINES += -D_GNU_SOURCE + +--- liboutput/Makefile.orig 2005-10-22 11:49:03.000000000 +0200 ++++ liboutput/Makefile 2006-01-03 15:36:56.299337750 +0100 +@@ -3,21 +3,21 @@ + # + # $Id: vdr-image-0.2.4-gentoo.diff,v 1.1 2006/01/04 17:03:52 hd_brummy Exp $ + +-VDRDIR = ../../../.. +-DVBDIR = ../../../../../DVB ++VDRDIR = /usr/include ++DVBDIR = /usr/include + #FFMDIR = ../../../../../ffmpeg + + ### The C++ compiler and options: + + CXX ?= g++ +-CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual ++#CXXFLAGS ?= -O0 -g -Wall -Woverloaded-virtual + +--include $(VDRDIR)/Make.config ++-include $(VDRDIR)/vdr/Make.config + + ### The directory environment: + + +-INCLUDES += -I$(VDRDIR)/include -I. ++INCLUDES += -I$(VDRDIR) -I. + ifdef FFMDIR + INCLUDES += -I$(FFMDIR)/libavcodec -I$(FFMDIR)/libavutil + endif + +--- examples/imagecmds.conf.DE 2005-09-11 17:51:12.000000000 +0200 ++++ examples/imagecmds-gentoo.conf.DE 2006-01-04 13:39:57.836373750 +0100 +@@ -11,6 +11,6 @@ + Informationen über das Bild : identify -verbose + Größe des Bildes : du -chs %s + Exif Informationen des JPEG-Bildes ausgeben : jpegtopnm -dumpexif %s >/dev/null 2> $CONVERT_TEMPDIR/exif.tmp && cat $CONVERT_TEMPDIR/exif.tmp && rm -f $CONVERT_TEMPDIR/exif.tmp +-Rotatiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s +-Rotatiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Rechts : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s ++Rotiere JPEG Bildes verlustlos um 90° nach Links : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Lösche Bild ?: rm -f %s diff --git a/media-plugins/vdr-image/metadata.xml b/media-plugins/vdr-image/metadata.xml new file mode 100644 index 000000000000..ac7abfccb65b --- /dev/null +++ b/media-plugins/vdr-image/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>media-tv</herd> + <maintainer> + <email>hd_brummy@gentoo.org</email> + <name>Joerg Bornkessel</name> + <description> + Please contacts maintainer before you something change. + </description> + </maintainer> + <longdescription> + VDR Plugin to show pictures on TV + </longdescription> +</pkgmetadata> diff --git a/media-plugins/vdr-image/vdr-image-0.2.4.ebuild b/media-plugins/vdr-image/vdr-image-0.2.4.ebuild new file mode 100644 index 000000000000..d50d1d4586e1 --- /dev/null +++ b/media-plugins/vdr-image/vdr-image-0.2.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/vdr-image-0.2.4.ebuild,v 1.1 2006/01/04 17:03:52 hd_brummy Exp $ + +inherit vdr-plugin + +DESCRIPTION="Video Disk Recorder Image Plugin" +HOMEPAGE="http://deltab.de" +SRC_URI="http://download.berlios.de/vdr-image/${P}.tar.gz" + +KEYWORDS="~x86 ~amd64" +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.20 + >=media-video/ffmpeg-0.4.8 + >=media-libs/netpbm-10.0" + +src_unpack() { +vdr-plugin_src_unpack + + epatch ${FILESDIR}/${P}-gentoo.diff +} + + +src_install() { +vdr-plugin_src_install + + insinto /etc/vdr/plugins/image + doins examples/* + + dobin scripts/imageplugin.sh + newbin scripts/mount.sh mount-image.sh +} + +pkg_postinst() { +vdr-plugin_pkg_postinst + + echo + einfo "Also check /etc/vdr/plugins/image/imagesources.conf" + echo +} |