diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2009-01-06 02:22:11 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2009-01-06 02:22:11 +0000 |
commit | a823126fc1727bdd122f9bf4c12ee8c8f61efb56 (patch) | |
tree | efd4493b8f9ae6ec1f493d89e3c21aa5660e556b /media-plugins | |
parent | also need jpeg in sdl-image (diff) | |
download | gentoo-2-a823126fc1727bdd122f9bf4c12ee8c8f61efb56.tar.gz gentoo-2-a823126fc1727bdd122f9bf4c12ee8c8f61efb56.tar.bz2 gentoo-2-a823126fc1727bdd122f9bf4c12ee8c8f61efb56.zip |
version bump
(Portage version: 2.1.6.4/cvs/Linux 2.6.21-xen-main-r1 i686)
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/vdr-image/ChangeLog | 11 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/rc-addon-0.3.0.sh | 22 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/vdr-image-0.3.0-gentoo.diff | 24 | ||||
-rw-r--r-- | media-plugins/vdr-image/vdr-image-0.3.0.ebuild | 55 |
4 files changed, 110 insertions, 2 deletions
diff --git a/media-plugins/vdr-image/ChangeLog b/media-plugins/vdr-image/ChangeLog index db5699ca1558..4eb63994ee7f 100644 --- a/media-plugins/vdr-image/ChangeLog +++ b/media-plugins/vdr-image/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-plugins/vdr-image -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/ChangeLog,v 1.27 2008/10/25 22:19:26 hd_brummy Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/ChangeLog,v 1.28 2009/01/06 02:22:11 hd_brummy Exp $ + +*vdr-image-0.3.0 (06 Jan 2009) + + 06 Jan 2009; Joerg Bornkessel <hd_brummy@gentoo.org> + +files/vdr-image-0.3.0-gentoo.diff, +files/rc-addon-0.3.0.sh, + +vdr-image-0.3.0.ebuild: + version bump *vdr-image-0.2.7.26 (25 Oct 2008) diff --git a/media-plugins/vdr-image/files/rc-addon-0.3.0.sh b/media-plugins/vdr-image/files/rc-addon-0.3.0.sh new file mode 100644 index 000000000000..6be5c48e3794 --- /dev/null +++ b/media-plugins/vdr-image/files/rc-addon-0.3.0.sh @@ -0,0 +1,22 @@ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-image/files/rc-addon-0.3.0.sh,v 1.1 2009/01/06 02:22:11 hd_brummy Exp $ +# +# rc-addon plugin-startup-skript for vdr-image +# + +: ${IMAGE_MOUNT:=/usr/share/vdr/image/bin/mount-image.sh} +: ${IMAGE_CONVERT:=/usr/share/vdr/image/bin/imageplugin.sh} + +plugin_pre_vdr_start() { + add_plugin_param "-m ${IMAGE_MOUNT}" + add_plugin_param "-C ${IMAGE_CONVERT}" + add_plugin_param "-c image" + + if [ -f /usr/lib/vdr/inc/commands-functions.sh ]; then + . /usr/lib/vdr/inc/commands-functions.sh + else + #source /usr/share/vdr/inc/functions.sh + include commands-functions + fi + + merge_commands_conf /etc/vdr/imagecmds /etc/vdr/plugins/image/imagecmds.conf "${ORDER_IMAGECMDS}" +} diff --git a/media-plugins/vdr-image/files/vdr-image-0.3.0-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.3.0-gentoo.diff new file mode 100644 index 000000000000..11479f2fc8a2 --- /dev/null +++ b/media-plugins/vdr-image/files/vdr-image-0.3.0-gentoo.diff @@ -0,0 +1,24 @@ +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf image-0.2.7.26/examples/imagecmds.conf +--- image-0.2.7.26.orig/examples/imagecmds.conf 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf 2008-10-25 23:50:53.000000000 +0200 +@@ -20,3 +20,5 @@ + Rotate JPEG picture lossless by 90 degrees to the right : jpegtran -rotate 90 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Rotate JPEG picture lossless by 90 degrees to the left : jpegtran -rotate 270 %s > $CONVERT_TEMPDIR/tmp.jpg && mv $CONVERT_TEMPDIR/tmp.jpg %s + Delete picture ?: rm -f %s ++Change burn template : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Change burn template ( Button ) : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash +\ Kein Zeilenumbruch am Dateiende. +diff -Naur image-0.2.7.26.orig/examples/imagecmds.conf.DE image-0.2.7.26/examples/imagecmds.conf.DE +--- image-0.2.7.26.orig/examples/imagecmds.conf.DE 2008-10-25 23:48:18.000000000 +0200 ++++ image-0.2.7.26/examples/imagecmds.conf.DE 2008-10-25 23:55:49.000000000 +0200 +@@ -11,6 +11,8 @@ + 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 ++Hintergrund vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-bg.png' | /bin/bash ++Button vdr-burn ändern : echo ln -fs '%s' '/usr/share/vdr/burn/menu-button.png' | /bin/bash diff --git a/media-plugins/vdr-image/vdr-image-0.3.0.ebuild b/media-plugins/vdr-image/vdr-image-0.3.0.ebuild new file mode 100644 index 000000000000..17bbdf5b4761 --- /dev/null +++ b/media-plugins/vdr-image/vdr-image-0.3.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2009 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.3.0.ebuild,v 1.1 2009/01/06 02:22:11 hd_brummy Exp $ + +inherit vdr-plugin eutils + +DESCRIPTION="VDR plugin: display of digital images, like jpeg, tiff, png, bmp" +HOMEPAGE="http://vdr-image.berlios.de/" +SRC_URI="mirror://berlios/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="exif" + +COMMON_DEPEND=">=media-video/vdr-1.5.8 + >=media-video/ffmpeg-0.4.8_p20080326 + >=media-libs/netpbm-10.0 + exif? ( media-libs/libexif )" + +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig" + +RDEPEND="${COMMON_DEPEND} + >=media-tv/gentoo-vdr-scripts-0.2.2" + + +VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.3.0.sh" +#BUILD_PARAMS="-j1" + +src_unpack() { + vdr-plugin_src_unpack + + epatch "${FILESDIR}/${P}-gentoo.diff" + + use !exif && sed -i "s:#WITHOUT_LIBEXIF:WITHOUT_LIBEXIF:" Makefile + if has_version "<=media-video/ffmpeg-0.4.9_p20061016"; then + BUILD_PARAMS="${BUILD_PARAMS} WITHOUT_SWSCALER=1" + fi +} + +src_install() { + vdr-plugin_src_install + + insinto /etc/vdr/imagecmds + newins examples/imagecmds.conf imagecmds.example.conf + newins examples/imagecmds.conf.DE imagecmds.example.conf.de + + insinto /etc/vdr/plugins/image + doins examples/imagesources.conf + + into /usr/share/vdr/image + dobin scripts/imageplugin.sh + newbin scripts/mount.sh mount-image.sh +} |