summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Mavrinac <mavrinac@gmail.com>2011-12-05 08:45:55 -0500
committerAaron Mavrinac <mavrinac@gmail.com>2011-12-05 08:45:55 -0500
commit3b52fb050ba0a88ed8485c38a25d02e3f6b7ee40 (patch)
treefe1a9096b21e43996060229c3cfd03ccb3baad89 /media-libs/opencv/opencv-1.1.0_pre1.ebuild
parentVersion bump dev-python/visual to 5.72. (diff)
downloadezod-3b52fb050ba0a88ed8485c38a25d02e3f6b7ee40.tar.gz
ezod-3b52fb050ba0a88ed8485c38a25d02e3f6b7ee40.tar.bz2
ezod-3b52fb050ba0a88ed8485c38a25d02e3f6b7ee40.zip
Major cleanup of overlay. Keep only maintained packages, and update manifests.
Diffstat (limited to 'media-libs/opencv/opencv-1.1.0_pre1.ebuild')
-rw-r--r--media-libs/opencv/opencv-1.1.0_pre1.ebuild80
1 files changed, 0 insertions, 80 deletions
diff --git a/media-libs/opencv/opencv-1.1.0_pre1.ebuild b/media-libs/opencv/opencv-1.1.0_pre1.ebuild
deleted file mode 100644
index fe51931..0000000
--- a/media-libs/opencv/opencv-1.1.0_pre1.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI="1"
-inherit eutils flag-o-matic autotools
-
-DESCRIPTION="A collection of algorithms and sample code for various computer vision problems."
-HOMEPAGE="http://www.intel.com/technology/computing/opencv/index.htm"
-SRC_URI="mirror://sourceforge/${PN}library/${PN}-1.1pre1.tar.gz"
-
-##If video for linux is enabled, add GPL-2, since it will need to use GPL-2
-##stuff, same for v4l
-LICENSE="v4l? ( GPL-2 ) xine? ( GPL-2 ) Intel"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-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 )
- ieee1394? ( >=sys-libs/libraw1394-1.2.0 media-libs/libdc1394:1 )
- jpeg? ( media-libs/jpeg )
- jpeg2k? ( media-libs/jasper )
- openexr? ( media-libs/openexr )
- png? ( media-libs/libpng:1.2 )
- python? ( >=dev-lang/python-2.3 >=dev-lang/swig-1.3.30 )
- tiff? ( media-libs/tiff )
- xine? ( media-libs/xine-lib )
- zlib? ( sys-libs/zlib )"
-
-DEPEND="${COMMON_DEPEND}
- gtk? ( dev-util/pkgconfig )"
-RDEPEND="${COMMON_DEPEND}"
-
-S="${WORKDIR}/${PN}-1.1.0"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # remove the install-hook that runs ldconfig.
- sed -i '/install-hook:/,/^$/d' Makefile.am
-
- epatch "${FILESDIR}"/${P}-libtool.patch
- epatch "${FILESDIR}"/${P}-link.patch
- epatch "${FILESDIR}"/${P}-stereorectify.patch
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_compile() {
- use debug && filter-ldflags -O1 -Wl --enable-new-dtags -s
- filter-ldflags -L
-
- local myconf="--without-quicktime"
- use python && myconf="${myconf} --with-swig --with-python" \
- || myconf="${myconf} --without-swig --without-python"
-
- econf \
- ${myconf} \
- $(use_with gtk) \
- $(use_with xine) \
- $(use_with ffmpeg) \
- $(use_with ieee1394 1394libs) \
- $(use_with v4l) \
- $(use_enable debug) \
- $(use_enable demos apps)
- emake || die "Emake failed"
-}
-
-src_test() {
- emake check || die "Tests failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
- dodoc AUTHORS ChangeLog README NEWS TODO
- insinto /usr/share/doc/${P}
- doins -r docs/
-}