summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Mavrinac <aaron@wintermute.(none)>2009-06-30 15:44:33 -0400
committerAaron Mavrinac <aaron@wintermute.(none)>2009-06-30 15:44:33 -0400
commit26a69d8a6ffc088477934205170d2e44ac1a274c (patch)
tree96bcfaef5eadca98283c36317da75c4c951d7023
parentChanged Git repo references from glorfindel to commander. (diff)
downloadezod-26a69d8a6ffc088477934205170d2e44ac1a274c.tar.gz
ezod-26a69d8a6ffc088477934205170d2e44ac1a274c.tar.bz2
ezod-26a69d8a6ffc088477934205170d2e44ac1a274c.zip
Initial import of dev-python/ctypes-opencv ebuild.
Also fixed some configure options in media-libs/opencv for -python support.
-rw-r--r--dev-python/ctypes-opencv/ChangeLog8
-rw-r--r--dev-python/ctypes-opencv/Manifest4
-rw-r--r--dev-python/ctypes-opencv/ctypes-opencv-0.7.3.ebuild32
-rw-r--r--dev-python/ctypes-opencv/metadata.xml13
-rw-r--r--media-libs/opencv/ChangeLog3
-rw-r--r--media-libs/opencv/Manifest4
-rw-r--r--media-libs/opencv/opencv-1.1.0_pre1.ebuild15
7 files changed, 66 insertions, 13 deletions
diff --git a/dev-python/ctypes-opencv/ChangeLog b/dev-python/ctypes-opencv/ChangeLog
new file mode 100644
index 0000000..e2cae9d
--- /dev/null
+++ b/dev-python/ctypes-opencv/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-python/ctypes-opencv
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*ctypes-opencv-0.7.3 (30 Jun 2009)
+
+ 30 Jun 2009; Aaron Mavrinac <mavrinac@gmail.com> ctypes-opencv-0.7.3.ebuild:
+ Initial import
diff --git a/dev-python/ctypes-opencv/Manifest b/dev-python/ctypes-opencv/Manifest
new file mode 100644
index 0000000..a73924a
--- /dev/null
+++ b/dev-python/ctypes-opencv/Manifest
@@ -0,0 +1,4 @@
+DIST ctypes-opencv-0.7.3-src.7z 69619 RMD160 084ac104710c776cb0981b83b8d89b91a9dae76b SHA1 dd5306641932a1d8601b349e461cd93bb4b26de1 SHA256 ff25610c534ad049af56cfa2d8a6259c4c95f473185fc5bcb9dc50905510a41f
+EBUILD ctypes-opencv-0.7.3.ebuild 653 RMD160 e9014b32369dc7b0ddae313c06ee3f23759ca298 SHA1 2ba20a2cfffd1f5272d6d3c9f3c4e6eeb00e6558 SHA256 44b82ca377fd578e2a46b31f502323f472125aa78598cd92d45887e2d05df276
+MISC ChangeLog 257 RMD160 06475cc6afe64e6c8fbefe2fff50e96979f3c57f SHA1 20700726c0ae45b4e16093aec49428df16707693 SHA256 6669db349e318549f8cedc75514cc90d583993e1daa4d335327ce5d9c239a21d
+MISC metadata.xml 610 RMD160 883724695fb37508ee019d72e65e2cde0767d1f5 SHA1 990973f444c5931630e66e2c3bebb12ec4fd2c88 SHA256 88f6bafa4f93e648554121505e5443c0f1672aa2c1064d13f57f0cafe5619792
diff --git a/dev-python/ctypes-opencv/ctypes-opencv-0.7.3.ebuild b/dev-python/ctypes-opencv/ctypes-opencv-0.7.3.ebuild
new file mode 100644
index 0000000..366a414
--- /dev/null
+++ b/dev-python/ctypes-opencv/ctypes-opencv-0.7.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+NEED_PYTHON=2.5
+
+inherit distutils eutils
+
+DESCRIPTION="ctypes-opencv is a package that brings OpenCV to Python."
+HOMEPAGE="http://code.google.com/p/ctypes-opencv"
+SRC_URI="http://${PN}.googlecode.com/files/${P}-src.7z"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="virtual/python
+ media-libs/opencv[-python]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ app-arch/p7zip"
+
+S="${WORKDIR}/src"
+
+src_unpack() {
+ 7z x "${DISTDIR}/${A}" || die "unpack failed"
+}
+
+src_install() {
+ distutils_src_install
+}
diff --git a/dev-python/ctypes-opencv/metadata.xml b/dev-python/ctypes-opencv/metadata.xml
new file mode 100644
index 0000000..0e86a92
--- /dev/null
+++ b/dev-python/ctypes-opencv/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<maintainer>
+ <name>Aaron Mavrinac</name>
+ <email>mavrinac@gmail.com</email>
+</maintainer>
+<longdescription lang="en">
+ctypes-opencv is a package that brings Intel's (now Willow Garage's) Open Source Computer Vision Library (OpenCV) to Python. OpenCV is a collection of algorithms and sample code for various computer vision problems. The goal of ctypes-opencv is to provide Python access to all documented functionality of OpenCV.
+</longdescription>
+</pkgmetadata>
+
diff --git a/media-libs/opencv/ChangeLog b/media-libs/opencv/ChangeLog
index adb0e27..b170434 100644
--- a/media-libs/opencv/ChangeLog
+++ b/media-libs/opencv/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 30 Jun 2009; Aaron Mavrinac <mavrinac@gmail.com> opencv-1.1.0_pre1.ebuild:
+ Fixed some configure options (including for -python)
+
*opencv-1.1.0_pre1 (12 Dec 2008)
12 Dec 2008; Aaron Mavrinac <mavrinac@gmail.com> opencv-1.1.0_pre1.ebuild:
diff --git a/media-libs/opencv/Manifest b/media-libs/opencv/Manifest
index c3cff19..26520c4 100644
--- a/media-libs/opencv/Manifest
+++ b/media-libs/opencv/Manifest
@@ -1,5 +1,5 @@
AUX opencv-1.1.0_pre1-stereorectify.patch 1409 RMD160 0b317df1cb2a2b61be6e673b1b52ecf836b0e7cf SHA1 2a4d841dac0882de2087bcf7c495045b4639d142 SHA256 2a25dd7b7cf968dfbac143a1cfbd1a5afaaafb2fceb62e60d51d21220139c8af
DIST opencv-1.1pre1.tar.gz 22301291 RMD160 d105a97f211637edbbac1eb21dca2b140b1f37be SHA1 4bc4bda92a250adcb82b236161d364c059021a43 SHA256 7e4f0026e5543c38afcf8a4298b1da2bace977499f99b885c925fc784783d812
-EBUILD opencv-1.1.0_pre1.ebuild 2358 RMD160 2530bbe2b099f337c06d506bc7c90a3ef9866b9c SHA1 f2376f472ef0c9fa9c9e54e57d805e03815ef585 SHA256 9c02d6841e8438b801bbde9547e17d7c98a8254f273d926b7f6ee7d3aa191f8d
-MISC ChangeLog 247 RMD160 0e6e217a68ed0ab2b33cef486e1d85ce122f4c6f SHA1 d2660a005d7773f779f1060474255bfaf4b36a59 SHA256 92427261739f9cd143793b0de3bff265edc9bb51f9f49ec2f83bc1b398cd3e84
+EBUILD opencv-1.1.0_pre1.ebuild 2208 RMD160 7c2fd75fe7d7cc2d9fd216845c7b06152e4cc360 SHA1 0125760b57d2674a340cc0c2ba08ebb1f1b4d967 SHA256 021ac9bfc2047c193fc96064136ab90dead67291ae1048a38af17bdee99fb50b
+MISC ChangeLog 380 RMD160 a5c9caee67a7e90f5ec07aef804d64409084b66c SHA1 d8f56dde9f5f89de56cafb85c2c66b56681ce4ce SHA256 545d051d01b0e7d5f117743fb43a6f4e8451ace56b64cd90735dd6a574facc0b
MISC metadata.xml 758 RMD160 bdfc7cd1bf469fe5951429333659946f377faa48 SHA1 812545f8fab4fc2304006b8ebc6bfcb1155cc519 SHA256 7468b2722153f29842e40153f877e1bd980ef617f46a3f438b686b2f1a9f1dea
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"
}