summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-01-08 14:57:27 +0000
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-01-08 14:57:27 +0000
commite4351b5457ca77f6bde9ef4c4c362371c5918b81 (patch)
tree8078db2bba605c2e433b4f6dbae88f4711850023 /media-plugins/vdr-mplayer
parentfixed epatch (diff)
downloadhistorical-e4351b5457ca77f6bde9ef4c4c362371c5918b81.tar.gz
historical-e4351b5457ca77f6bde9ef4c4c362371c5918b81.tar.bz2
historical-e4351b5457ca77f6bde9ef4c4c362371c5918b81.zip
cleanup; fixed compile with vdr-2.1.2, reported/tested by T.Eckert on vdrportal.de #post1179845
Package-Manager: portage-2.2.1/cvs/Linux i686 Manifest-Sign-Key: 0x34C2808A
Diffstat (limited to 'media-plugins/vdr-mplayer')
-rw-r--r--media-plugins/vdr-mplayer/ChangeLog11
-rw-r--r--media-plugins/vdr-mplayer/Manifest19
-rw-r--r--media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff38
-rw-r--r--media-plugins/vdr-mplayer/files/0.10.0/series1
-rw-r--r--media-plugins/vdr-mplayer/files/0.10.1/01_gentoo.diff33
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild56
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.10.1.ebuild63
-rw-r--r--media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild16
8 files changed, 28 insertions, 209 deletions
diff --git a/media-plugins/vdr-mplayer/ChangeLog b/media-plugins/vdr-mplayer/ChangeLog
index 956fcb3ae05d..6824bff81e40 100644
--- a/media-plugins/vdr-mplayer/ChangeLog
+++ b/media-plugins/vdr-mplayer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/vdr-mplayer
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.29 2013/01/09 21:48:55 hd_brummy Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/ChangeLog,v 1.30 2014/01/08 14:57:18 hd_brummy Exp $
+
+ 08 Jan 2014; Joerg Bornkessel <hd_brummy@gentoo.org>
+ -files/0.10.0/01_gentoo.diff, -files/0.10.0/series,
+ -files/0.10.1/01_gentoo.diff, -vdr-mplayer-0.10.0.ebuild,
+ -vdr-mplayer-0.10.1.ebuild, vdr-mplayer-0.10.2.ebuild:
+ cleanup; fixed compile with vdr-2.1.2, reported/tested by T.Eckert on
+ vdrportal.de #post1179845
09 Jan 2013; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-mplayer-0.10.2.ebuild:
diff --git a/media-plugins/vdr-mplayer/Manifest b/media-plugins/vdr-mplayer/Manifest
index cbfd05469966..40b15a902c1c 100644
--- a/media-plugins/vdr-mplayer/Manifest
+++ b/media-plugins/vdr-mplayer/Manifest
@@ -1,27 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX 0.10.0/01_gentoo.diff 1404 SHA256 f813becbc9d0cd67d583dbb958175403b30787c8ca01cf3e3a2878b909f66310 SHA512 b69356e55b08d2d115831324ff98364a2f53fa0836bec84ac965bfd87f6359d4c5abedc7c54e74fd783a6360f5e3549904bfdf711427ad99e2568ae5077ff79d WHIRLPOOL f8080837bee8bffc523742b8a31d1db1073ba8d37a857ddae39cc4891caed6f582af1de3c983b75321dfda8532fa1ea2d5f4c2454d2849a96b665f170368a979
-AUX 0.10.0/series 15 SHA256 bc0656e593953f8aa18060c652e0c4bc795471daf8af5fde6f2c5543011d7bbd SHA512 0ee5c632bb923356c17d08ff823b709a3a5b3b0e6a468abd7c9965ffcdc6f4ddbea576fe789ebabf74ba39a799c88194a4676743793de69f5d4023d943be0c96 WHIRLPOOL cc831f5fc03aa1d2487f4a70e6f0b610fa0247fdbd3b71ebf463ddb54a2c3ef28ab8dfac49812c28ef8fe6f0bfbdf3196e63a127600ce99a2a0f5068145aa612
-AUX 0.10.1/01_gentoo.diff 1327 SHA256 2032f52331d3cdc588fd568cc9ad4465f5894deef416a5e27d41042663d8cade SHA512 218a86d01bd23ed3b2b331289a6cbe1fbf766dff695c5dcb116dfa9abc218f39ee356f8cf906e331aa593a627d3e89078e96120667a30583f2cb213edfff6606 WHIRLPOOL a02e04f47f2ae16a5da6f36b24739d068235748a565c635806ad757a9f93b67f933164be979cdf8d54a11d7844034487b6ec17fc58ac25e26a1aa64e70cd17f2
AUX 0.10.2/01_gentoo.diff 1327 SHA256 2032f52331d3cdc588fd568cc9ad4465f5894deef416a5e27d41042663d8cade SHA512 218a86d01bd23ed3b2b331289a6cbe1fbf766dff695c5dcb116dfa9abc218f39ee356f8cf906e331aa593a627d3e89078e96120667a30583f2cb213edfff6606 WHIRLPOOL a02e04f47f2ae16a5da6f36b24739d068235748a565c635806ad757a9f93b67f933164be979cdf8d54a11d7844034487b6ec17fc58ac25e26a1aa64e70cd17f2
AUX confd-0.9.15.sh 278 SHA256 b1b63d4155b3822ab962264ff3db48fb83bbec8cdc332337a189c22774dc855e SHA512 62e93ce4fcdc5ae47722136d41c30524fb87fd53c46468ff808cc78e336850c7915da35504e1d41506c33a56188b2bc3b8fd9d9e14860b1aa690785f7a7d7f2b WHIRLPOOL 37c672ad1c0d52385e282e71b3af7a34f984022fda0c40f0146e9e2f8438fc5bde41bfff855d3502826205f5d3e37493740c22c27734aed263a7d357b7c7ecec
AUX mplayersources.conf 55 SHA256 d9fe127d18857b410414786dbe9ec239829ee60fd9db987515d35f41456f2d85 SHA512 ea34849de161dd0bbff67fc10b28e0f13fc4a9b05f34187782ee49e030b19be4e9dadd7eb9e3a444c431fc6bfc0ac64002a5b860ef62810bcc0f1b0949767395 WHIRLPOOL 5865e1dd02f738286ebd000386da358d2303add0b01a6747a252127a6d568a00041dd54e486ac8d4732c2d9a0fc9d7d7b7b39459a884323673a4bafad6fc691d
AUX rc-addon-0.9.15.sh 652 SHA256 3c6c172681ac123a756ec198daa385272201d19d33d11d1558725007d9694ea1 SHA512 41ea354a26811e0d30326c3c0a966ecedc248746453d11f0ffbe50019f594a3f064a0081bf1941e7b8af6804394ee84b9f17e32a3db3109adcbb989b08cae235 WHIRLPOOL 5230d0e0c2dd39d556d367183f92fc47bb1cb082c616ebaa33b962d12803c5376160a11bcec341e7dd75eb67ee16ec238a0a4c26c3fcefdf269a9d97a6268c63
AUX vdr-mplayer-0.10.1-glibc-2.10.patch 478 SHA256 1bb6e5ebfd11490527cd873ad87caf0fd3f9aaf67a4d848f76e3974828bac9f5 SHA512 a44d82be2aea3b9e061bfba608a3174fdbae4d00070d4e62f498d43cb75acd0dbd2fce5526d6664f050f251c70c2e276df5678a8d6c8f82ebcce1a0b26558c48 WHIRLPOOL 042d97e34fee8cd46e30446b5416465b3cac39e9d7398c67410e55dc8316be043a76ee78d35274a4329b159ddee55525b4badd5b1b0d3184d4639d053dbfafcb
-DIST vdr-mp3-0.10.0.tar.gz 124424 SHA256 2cfcbb9315cc0c23d9461978db6d01ad7d72854a24b2f06da796c7c3faea98b0
-DIST vdr-mp3-0.10.1.tar.gz 136218 SHA256 6bb16c8006714852ec3474aa5ab82b5c4fd1f7597dc94d8549168b3b984fe266
DIST vdr-mp3-0.10.2.tar.gz 131512 SHA256 284def742b7ced5a34315eac2663a3f091237608274ee4fcd02797510b93506f SHA512 8f65d9f41643266137fcc950d0da66ef9c4ce5dff82828c88230cda9d8ef4f7e39d096557d69bf124a287496276508dc9464c0868b4cbef9059de1108cd35f40 WHIRLPOOL 4872707dabaf14965a2b0733a2e04f3798735be48cf05c2383d06850dae0446884779025bd0b6837e80fac2ca0d9c95692d2a35814b80c5c3b6a1040ce1a34d9
-EBUILD vdr-mplayer-0.10.0.ebuild 1387 SHA256 a0acc0c40bf20f60e6702e0dd253fbc6be0c971c35aa5658788c4b7bed085657 SHA512 bdd6c3666156d650df2d8c09f223b38166edc8bdc2266ea887d1c0a92055244b6ae7b720515c80c00ebd419817be0b7c6f6f4783a8759e4be19ae4af36f30978 WHIRLPOOL 1738981c42f6a6994d857545e7465b9d27e75cef41599456f548bfdac111167097bfc783611a7f2afd4d2a62194a8cd949cb20c5b8aee408997bc7e7b86753de
-EBUILD vdr-mplayer-0.10.1.ebuild 1560 SHA256 97ff43d1504bd445e715c1fcbf066d740d1162abde5035377c8c1f7f71bdf2e7 SHA512 9d23d2d4299108598de300e0eb1902d18ad4bc9077a8a66f2bbf44410bb85dd34656ffe01e4fe4d59fc54a10ff532095c8f19771770fc17e145ac1c8e762f9e2 WHIRLPOOL 8205d9b2c99b7df3aa08634d62f0c21463066bd82cc42f64a415341010e024d6a4f6aa3468d5d2cbeb91c6187dd59f6c9e042d98a85cae48fa0a07361fc5eb8e
-EBUILD vdr-mplayer-0.10.2.ebuild 1451 SHA256 ba2fbf4177f5b362a76d98c07b94fe668be1f5b9aaded138eedbf811986d6485 SHA512 4dca958ad47af6d3024b2418befa119eb29091603ac8409b13d8743e363dab9005ef113306f73529002bdd29b456c628e29674d25fe447229cb29fcece065a61 WHIRLPOOL 0defb4342772331838aae35e0f1117e6d9d4fabf6dfbd25d05af48d961c0ef079edea4045a5220b0d01274ca9c7a58bf6cfc4bfccb7d87841dec48906da83fa9
-MISC ChangeLog 5477 SHA256 f0d1bff8b2ad0dad6d0004df8efd05dea89b276cb43e32b3bb0dead158fa9c8d SHA512 20697dac0735d6025d661a8ad354f1fb394dd7ff4f2cdbc979e354f3526eb94fc5d4daaeda44ca9037288f558a2f82180c61965ae36ae7fe3da59fdacb7df7ad WHIRLPOOL c1ca005c8860ef12be2ce87de31223f02aa778ca8ae01a2442922e0e6858650bfcc45bb3af85a1d916098ac7f51d265be5cb3367ccb7c7cc1abfe739d027e5c6
+EBUILD vdr-mplayer-0.10.2.ebuild 1643 SHA256 d553471fb9bf8fe08a2aa06ef435e491d28c234926303193e02d6c7075e4bccb SHA512 f922be8531155a623adbbb8cba054325bab06a67e3bc090561fc545a776ba361467ef6efa867f00d80a225c954e9a7b34e70cf745aa2089ca0d4f499fa04de2a WHIRLPOOL 125e2c33253faa5c49cb7d9b0e0bd8a29bc775ec88c8bfab1f32ed1a5e3c2f962ac10f5949bbaefe4dde0f9175cff038fc39a9f0393f6f34fd2e46e0063017a3
+MISC ChangeLog 5804 SHA256 7728c7864bcd86330616b138a43b7c71690f3854679c46485418219d55f69578 SHA512 7c90919ca65bdce6a392c313fb397e080364991be5a8ee979cf99c56b7c77955cc793aa751792f9dbc33fd2efcc611f02bc45bee8d91a5a8d8a79139725975ff WHIRLPOOL 9dbe59f17aa3c0752c7fef18ef0a43d5d353828aa63de5d583811e5ca63560dce816119d2a13618707abd147230b77e90a7acd895372d65a4e5f7b2d0bed9b0f
MISC metadata.xml 508 SHA256 f318bda3bdd3594206fe0e0c2f92c0e726a3c43762450dc36d5623fa05f17faa SHA512 dd29d30befddaf262a7b39592c2b07f6fbf6eac85f3ad7abe2c92e74e3cdd8c0d6cc0d6c4ef1a12ef509d21befdf72980d1f0771b06a88abd597a83657883735 WHIRLPOOL 44a9ab9fee13db047965fe04090089ed5162a6ad3bb3794c0f6265f8c7db30c7de621f30a12bd0b243b438989c37808fe3ad0ee71446c74e093e3cf3e14352c2
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.19 (GNU/Linux)
Comment: added by hd_brummy@gentoo.org
-iD8DBQFQ7eXMdn07HTTCgIoRCDItAJ9CwR0U4OGlp+SSJX8fGHJxk5AYOgCeOfOw
-IpLgd3cYCZ40qJCp+6IKCvY=
-=N9NL
+iD8DBQFSzWdUdn07HTTCgIoRCLcUAJ9aG84Hwqqx96JmKfROPlYVh+GlIQCfas5x
+Qox5nrYmGF6YoVAq0hm371Q=
+=sJBt
-----END PGP SIGNATURE-----
diff --git a/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff b/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff
deleted file mode 100644
index 9e82ab14dab5..000000000000
--- a/media-plugins/vdr-mplayer/files/0.10.0/01_gentoo.diff
+++ /dev/null
@@ -1,38 +0,0 @@
-fix some path for gentoo install
-
-Joerg Bornkessel <hd_brummy@gentoo.org>
-Index: mp3-0.10.0/Makefile
-===================================================================
---- mp3-0.10.0.orig/Makefile
-+++ mp3-0.10.0/Makefile
-@@ -22,14 +22,14 @@
- # in the VDR directory an set them there.
-
- ### uncomment one of these lines, if you don't want one of the plugins
--#WITHOUT_MP3=1
-+WITHOUT_MP3=1
- #WITHOUT_MPLAYER=1
-
- ### uncomment the following line, if you don't have libsndfile installed
--#WITHOUT_LIBSNDFILE=1
-+WITHOUT_LIBSNDFILE=1
-
- ### uncomment the following line, if you don't have libvorbisfile installed
--#WITHOUT_LIBVORBISFILE=1
-+WITHOUT_LIBVORBISFILE=1
-
- ### uncomment the following line, if you want OSS sound output
- #WITH_OSS_OUTPUT=1
-Index: mp3-0.10.0/mplayer.c
-===================================================================
---- mp3-0.10.0.orig/mplayer.c
-+++ mp3-0.10.0/mplayer.c
-@@ -825,7 +825,7 @@ bool cPluginMPlayer::Start(void)
- {
- if(!CheckVDRVersion(1,1,16,"mplayer")) return false;
- i18n_name=Name();
-- MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayersources.conf"));
-+ MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayer/mplayersources.conf"));
- if(MPlaySources.Count()<1) {
- esyslog("ERROR: you must have defined at least one source in mplayersources.conf");
- fprintf(stderr,"No source(s) defined in mplayersources.conf\n");
diff --git a/media-plugins/vdr-mplayer/files/0.10.0/series b/media-plugins/vdr-mplayer/files/0.10.0/series
deleted file mode 100644
index 65a3f0ae0891..000000000000
--- a/media-plugins/vdr-mplayer/files/0.10.0/series
+++ /dev/null
@@ -1 +0,0 @@
-01_gentoo.diff
diff --git a/media-plugins/vdr-mplayer/files/0.10.1/01_gentoo.diff b/media-plugins/vdr-mplayer/files/0.10.1/01_gentoo.diff
deleted file mode 100644
index 6eb95c7239ca..000000000000
--- a/media-plugins/vdr-mplayer/files/0.10.1/01_gentoo.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur mp3-0.10.1.orig/Makefile mp3-0.10.1/Makefile
---- mp3-0.10.1.orig/Makefile 2008-03-02 16:58:40.988974674 +0100
-+++ mp3-0.10.1/Makefile 2008-03-02 16:59:36.879557750 +0100
-@@ -24,14 +24,14 @@
- # in the VDR directory an set them there.
-
- ### uncomment one of these lines, if you don't want one of the plugins
--#WITHOUT_MP3=1
-+WITHOUT_MP3=1
- #WITHOUT_MPLAYER=1
-
- ### uncomment the following line, if you don't have libsndfile installed
--#WITHOUT_LIBSNDFILE=1
-+WITHOUT_LIBSNDFILE=1
-
- ### uncomment the following line, if you don't have libvorbisfile installed
--#WITHOUT_LIBVORBISFILE=1
-+WITHOUT_LIBVORBISFILE=1
-
- ### uncomment the following line, if you want OSS sound output
- #WITH_OSS_OUTPUT=1
-diff -Naur mp3-0.10.1.orig/mplayer.c mp3-0.10.1/mplayer.c
---- mp3-0.10.1.orig/mplayer.c 2008-03-02 16:58:41.068960305 +0100
-+++ mp3-0.10.1/mplayer.c 2008-03-02 17:00:53.845333952 +0100
-@@ -832,7 +832,7 @@
- #else
- i18n_name="vdr-mplayer";
- #endif
-- MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayersources.conf"));
-+ MPlaySources.Load(AddDirectory(ConfigDirectory(sourcesSub),"mplayer/mplayersources.conf"));
- if(MPlaySources.Count()<1) {
- esyslog("ERROR: you must have defined at least one source in mplayersources.conf");
- fprintf(stderr,"No source(s) defined in mplayersources.conf\n");
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild
deleted file mode 100644
index 1b0751029475..000000000000
--- a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.10.0.ebuild,v 1.5 2011/03/31 15:25:50 ssuominen Exp $
-
-inherit vdr-plugin eutils
-
-DESCRIPTION="VDR Plugin: Play video files not supported by VDR with mplayer (divx and more)"
-HOMEPAGE="http://www.muempf.de/"
-SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 x86"
-IUSE=""
-
-DEPEND=">=media-video/vdr-1.4.2"
-
-RDEPEND="${DEPEND}
- || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 )
- virtual/eject"
-
-S=${WORKDIR}/mp3-${PV}
-
-PATCHES=("${FILESDIR}/${PV}/01_gentoo.diff")
-
-VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
-VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
-
-src_install() {
-
- vdr-plugin_src_install
-
- insinto /etc/vdr/plugins/mplayer
- doins "${FILESDIR}/mplayersources.conf"
-
- into /usr/share/vdr/mplayer
- newbin examples/mount.sh.example mount-mplayer.sh
-
- dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
-}
-
-pkg_postinst() {
-
- vdr-plugin_pkg_postinst
-
- echo
- elog "Edit all config's /etc/vdr/plugins/mplayer"
- echo
-
- if ! has_version "media-plugins/vdr-mp3ng" ; then
- elog "Splitted ebuild!, no support for Audio files"
- elog "To play mp3, ogg and wav files,"
- elog "emerge media-plugins/vdr-mp3ng -pv"
- echo
- fi
-}
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.1.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.1.ebuild
deleted file mode 100644
index 7486f5827400..000000000000
--- a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.10.1.ebuild,v 1.6 2011/03/31 15:25:50 ssuominen Exp $
-
-inherit vdr-plugin eutils
-
-DESCRIPTION="VDR Plugin: Play video files not supported by VDR with mplayer (divx and more)"
-HOMEPAGE="http://www.muempf.de/"
-SRC_URI="http://www.muempf.de/down/vdr-mp3-${PV}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 x86"
-IUSE=""
-
-DEPEND=">=media-video/vdr-1.4.2"
-
-RDEPEND="${DEPEND}
- || ( media-video/mplay-sh >=media-video/mplayer-sh-0.8.6-r1 )
- virtual/eject"
-
-S=${WORKDIR}/mp3-${PV}
-
-PATCHES=( "${FILESDIR}/${PV}/01_gentoo.diff"
- "${FILESDIR}/${P}-glibc-2.10.patch" )
-
-VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
-VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
-
-src_unpack() {
- vdr-plugin_src_unpack
-
- sed -i Makefile -e "s:i18n.c:i18n.h:g"
-}
-
-src_install() {
- vdr-plugin_src_install
-
- insinto /etc/vdr/plugins/mplayer
- doins "${FILESDIR}/mplayersources.conf"
-
- into /usr/share/vdr/mplayer
- newbin examples/mount.sh.example mount-mplayer.sh
-
- dodoc HISTORY MANUAL README examples/{image_convert,network}.sh.example
-}
-
-pkg_postinst() {
- vdr-plugin_pkg_postinst
-
- echo
- elog "Edit all config's /etc/vdr/plugins/mplayer"
- echo
-
- if ! has_version "media-plugins/vdr-mp3ng" ; then
- elog "Splitted ebuild!, no support for Audio files"
- elog "To play mp3, ogg and wav files,"
- elog "emerge media-plugins/vdr-mp3ng -pv"
- elog "or"
- elog "emerge media-plugins/vdr-mp3 -pv"
- echo
- fi
-}
diff --git a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild
index 8b65f40b4f67..02fe35346d58 100644
--- a/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild
+++ b/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild,v 1.3 2013/01/09 21:48:55 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mplayer/vdr-mplayer-0.10.2.ebuild,v 1.4 2014/01/08 14:57:18 hd_brummy Exp $
-EAPI="5"
+EAPI=5
inherit vdr-plugin-2
@@ -28,6 +28,16 @@ PATCHES=( "${FILESDIR}/${PV}/01_gentoo.diff" )
VDR_RCADDON_FILE=${FILESDIR}/rc-addon-0.9.15.sh
VDR_CONFD_FILE=${FILESDIR}/confd-0.9.15.sh
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ if has_version ">=media-video/vdr-2.1.2"; then
+ sed -e "s#VideoDirectory#cVideoDirectory::Name\(\)#" \
+ -i decoder.c \
+ -i player-mplayer.c
+ fi
+}
+
src_install() {
vdr-plugin-2_src_install