summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/opencv/opencv-1.1.0_pre1.ebuild')
-rw-r--r--media-libs/opencv/opencv-1.1.0_pre1.ebuild15
1 files changed, 4 insertions, 11 deletions
diff --git a/media-libs/opencv/opencv-1.1.0_pre1.ebuild b/media-libs/opencv/opencv-1.1.0_pre1.ebuild
index 383f3fd..8ce780c 100644
--- a/media-libs/opencv/opencv-1.1.0_pre1.ebuild
+++ b/media-libs/opencv/opencv-1.1.0_pre1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}library/${PN}-1.1pre1.tar.gz"
LICENSE="v4l? ( GPL-2 ) xine? ( GPL-2 ) Intel"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug demos examples ffmpeg gtk ieee1394 jpeg jpeg2k openexr png python tiff xine v4l zlib"
+IUSE="debug demos ffmpeg gtk ieee1394 jpeg jpeg2k openexr png python tiff xine v4l zlib"
COMMON_DEPEND="ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
gtk? ( x11-libs/gtk+:2 )
@@ -50,7 +50,8 @@ src_compile() {
use debug && filter-ldflags -O1 -Wl --enable-new-dtags -s
local myconf="--without-quicktime"
- use python && myconf="${myconf} --with-swig --with-python"
+ use python && myconf="${myconf} --with-swig --with-python" \
+ || myconf="${myconf} --without-swig --without-python"
econf \
${myconf} \
@@ -59,16 +60,8 @@ src_compile() {
$(use_with ffmpeg) \
$(use_with ieee1394 1394libs) \
$(use_with v4l) \
- $(use_with v4l v4l2) \
- $(use_enable examples samples) \
$(use_enable debug) \
- $(use_enable demos apps) \
- $(use_enable zlib) \
- $(use_enable jpeg) \
- $(use_enable png) \
- $(use_enable openexr) \
- $(use_enable tiff) \
- $(use_enable jpeg2k jasper)
+ $(use_enable demos apps)
emake || die "Emake failed"
}