On Wed, Jun 18, 2008 at 05:24:34AM +0000, Josh Glover (jmglov) wrote: > LICENSE="Intel" Check configure output, GPL-2 license is enabled if v4l and/or xine USE flags are on.
> SLOT="0" > KEYWORDS="~x86" > IUSE="ffmpeg gtk ieee1394 python swig v4l v4l2 xine" > > DEPEND=" > dev-util/pkgconfig With the code below, pkgconfig ends up in RDEPEND, and we don't want that. Try using COMMON_DEPEND for things like this. > media-libs/jasper > media-libs/jpeg > media-libs/libpng > media-libs/tiff > sys-libs/zlib > ffmpeg? ( >=media-video/ffmpeg-0.4.9 ) > ieee1394? ( media-libs/libdc1394 ) Check configure output, this package needs a version of libdc1394 in SLOT 1. > ieee1394? ( sys-libs/libraw1394 ) Check configure output, this package needs a version >=1.2.0 > gtk? ( >=x11-libs/gtk+-2 ) This could be better done with SLOT dependencies. > python? ( >=dev-lang/python-2.3 ) > swig? ( dev-lang/swig ) Check configure output, this package needs swig >=1.3.30 > xine? ( media-libs/xine-lib ) > " > RDEPEND="${DEPEND}" > You're missing OpenEXR as a runtime/buildtime dependency > src_compile() { > local myconf="--without-quicktime" > > if use ffmpeg ; then > ## TODO: jmglov 2008/06/18 > ## Remove this junk once bug # 227975 is resolved > ewarn "${PN} currently will not build with ffmpeg support" > ewarn "Please enable the 'xine' USE flag instead" > ewarn "Working on this in bug # 227975" > die "configuration failed; see above" > ## TODO: jmglov 2008/06/18 You can use.mask ffmpeg for the time being, so users don't get killed by this in the meantime, before you pull my patches from the science overlay > > myconf="${myconf} --with-ffmpeg --without-xine" > elif use xine ; then > myconf="${myconf} --with-xine --without-ffmpeg" > else > die "You must set one of the 'ffmpeg' or 'xine' USE flags" > fi That doesn't seem right, it's working in the science overlay with neither of them set. > myconf="${myconf} $(use_with ieee1394 1394libs)" > myconf="${myconf} $(use_with python)" > myconf="${myconf} $(use_with swig)" > myconf="${myconf} $(use_with v4l)" > > econf ${myconf} || die "econf failed" > > emake || die "emake failed" > } Beware of automagic dependencies, they're fixed in the science overlay! > > > > 1.1 media-libs/opencv/metadata.xml > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/metadata.xml?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/metadata.xml?rev=1.1&content-type=text/plain > > Index: metadata.xml > =================================================================== > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> > <pkgmetadata> > <maintainer> > <email>[EMAIL PROTECTED]</email> > <name>Josh Glover</name> > </maintainer> > <longdescription>OpenCV (Open Source Computer Vision) is a library of > programming functions mainly aimed at real time computer vision. > > Example applications of the OpenCV library are Human-Computer Interaction > (HCI); Object Identification, Segmentation and Recognition; Face Recognition; > Gesture Recognition; Motion Tracking, Ego Motion, Motion Understanding; > Structure From Motion (SFM); and Mobile Robotics.</longdescription> > </pkgmetadata> > > > > 1.1 media-libs/opencv/Manifest > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/Manifest?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/Manifest?rev=1.1&content-type=text/plain > > Index: Manifest > =================================================================== > DIST opencv-1.0.0.tar.gz 11146334 RMD160 > f041798ea63101b90e945957e0d0ad3f7497dcd4 SHA1 > c7dd500703b0060cedfa049fcb33de0846e631fb SHA256 > 3a6ee888e4dd4ab7f2bc80d046688c099c6a95d1267af554b7c8f1543b66f21e > EBUILD opencv-1.0.0.ebuild 1687 RMD160 > 84b439cc4a0bc06723b3ccec129cd84071e82e48 SHA1 > d296fb7057e192ee0c0b424a9577cb25f79dca0e SHA256 > aa1521a657e1fe352a596d261a24497ea012962aac03d2eba6abcfa22fa01b6f > MISC ChangeLog 258 RMD160 8c6fcc66840ee3c1aa26e27c5bc640e7d63ed85b SHA1 > 4558d511042c00854b070b236424da03a90b1c37 SHA256 > 52d247930ecb833cd9f34552c2aa8f931435578c0081e7a00fd56dece8318ce1 > MISC metadata.xml 652 RMD160 5cfb86ff65264086bc032c406763d3cc46b075d2 SHA1 > 771ee2dc24641518bbacc47bbffa356d0c071a35 SHA256 > b63ce92a359d882b519ef92ef358a73ce854bd875e19c283c72217b0d7965bdc > > > > 1.1 media-libs/opencv/ChangeLog > > file : > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.1&view=markup > plain: > http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/opencv/ChangeLog?rev=1.1&content-type=text/plain > > Index: ChangeLog > =================================================================== > # ChangeLog for media-libs/opencv > # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 > # $Header: /var/cvsroot/gentoo-x86/media-libs/opencv/ChangeLog,v 1.1 > 2008/06/18 05:24:34 jmglov Exp $ > > *opencv-1.0.0 (18 Jun 2008) > > 18 Jun 2008; Josh Glover <[EMAIL PROTECTED]> +metadata.xml, > +opencv-1.0.0.ebuild: > Added to Portage tree > > > > > -- > [EMAIL PROTECTED] mailing list >
pgp4qbFJrm8GY.pgp
Description: PGP signature