summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-04-01 17:09:13 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-04-01 17:09:13 +0000
commitdbbd8ef30e59dc8fe7534982dc0382fa009600cf (patch)
treecdfbefeea2af3eda6e34853b2693edd83eef75f2 /media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
parentnet-libs/libssh2 keyworded (diff)
downloadgentoo-2-dbbd8ef30e59dc8fe7534982dc0382fa009600cf.tar.gz
gentoo-2-dbbd8ef30e59dc8fe7534982dc0382fa009600cf.tar.bz2
gentoo-2-dbbd8ef30e59dc8fe7534982dc0382fa009600cf.zip
Make plugin compatible to vdr-1.6.0
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild')
-rw-r--r--media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
index 6a902a697836..2eaf1604ac20 100644
--- a/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
+++ b/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild,v 1.2 2007/08/20 03:16:35 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-pvr350/vdr-pvr350-0.0.4.20070807.ebuild,v 1.3 2008/04/01 17:09:13 zzam Exp $
inherit vdr-plugin eutils versionator
IUSE="yaepg"
@@ -40,3 +40,15 @@ pkg_setup() {
VDRPLUGIN_MAKE_TARGET="all SET_VIDEO_WINDOW=1"
fi
}
+
+src_unpack() {
+ vdr-plugin_src_unpack unpack
+
+ cd "${S}"
+ if has_version ">=media-video/vdr-1.6.0"; then
+ epatch "${FILESDIR}/${P}-vdr-1.6.0.diff"
+ fi
+
+ vdr-plugin_src_unpack all_but_unpack
+}
+