summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/vdr-image/vdr-image-0.2.5.ebuild')
-rw-r--r--media-plugins/vdr-image/vdr-image-0.2.5.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/media-plugins/vdr-image/vdr-image-0.2.5.ebuild b/media-plugins/vdr-image/vdr-image-0.2.5.ebuild
new file mode 100644
index 000000000000..98a0a855b670
--- /dev/null
+++ b/media-plugins/vdr-image/vdr-image-0.2.5.ebuild
@@ -0,0 +1,63 @@
+# 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.5.ebuild,v 1.1 2006/02/04 18:40:13 hd_brummy Exp $
+
+inherit vdr-plugin
+
+DESCRIPTION="Video Disk Recorder Image Plugin"
+HOMEPAGE="http://deltab.de"
+SRC_URI="http://download.berlios.de/${PN}/${P}.tar.gz"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="exif"
+
+DEPEND=">=media-video/vdr-1.3.38
+ >=media-video/ffmpeg-0.4.8
+ >=media-libs/netpbm-10.0
+ exif? ( media-libs/libexif )"
+
+RDEPEND=">=media-tv/gentoo-vdr-scripts-0.2.2"
+
+
+VDRPLUGIN_MAKE_TARGET="all -j1"
+
+src_unpack() {
+
+ vdr-plugin_src_unpack
+
+ epatch ${FILESDIR}/${PN}-0.2.4-gentoo.diff
+
+ use !exif && sed -i "s:#WITHOUT_LIBEXIF:WITHOUT_LIBEXIF:" Makefile
+}
+
+
+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
+ einfo "Also check /etc/vdr/plugins/image/imagesources.conf"
+ echo
+ einfo "Multilanguage will automaticly supported, just take a look in"
+ einfo "/etc/vdr/imagecmds/* how it works"
+ einfo "By the moment only EN + DE"
+ echo
+}