diff options
Diffstat (limited to 'media-plugins/vdr-image/vdr-image-0.2.7.26.ebuild')
-rw-r--r-- | media-plugins/vdr-image/vdr-image-0.2.7.26.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/media-plugins/vdr-image/vdr-image-0.2.7.26.ebuild b/media-plugins/vdr-image/vdr-image-0.2.7.26.ebuild new file mode 100644 index 000000000000..bda64ecff6dd --- /dev/null +++ b/media-plugins/vdr-image/vdr-image-0.2.7.26.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2008 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.7.26.ebuild,v 1.1 2008/10/25 22:19:26 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="http://vdr.websitec.de/download/${PN}/${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="GPL-2" +IUSE="exif" + +COMMON_DEPEND=">=media-video/vdr-1.3.38 + >=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" + +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 +} + +pkg_postinst() { + vdr-plugin_pkg_postinst + + echo + elog "Also check /etc/vdr/plugins/image/imagesources.conf" + echo + elog "Multilanguage will automaticly supported, just take a look in" + elog "/etc/vdr/imagecmds/* how it works" + elog "By the moment only EN + DE" + echo +} |