diff options
Diffstat (limited to 'media-plugins/vdr-image')
-rw-r--r-- | media-plugins/vdr-image/Manifest | 6 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/rc-addon-0.3.0.sh | 21 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/vdr-image-0.4.0-ffmpeg3.patch | 40 | ||||
-rw-r--r-- | media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff | 24 | ||||
-rw-r--r-- | media-plugins/vdr-image/metadata.xml | 14 | ||||
-rw-r--r-- | media-plugins/vdr-image/vdr-image-0.4.0.ebuild | 64 |
6 files changed, 0 insertions, 169 deletions
diff --git a/media-plugins/vdr-image/Manifest b/media-plugins/vdr-image/Manifest deleted file mode 100644 index 9951ba5d30d3..000000000000 --- a/media-plugins/vdr-image/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -AUX rc-addon-0.3.0.sh 587 BLAKE2B 8529a8f5050aa82234bcf3475cf46e13f833d9df130e6c0cead893fb1c2a299d9eb60fc19cffb97e6bd2e5bfcf9af7ab62ff0bbe0aa0a1cd313862645c63a9f8 SHA512 b11ddcb1640d3edbd8b381e20189f259280c9439d02739b91b27ed5dbc98b178400fb9d0ec74a6b66b62d7f2315aa76916c8694e16ef50728f059d53d0c1c275 -AUX vdr-image-0.4.0-ffmpeg3.patch 1798 BLAKE2B 4ae377fc2bff971b15b51c8324d6376c1f7067c9bbd0364ff832045f78b49086dcf1909cf9f73a8227840bc1b825d1ba5fb88ad12befa84fabc460439b21dc62 SHA512 470b853bd8c33b04f743e51bdeafa80f4cfc6defbc6485c356462fc8cf8f7de39fd39379ed9063a87d269103c3130c998d9d1856757aa52783b3e85dbb910a9d -AUX vdr-image-0.4.0-gentoo.diff 2348 BLAKE2B 69667df82f111b27aecd93b67629b9a0d3ad8037af4c1c5a72f1c4ddc97009aa26725aac833cdf570750de40c2d5b07a10a75170a1d0d53f378eaa501745dca6 SHA512 ca6932ae0da10bf1037297dfe4eb1b667ecf78d660479fe332e474746cc1b2afcb6d1a048c511735d5e354dbd8867ee68be75a010eb31fd132382869dd98025c -DIST vdr-image-0.4.0.tgz 129200 BLAKE2B efcbb1bd724a2dcd0b787a4d768fb1148b91f05112aaf773704fb2d7eab9f64d67dcf4538bfa169176f3f7d18d15fc7decffd96626290e841a827a0f592e9094 SHA512 d66bb7ff48ed622ec21a7d828985229b6aaf908123c12b870e531f09dfe85e792afafa096cd5c4580296139275e2f7171d30f21fe1f8d88978e19c1eb36ab169 -EBUILD vdr-image-0.4.0.ebuild 1518 BLAKE2B 2838a191d859c59e88494929d5b603a6f875375b86094d729a44400abb316afa95de938bb58f1e16aa5d735ae903e3c2870c8453bcf98f110873c6f351c12fcc SHA512 b37130a9919b4a71eadba2e9ade8633f568e6562eed26940badf6f111e8262965e0b6b99fd0d44204cdb8b580999c42d27b49ec9d9d1aaf8d4e170b3179672ed -MISC metadata.xml 415 BLAKE2B 63c8ab3cd7b4d06bf7cfe5b1d43874e63f8e60cdd7776f515297827f11b97cc2bfbef25ecf746a27c3b902d217510b835c47cbba43cc9d026312868dbb7996bc SHA512 08fd11797252a87665f1459523990d0e30f92103309a7f6243a56c1d1091f1176392efef5ebd51f754ca99286d8daf6506571d65bf6623f0c561a3fd3b4c87e5 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 deleted file mode 100644 index 800351fbe871..000000000000 --- a/media-plugins/vdr-image/files/rc-addon-0.3.0.sh +++ /dev/null @@ -1,21 +0,0 @@ -# -# 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.4.0-ffmpeg3.patch b/media-plugins/vdr-image/files/vdr-image-0.4.0-ffmpeg3.patch deleted file mode 100644 index de0ca025e165..000000000000 --- a/media-plugins/vdr-image/files/vdr-image-0.4.0-ffmpeg3.patch +++ /dev/null @@ -1,40 +0,0 @@ -Index: image-0.4.0/liboutput/encode.c -=================================================================== ---- image-0.4.0.orig/liboutput/encode.c -+++ image-0.4.0/liboutput/encode.c -@@ -150,7 +150,7 @@ void cEncode::SetupEncodingParameters(AV - } - context->max_b_frames=1; - context->flags |= CODEC_FLAG_QSCALE; -- context->pix_fmt = PIX_FMT_YUV420P; -+ context->pix_fmt = AV_PIX_FMT_YUV420P; - } - - bool cEncode::ConvertImageToFrame(AVFrame *frame) -@@ -173,7 +173,7 @@ bool cEncode::ConvertImageToFrame(AVFram - // Convert RGB to YUV - if(!avpicture_fill((AVPicture*)m_pImageFilled, - m_pImageRGB, -- PIX_FMT_RGB24, m_nWidth, m_nHeight)) -+ AV_PIX_FMT_RGB24, m_nWidth, m_nHeight)) - { - esyslog("imageplugin: failed avpicture_fill"); - return false; -@@ -182,13 +182,13 @@ bool cEncode::ConvertImageToFrame(AVFram - { - int result; - #ifndef HAVE_SWSCALER -- result=img_convert((AVPicture*)frame->data, PIX_FMT_YUV420P, -- (AVPicture*)m_pImageFilled, PIX_FMT_RGB24, -+ result=img_convert((AVPicture*)frame->data, AV_PIX_FMT_YUV420P, -+ (AVPicture*)m_pImageFilled, AV_PIX_FMT_RGB24, - m_nWidth, m_nHeight); - #else - SwsContext* convert_ctx = sws_getContext(m_nWidth, m_nHeight, -- PIX_FMT_RGB24, m_nWidth, m_nHeight, -- PIX_FMT_YUV420P, SWS_BICUBIC, NULL, NULL, NULL); -+ AV_PIX_FMT_RGB24, m_nWidth, m_nHeight, -+ AV_PIX_FMT_YUV420P, SWS_BICUBIC, NULL, NULL, NULL); - - if(!convert_ctx) { - esyslog("imageplugin: failed to initialize swscaler context"); diff --git a/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff b/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff deleted file mode 100644 index 11479f2fc8a2..000000000000 --- a/media-plugins/vdr-image/files/vdr-image-0.4.0-gentoo.diff +++ /dev/null @@ -1,24 +0,0 @@ -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/metadata.xml b/media-plugins/vdr-image/metadata.xml deleted file mode 100644 index 8860e595d265..000000000000 --- a/media-plugins/vdr-image/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?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> - <description> - Please contact maintainer before you change something. - </description> - </maintainer> - <longdescription> - VDR Plugin to show pictures on TV - </longdescription> -</pkgmetadata> diff --git a/media-plugins/vdr-image/vdr-image-0.4.0.ebuild b/media-plugins/vdr-image/vdr-image-0.4.0.ebuild deleted file mode 100644 index 15aba0b5a4c8..000000000000 --- a/media-plugins/vdr-image/vdr-image-0.4.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit vdr-plugin-2 - -VERSION="1325" #every bump, new version - -DESCRIPTION="VDR plugin: display of digital images, like jpeg, tiff, png, bmp" -HOMEPAGE="https://projects.vdr-developer.org/projects/plg-image" -SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" - -KEYWORDS="amd64 x86" -SLOT="0" -LICENSE="GPL-2" -IUSE="exif" - -COMMON_DEPEND=">=media-video/vdr-2 - >=virtual/ffmpeg-9 - >=media-libs/netpbm-10.0 - exif? ( media-libs/libexif )" - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig" - -RDEPEND="${COMMON_DEPEND} - media-tv/gentoo-vdr-scripts" - -VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.3.0.sh" - -src_prepare() { - vdr-plugin-2_src_prepare - - #wrong include - sed -e 's:<liboutput/stillimage-player.h>:"liboutput/stillimage-player.h":'\ - -i player-image.h - - # dangerous warning - sed -e "s:mktemp:mkstemp:" -i data-image.c - - eapply "${FILESDIR}/${P}-gentoo.diff" \ - "${FILESDIR}/${P}-ffmpeg3.patch" - - # ffmpeg-2.2.12, libav10 - sed -e "s:avcodec_alloc_frame:av_frame_alloc:" \ - -e "s:CODEC_ID_MPEG2VIDEO:AV_CODEC_ID_MPEG2VIDEO:" \ - -i liboutput/encode.c -} - -src_install() { - vdr-plugin-2_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 -} |