Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/zbar: zbar-0.10-r5.ebuild ChangeLog
Date: Sun, 30 Nov 2014 13:10:01
Message-Id: 20141130130957.ABBF3B389@oystercatcher.gentoo.org
1 mgorny 14/11/30 13:09:57
2
3 Modified: ChangeLog
4 Added: zbar-0.10-r5.ebuild
5 Log:
6 Convert to python-single-r1.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.15 media-gfx/zbar/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 27 Nov 2013 23:11:56 -0000 1.14
24 +++ ChangeLog 30 Nov 2014 13:09:57 -0000 1.15
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/zbar
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.14 2013/11/27 23:11:56 vapier Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.15 2014/11/30 13:09:57 mgorny Exp $
31 +
32 +*zbar-0.10-r5 (30 Nov 2014)
33 +
34 + 30 Nov 2014; Michał Górny <mgorny@g.o> +zbar-0.10-r5.ebuild:
35 + Convert to python-single-r1.
36
37 *zbar-0.10-r4 (27 Nov 2013)
38
39
40
41
42 1.1 media-gfx/zbar/zbar-0.10-r5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/zbar-0.10-r5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/zbar/zbar-0.10-r5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: zbar-0.10-r5.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10-r5.ebuild,v 1.1 2014/11/30 13:09:57 mgorny Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python2_7 )
56
57 inherit autotools eutils flag-o-matic python-single-r1
58
59 DESCRIPTION="Library and tools for reading barcodes from images or video"
60 HOMEPAGE="http://zbar.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/zbar/${P}.tar.bz2"
62
63 LICENSE="LGPL-2.1"
64 SLOT="0"
65 KEYWORDS="~amd64 ~arm ~x86"
66 IUSE="gtk imagemagick jpeg python qt4 static-libs +threads v4l X xv"
67
68 RDEPEND="gtk? ( dev-libs/glib:2 x11-libs/gtk+:2 )
69 imagemagick? (
70 || ( media-gfx/imagemagick
71 media-gfx/graphicsmagick[imagemagick] ) )
72 jpeg? ( virtual/jpeg )
73 python? ( ${PYTHON_DEPS}
74 gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) )
75 qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 )
76 X? ( x11-libs/libXext
77 xv? ( x11-libs/libXv ) )"
78 DEPEND="${RDEPEND}
79 virtual/pkgconfig"
80
81 pkg_setup() {
82 use python && python-single-r1_pkg_setup
83 }
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-no-v4l1-check.patch
87 epatch "${FILESDIR}"/${P}-errors.patch
88 epatch "${FILESDIR}"/${P}-python-crash.patch
89
90 python_fix_shebang examples/upcrpc.py test/*.py
91
92 sed -i -e '/AM_INIT_AUTOMAKE/s:-Werror ::' configure.ac || die #423581
93 eautoreconf
94 }
95
96 src_configure() {
97 append-cppflags -DNDEBUG
98 econf \
99 $(use_with jpeg) \
100 $(use_with gtk) \
101 $(use_with imagemagick) \
102 $(use_with python) \
103 $(use_with qt4 qt) \
104 $(use_enable static-libs static) \
105 $(use_enable threads pthread) \
106 $(use_with X x) \
107 $(use_with xv xv) \
108 $(use_enable v4l video)
109 }
110
111 src_install() {
112 emake DESTDIR="${D}" install
113 dodoc HACKING NEWS README TODO
114 rm -r "${ED}"/usr/share/doc/${PN}
115 prune_libtool_files --all
116 }