diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-01-26 16:39:28 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2011-01-26 16:39:28 +0000 |
commit | f6c537356d47a4d156f2ec2353c7fd39f06a0402 (patch) | |
tree | c462c76e64a884288f0507704d5f5f23db47c4ac /media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild | |
parent | old (diff) | |
download | gentoo-2-f6c537356d47a4d156f2ec2353c7fd39f06a0402.tar.gz gentoo-2-f6c537356d47a4d156f2ec2353c7fd39f06a0402.tar.bz2 gentoo-2-f6c537356d47a4d156f2ec2353c7fd39f06a0402.zip |
restrict=test bug #279330; eapi=3; removed unneeded check of vdr's extpatch version
(Portage version: 2.1.9.25/cvs/Linux i686)
Diffstat (limited to 'media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild')
-rw-r--r-- | media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild index a82ee87c8a20..e6e7f65a24ec 100644 --- a/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild +++ b/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild @@ -1,13 +1,12 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild,v 1.6 2010/09/26 16:36:36 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-graphtft/vdr-graphtft-0.3.2.24.ebuild,v 1.7 2011/01/26 16:39:28 hd_brummy Exp $ -EAPI="2" +EAPI="3" -inherit eutils vdr-plugin flag-o-matic +RESTRICT="test" -#MY_P="${PN}-${PV/_rc/-rc}" -#S="${WORKDIR}/graphtft-${PV/_rc/-rc}" +inherit eutils vdr-plugin flag-o-matic S="${WORKDIR}/graphtft-24" @@ -42,30 +41,6 @@ PATCHES=("${FILESDIR}/${P}_gentoo.diff" "${FILESDIR}/${P}_gcc-4.4.x.diff" "${FILESDIR}/${P}_ffmpeg-0.5.diff") -extpatch_v_check() { - - EXTPATCH_V="`cat /var/db/pkg/media-video/vdr-*/vdr-*.ebuild | grep EXT_V | head -n 1 | cut -c8-9`" - - if [ "${EXTPATCH_V}" -lt "65" ]; then - echo - eerror "You need an update of vdr with a newer EXTENSIONSPATCH version!" - eerror "minimal version of Extensionspatch = 65!" - eerror "graphtft will not work fullfilled" - echo - einfo "use VDR" - einfo ">=media-video/vdr-1.6.0_p2-r2" - einfo "or" - einfo ">=media-video/vdr-1.7.0-r1 from vdr-devel Overlay" - echo - fi -} - -pkg_setup() { - vdr-plugin_pkg_setup - - extpatch_v_check -} - src_prepare() { sed -i Makefile -e "s: WITH_X_COMM = 1:#WITH_X_COMM = 1:" @@ -80,6 +55,7 @@ src_prepare() { sed -i "${S}"/imlibrenderer/fbrenderer/fbrenderer.c \ -i "${S}"/imlibrenderer/dvbrenderer/mpeg2encoder.c \ -e "s:libavutil/avcodec.h:libavcodec/avcodec.h:" + # UINT64_C is needed by ffmpeg headers append-flags -D__STDC_CONSTANT_MACROS } |