diff options
author | Samuli Suominen <drac@gentoo.org> | 2008-05-07 20:32:24 +0000 |
---|---|---|
committer | Samuli Suominen <drac@gentoo.org> | 2008-05-07 20:32:24 +0000 |
commit | 094f2d4671b0546e57a3d1dca143dc7804c68f2c (patch) | |
tree | 6a324625942ad7f0241e5638dafc333e5a125f4e /media-video/dvgrab/dvgrab-3.1.ebuild | |
parent | update ini settings (thanks to Lars Strojny <lars@strojny.net> for pointing t... (diff) | |
download | gentoo-2-094f2d4671b0546e57a3d1dca143dc7804c68f2c.tar.gz gentoo-2-094f2d4671b0546e57a3d1dca143dc7804c68f2c.tar.bz2 gentoo-2-094f2d4671b0546e57a3d1dca143dc7804c68f2c.zip |
Fix building with GCC 4.3 wrt #220749, thanks to Peter Alfredsen.
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'media-video/dvgrab/dvgrab-3.1.ebuild')
-rw-r--r-- | media-video/dvgrab/dvgrab-3.1.ebuild | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/media-video/dvgrab/dvgrab-3.1.ebuild b/media-video/dvgrab/dvgrab-3.1.ebuild index e18da2362ba4..e847e8dd9ca0 100644 --- a/media-video/dvgrab/dvgrab-3.1.ebuild +++ b/media-video/dvgrab/dvgrab-3.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/dvgrab/dvgrab-3.1.ebuild,v 1.1 2008/01/09 16:32:17 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/dvgrab/dvgrab-3.1.ebuild,v 1.2 2008/05/07 20:32:23 drac Exp $ + +inherit eutils DESCRIPTION="Digital Video (DV) grabber for GNU/Linux" HOMEPAGE="http://www.kinodv.org/" @@ -11,23 +13,27 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="jpeg quicktime" -DEPEND=">=sys-libs/libraw1394-1.1.0 +RDEPEND=">=sys-libs/libraw1394-1.1 >=media-libs/libdv-0.103 - >=media-libs/libiec61883-1.0.0 + >=media-libs/libiec61883-1 sys-libs/libavc1394 jpeg? ( media-libs/jpeg ) quicktime? ( media-libs/libquicktime )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" -RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} src_compile() { - econf $(use_with quicktime libquicktime) \ - $(use_with jpeg libjpeg) \ - || die "econf failed" - emake || die "emake failed" + econf $(use_with quicktime libquicktime) $(use_with jpeg libjpeg) + emake || die "emake failed." } src_install () { - emake DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS ChangeLog README TODO NEWS || die "dodoc failed" + emake DESTDIR="${D}" install || die "emake install failed." + dodoc AUTHORS ChangeLog NEWS README TODO } |