diff options
Diffstat (limited to 'media-gfx/zbar')
-rw-r--r-- | media-gfx/zbar/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/zbar/Manifest | 25 | ||||
-rw-r--r-- | media-gfx/zbar/zbar-0.10-r5.ebuild | 68 |
3 files changed, 99 insertions, 3 deletions
diff --git a/media-gfx/zbar/ChangeLog b/media-gfx/zbar/ChangeLog index 77023dafb80c..8585b3b55953 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.14 2013/11/27 23:11:56 vapier Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.15 2014/11/30 13:09:57 mgorny Exp $ + +*zbar-0.10-r5 (30 Nov 2014) + + 30 Nov 2014; Michał Górny <mgorny@gentoo.org> +zbar-0.10-r5.ebuild: + Convert to python-single-r1. *zbar-0.10-r4 (27 Nov 2013) diff --git a/media-gfx/zbar/Manifest b/media-gfx/zbar/Manifest index a68063c1dd14..a3f7b64331fc 100644 --- a/media-gfx/zbar/Manifest +++ b/media-gfx/zbar/Manifest @@ -1,8 +1,31 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX zbar-0.10-errors.patch 178 SHA256 664434317c666147927fa23af138122c7248b06f37f8ae10a005713c1cb804ce SHA512 0978f9d52bed844448c5a92349806134e4b03bf069307fad2f3944b92b6f1c8dda094574ae4829860263d735ba7d20e71d435308185503634f9e46897479c7f1 WHIRLPOOL 1f9095a53d9320a4526fa773a0171a1176bda0b383982347b138175bed2aa0623cdacd23c48e35afd07f7a4dcd13f58d50dfa6dfd8ac1bd78152525bca41260a AUX zbar-0.10-no-v4l1-check.patch 2270 SHA256 fe41b3855be44d0f61e6e21dfd3fd90fc56b6f01b1e6633e3d2ab9ed9617f5c8 SHA512 f2f66476769469d701206bf1efae16d384cfbaa138c877a0ea32bedcd39b5abfd6dae630e7d729b009ab50052db0166198949f49ddfb66d708792000808da74d WHIRLPOOL 3e2c65812ada05197085a6823b0c063f6264d72c55a91383d25c8b8576a4cb50ff707ad655993723fcae87f42f366f6ea637640db21ba6d15544443e07269db6 AUX zbar-0.10-python-crash.patch 604 SHA256 a8f27e03a58be705ea9f7a4b139f5c831171a44bd15d775fb5477c406f3e321c SHA512 56e1848466b2178fb25a1f88f1a35113c01d370927b5778af96f1b96bcdaa8349308ac7ef14fb247bc5ec4165b2f7daa717159f3f7786ced9c043428afd641ba WHIRLPOOL f135563cbe4742412e6c2c41fabec6725d034bacbc9ee6d71aa315ce708a17e19807d06798c452089237b8a214c06f7d340c22f6985575b17d7118a448b394bd DIST zbar-0.10.tar.bz2 592602 SHA256 234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6 SHA512 76cb8a469e3ac9ea7932a95c500cf933501249cdb8dce4df558bf5681bd44c62111327b494e6e887079a5fd30b32154887dcc12962e6d27b1453f55457483db4 WHIRLPOOL b4d8f6b2f6deb52fc7a60721888c3bbec2f4a94d5e29488167908e8a448ca698d64db7f78fb22408d4e3360eda44fd82195a0d762b71d203ca87d549461cde7f EBUILD zbar-0.10-r3.ebuild 1697 SHA256 e44f7d279ccf7586ce96ed2a88cfb936e114a57c1614799e25a0dada5de5e63c SHA512 ae384bcd7d19b3979826c13c206df3e2a816b9eb19c4bf16352663e8fe1c636c5dbf3e128fbdf73b280479e28de6e51f4fde7ec189735691bfcf568c9c3964ff WHIRLPOOL dde0c659661c0ec1ff958d2930a7891cee2232f79c82370f32eff91d9b043ff158b1e01655382bc6d2d974be22f9bd0189fb4831745404eae54f17807328c557 EBUILD zbar-0.10-r4.ebuild 1755 SHA256 f75a1e7ef7449d9ddd46e3b768ab9cacfa1aaa2df9262db1baa08eff762aca09 SHA512 1a24e3d5089f706823b7b04821c61423572b50c324ba6328e4e56ef5911aee8a1d64c7f873973654615f95f05fe6f95e9b16fadb7be3c0145aa8ce960cbcfc67 WHIRLPOOL dcd68fb4dc28b6c5fecf979fffac76d2494fc41d9bc97dac76bf40c7b2fbace023490ec0289ffc772085c5b45c431fb4c3c4917444ef4a03a721129b7763e137 -MISC ChangeLog 2300 SHA256 8d4a464293bfad97243fbda9f707fe0fab364f07d15802763be9942b6e9973e0 SHA512 b900ecae303ab845a7ac3ebf70ed6e0598ff5ada4305ea31398e1e0223d64af5b1a8166955df368797da721d788e101eab103a89ce54f55c778c977c3df83316 WHIRLPOOL ee151970e0e0e198cd9f6c2ddfe7aff897ca48541c8d745ea29f4cf43991a6c71ef19895c19337ba0cc457c5e9de5598738d45ed80e35208178bc8c5d039313c +EBUILD zbar-0.10-r5.ebuild 1772 SHA256 64f863186997c3c82976e8c774e1976075d80fbe048d2f150216500885cc5a6f SHA512 08532a642f161a09fe8bc52b52fc25cdc61da62bde45943fc92ac7834718839fbb098ade4e8150dd677deff90599012985d4da87c996518473053875c82bb8c4 WHIRLPOOL f69e2bd1630752310936f9cabe0d9a419981bc9a52b4fd70a7a590f3331c5795e9a1e16888c630a7faaf4dd39a4b1be00d2d1d115417ab2f8c39836f7f5415d9 +MISC ChangeLog 2433 SHA256 6b7bd2830462e6ab1dea15db5ffce1d7ae6665c390171e6f320f717488f3721c SHA512 43a2967b143c3e0fbeabd93e04e87c79c5f26351579cfb1290585b1318180171f7102c6d8048289bfef2368f622c23b35f3a8313e97c6bda86f106b2c7857407 WHIRLPOOL f1f31da09cc4d5bf2625183bc3feaed36c9935075da5caf7609dc320a18ba44404e58cc2ea6ca445a3cde4d33d84b3c09c288fd3ac8c869ffd9a3ff65af21f93 MISC metadata.xml 224 SHA256 f810c6de744adceee241992d3f713142db3e7025986f6cc5898cfe3c9cb2f4a7 SHA512 4f78d959809ec0db2f9be2a7747d572fa8ee03d177044dd46574881a6ee83736510b76062c12daecae609282d197ba466e8a3e3a654b1383e04c659acd41bef5 WHIRLPOOL 0300a228d371c918b051bc24859dfe4e5d0d2a71b80f697f202749c5aca69efcee4be6e69454c9abfa4ced28e19a9d1f71d6d7eaf54290b8d03b5c04fd209868 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQJ8BAEBCABmBQJUexcmXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC +MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOQhsP/ReLbNCzIaS5qKunMsqeJzGH +KqUIX+XEeQvXw9rk68fvw2PP36iZw4Es6OuCViOVpDHGHnG3CYDmoOfqb5kmrHZd +s8X8AwNokHP9lpjPDK73+l49BxfCZffvjiZATEWzlNbuZEIhUuUZgI3MXKfp9Bm0 +B3FuB37qT1/hVsBIdAjK1LdXFSWYXIM/EAX0Bkwt23gDN+MktJt2R+IJWwpwnfzx +cBvAPOI7So7Un0vn392WZZHrwTPFz81b/pZynXTh988fWL2TWJGOVCHAzwW4SPuZ +zlxXDzW7kMKK8+TObRGNbFRJvKgI2mAwqna6MR1UAtBQ5AyapTRwpjnB8rGBYhrC +IBwlimYFuDYJjJ9jG5DquDHIilY7KFlDiX4e8KU5ojhzXJUJj66xX/0b/ziXT7ET +CaxCmjA2KsiK79bzCOEl6Ie0XDFJn6wmaLrtWSD5LkLL+/ldU87sn5scq/TG25Of +Wd6qWNadyWfJdL74ZQ38uZPUY7uouwJ6Fjsx6eELJXk19GZ6tgcxroR6alKa/Y47 +g6lP4V/uegYz0f9MqY7uUBrxNcJo/3vWqx2j6TKZCpKyPraOjNHA1M+v2h3rhKga +rUhu9o9znlRqELAoSsVf5gce0nWESpl09Rqz8/hfmUbB897G6t7LUCqsWIGTW8Wc +hwC+P4PlXFEwfsUYuyvR +=4q7/ +-----END PGP SIGNATURE----- diff --git a/media-gfx/zbar/zbar-0.10-r5.ebuild b/media-gfx/zbar/zbar-0.10-r5.ebuild new file mode 100644 index 000000000000..54df71196ee9 --- /dev/null +++ b/media-gfx/zbar/zbar-0.10-r5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10-r5.ebuild,v 1.1 2014/11/30 13:09:57 mgorny Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils flag-o-matic python-single-r1 + +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 ~arm ~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? ( ${PYTHON_DEPS} + gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] ) ) + qt4? ( dev-qt/qtcore:4 dev-qt/qtgui:4 ) + X? ( x11-libs/libXext + xv? ( x11-libs/libXv ) )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-no-v4l1-check.patch + epatch "${FILESDIR}"/${P}-errors.patch + epatch "${FILESDIR}"/${P}-python-crash.patch + + python_fix_shebang examples/upcrpc.py test/*.py + + sed -i -e '/AM_INIT_AUTOMAKE/s:-Werror ::' configure.ac || die #423581 + eautoreconf +} + +src_configure() { + append-cppflags -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 +} |