/[gentoo-x86]/media-gfx/zbar/zbar-0.10.ebuild
Gentoo

Contents of /media-gfx/zbar/zbar-0.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jul 28 23:07:30 2012 UTC (7 years, 11 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Drop old

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10.ebuild,v 1.2 2011/10/30 15:53:55 ssuominen Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2"
8 inherit python
9
10 DESCRIPTION="Library and tools for reading barcodes from images or video"
11 HOMEPAGE="http://zbar.sourceforge.net/"
12 SRC_URI="mirror://sourceforge/zbar/${P}.tar.bz2"
13
14 LICENSE="LGPL-2.1"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="gtk imagemagick jpeg python qt4 static-libs +threads v4l X xv"
18
19 RDEPEND="gtk? ( =dev-libs/glib-2* =x11-libs/gtk+-2* )
20 imagemagick? ( >=media-gfx/imagemagick-6.2.6 )
21 jpeg? ( virtual/jpeg )
22 python? ( gtk? ( dev-python/pygtk ) )
23 qt4? ( x11-libs/qt-core x11-libs/qt-gui )
24 X? ( x11-libs/libXext
25 xv? ( x11-libs/libXv ) )"
26
27 DEPEND="${RDEPEND}"
28
29 src_configure() {
30 econf \
31 $(use_with jpeg) \
32 $(use_with gtk) \
33 $(use_with imagemagick) \
34 $(use_with python) \
35 $(use_with qt4 qt) \
36 $(use_enable static-libs static) \
37 $(use_enable threads pthread) \
38 $(use_with X x) \
39 $(use_with xv xv) \
40 $(use_enable v4l video)
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die
45 dodoc HACKING NEWS README TODO || die
46 rm -r "${D}"/usr/share/doc/${PN} || die
47 find "${D}" -name "*.la" -delete || die
48 }

  ViewVC Help
Powered by ViewVC 1.1.20