diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-05-22 12:54:34 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-05-22 12:54:34 +0000 |
commit | 8c9a6f0e9ed896ddd1168beaf4fe0858281231ef (patch) | |
tree | 178fb579588d41c50eaae836708e77546dbfe433 /media-plugins/vdr-em84xx/files | |
parent | Stable on sparc wrt #179413 (diff) | |
download | gentoo-2-8c9a6f0e9ed896ddd1168beaf4fe0858281231ef.tar.gz gentoo-2-8c9a6f0e9ed896ddd1168beaf4fe0858281231ef.tar.bz2 gentoo-2-8c9a6f0e9ed896ddd1168beaf4fe0858281231ef.zip |
Initial import of ebuild, written by me.
(Portage version: 2.1.2.7)
Diffstat (limited to 'media-plugins/vdr-em84xx/files')
-rw-r--r-- | media-plugins/vdr-em84xx/files/0.0.13/gcc4.diff | 22 | ||||
-rw-r--r-- | media-plugins/vdr-em84xx/files/0.0.13/series | 1 | ||||
-rw-r--r-- | media-plugins/vdr-em84xx/files/confd-0.0.13 | 7 | ||||
-rw-r--r-- | media-plugins/vdr-em84xx/files/digest-vdr-em84xx-0.0.13 | 3 | ||||
-rw-r--r-- | media-plugins/vdr-em84xx/files/rc-addon-0.0.13.sh | 11 |
5 files changed, 44 insertions, 0 deletions
diff --git a/media-plugins/vdr-em84xx/files/0.0.13/gcc4.diff b/media-plugins/vdr-em84xx/files/0.0.13/gcc4.diff new file mode 100644 index 000000000000..485575eceb87 --- /dev/null +++ b/media-plugins/vdr-em84xx/files/0.0.13/gcc4.diff @@ -0,0 +1,22 @@ +Index: em84xx-0.0.13/device.h +=================================================================== +--- em84xx-0.0.13.orig/device.h ++++ em84xx-0.0.13/device.h +@@ -46,7 +46,7 @@ protected: + #else + virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); + #endif +- uchar * cDeviceEm84xx::GrabOsd(int &Size, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); ++ uchar * GrabOsd(int &Size, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1); + + virtual bool HasDecoder(void) const { return true; } + virtual bool CanReplay(void) const { return true; } +@@ -85,7 +85,7 @@ protected: + void GetAspectRatioVideoData(const uchar* Data, /*uint32_t*/ int Length); + + public: +- static bool cDeviceEm84xx::SpeedControl(int Speed); ++ static bool SpeedControl(int Speed); + + cDeviceEm84xx(void); + virtual ~cDeviceEm84xx(); diff --git a/media-plugins/vdr-em84xx/files/0.0.13/series b/media-plugins/vdr-em84xx/files/0.0.13/series new file mode 100644 index 000000000000..224758cd6d6a --- /dev/null +++ b/media-plugins/vdr-em84xx/files/0.0.13/series @@ -0,0 +1 @@ +gcc4.diff diff --git a/media-plugins/vdr-em84xx/files/confd-0.0.13 b/media-plugins/vdr-em84xx/files/confd-0.0.13 new file mode 100644 index 000000000000..8a3aaa0975e9 --- /dev/null +++ b/media-plugins/vdr-em84xx/files/confd-0.0.13 @@ -0,0 +1,7 @@ +# configuration for vdr plugin vdr-em84xx +# +# Enable that setting, and put the name of your dvd-drive here +# to get vdr-em84xx support legally playing even encrypted DVDs. +# You need to emerge media-video/packetcommand before you can use this. +#EM84XX_DVD_DRIVE="/dev/hdd" + diff --git a/media-plugins/vdr-em84xx/files/digest-vdr-em84xx-0.0.13 b/media-plugins/vdr-em84xx/files/digest-vdr-em84xx-0.0.13 new file mode 100644 index 000000000000..e44c7ff06cd1 --- /dev/null +++ b/media-plugins/vdr-em84xx/files/digest-vdr-em84xx-0.0.13 @@ -0,0 +1,3 @@ +MD5 cb36fa707c77cfab2f9350245018ee15 vdr-em84xx-0.0.13.tar.gz 85479 +RMD160 fd473cbe7f168a86276c9a40f8d64baa89a3d0dd vdr-em84xx-0.0.13.tar.gz 85479 +SHA256 a00bd64c41efce98d5ddaa5f44b1b55c31964be2b994cbb1a280cc61ea33b606 vdr-em84xx-0.0.13.tar.gz 85479 diff --git a/media-plugins/vdr-em84xx/files/rc-addon-0.0.13.sh b/media-plugins/vdr-em84xx/files/rc-addon-0.0.13.sh new file mode 100644 index 000000000000..08715cdccc5b --- /dev/null +++ b/media-plugins/vdr-em84xx/files/rc-addon-0.0.13.sh @@ -0,0 +1,11 @@ +modprobe realmagic84xx >/dev/null 2>&1 + +if [ -n "${EM84XX_DVD_DRIVE}" ]; then + modprobe packetcommand >/dev/null 2>&1 + for minor in 0 1 2 3; do + mknod /dev/dvdpc${minor} c 123 ${minor} + chown vdr:vdr /dev/dvdpc${minor} + done + export USE_DRIVE="${EM84XX_DVD_DRIVE}" +fi + |