diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-06-13 18:42:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-06-13 18:42:49 +0000 |
commit | fea36759836a8167fa17112b401f997b576add58 (patch) | |
tree | 9991d5b4ca549717f24bbf257a9878cd1abc30d1 /media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild | |
parent | Version bump (brings <cups-1.4 support), remove old (diff) | |
download | gentoo-2-fea36759836a8167fa17112b401f997b576add58.tar.gz gentoo-2-fea36759836a8167fa17112b401f997b576add58.tar.bz2 gentoo-2-fea36759836a8167fa17112b401f997b576add58.zip |
Fix building with OpenCV >= 2.2.0 API wrt #365495 by Nickolay Kolchin-Semyonov
(Portage version: 2.2.0_alpha40/cvs/Linux x86_64)
Diffstat (limited to 'media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild')
-rw-r--r-- | media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild b/media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild new file mode 100644 index 000000000000..96b45d57090e --- /dev/null +++ b/media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/frei0r-plugins/frei0r-plugins-1.1.22-r2.ebuild,v 1.1 2011/06/13 18:42:49 ssuominen Exp $ + +EAPI=4 +inherit autotools eutils multilib + +DESCRIPTION="A minimalistic plugin API for video effects" +HOMEPAGE="http://www.piksel.org/frei0r/" +SRC_URI="http://propirate.net/frei0r/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86 ~x86-fbsd" +IUSE="doc facedetect scale0tilt" + +DEPEND="facedetect? ( >=media-libs/opencv-2.2.0 ) + scale0tilt? ( media-libs/gavl )" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS README ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-opencv-2.2.0-api.patch + epatch "${FILESDIR}"/${P}-no-automagic-deps.patch + epatch "${FILESDIR}"/${P}-libdir.patch + epatch "${FILESDIR}"/${P}-pkgconfig-support.patch # needed by media-libs/mlt + eautoreconf +} + +src_configure() { + econf \ + $(use_enable facedetect) \ + $(use_enable scale0tilt) \ + --libdir=/usr/$(get_libdir) +} + +src_install() { + default + use doc && dohtml -r doc/html +} |