diff options
author | Michael Weber <xmw@gentoo.org> | 2013-04-19 20:11:10 +0000 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2013-04-19 20:11:10 +0000 |
commit | f96a4f3ad4c067134857ccae9ccc1b21f7ed8f71 (patch) | |
tree | cb0902d7c113f1a3fff5f735c83ecf49133c0c7f /media-gfx/zbar | |
parent | Stable for alpha, ia64, s390, wrt to bug #449298 (diff) | |
download | gentoo-2-f96a4f3ad4c067134857ccae9ccc1b21f7ed8f71.tar.gz gentoo-2-f96a4f3ad4c067134857ccae9ccc1b21f7ed8f71.tar.bz2 gentoo-2-f96a4f3ad4c067134857ccae9ccc1b21f7ed8f71.zip |
Fix glib slot dep (bug 444644, thanks James Cloos)
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'media-gfx/zbar')
-rw-r--r-- | media-gfx/zbar/ChangeLog | 7 | ||||
-rw-r--r-- | media-gfx/zbar/zbar-0.10-r3.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/media-gfx/zbar/ChangeLog b/media-gfx/zbar/ChangeLog index d85cb0727cd0..89472c282056 100644 --- a/media-gfx/zbar/ChangeLog +++ b/media-gfx/zbar/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/zbar # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.9 2013/03/02 21:41:57 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.10 2013/04/19 20:11:10 xmw Exp $ + +*zbar-0.10-r3 (19 Apr 2013) + + 19 Apr 2013; Michael Weber <xmw@gentoo.org> +zbar-0.10-r3.ebuild: + Fix glib slot dep (bug 444644, thanks James Cloos) 02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> zbar-0.10-r1.ebuild, zbar-0.10-r2.ebuild: diff --git a/media-gfx/zbar/zbar-0.10-r3.ebuild b/media-gfx/zbar/zbar-0.10-r3.ebuild new file mode 100644 index 000000000000..35928cde0421 --- /dev/null +++ b/media-gfx/zbar/zbar-0.10-r3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10-r3.ebuild,v 1.1 2013/04/19 20:11:10 xmw Exp $ + +EAPI=5 +PYTHON_DEPEND="2:2.6" + +inherit autotools eutils flag-o-matic python + +DESCRIPTION="Library and tools for reading barcodes from images or video" +HOMEPAGE="http://zbar.sourceforge.net/" +SRC_URI="mirror://sourceforge/zbar/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk imagemagick jpeg python qt4 static-libs +threads v4l X xv" + +RDEPEND="gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 ) + imagemagick? ( + || ( media-gfx/imagemagick + media-gfx/graphicsmagick[imagemagick] ) ) + jpeg? ( virtual/jpeg ) + python? ( gtk? ( >=dev-python/pygtk-2 ) ) + qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) + X? ( x11-libs/libXext + xv? ( x11-libs/libXv ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-v4l1-check.patch + epatch "${FILESDIR}"/${P}-errors.patch + + python_convert_shebangs 2 examples/upcrpc.py test/{barcodetest,test_pygtk}.py + + sed -i -e '/AM_INIT_AUTOMAKE/s:-Werror ::' configure.ac || die #423581 + eautoreconf +} + +src_configure() { + append-cflags -DNDEBUG + econf \ + $(use_with jpeg) \ + $(use_with gtk) \ + $(use_with imagemagick) \ + $(use_with python) \ + $(use_with qt4 qt) \ + $(use_enable static-libs static) \ + $(use_enable threads pthread) \ + $(use_with X x) \ + $(use_with xv xv) \ + $(use_enable v4l video) +} + +src_install() { + emake DESTDIR="${D}" install + dodoc HACKING NEWS README TODO + rm -r "${ED}"/usr/share/doc/${PN} + prune_libtool_files --all +} |