summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-10-03 16:13:50 +0000
committerMichael Weber <xmw@gentoo.org>2011-10-03 16:13:50 +0000
commitefba67cdc5865869af326e7d3e41c3c14fa5bdeb (patch)
treea9b6048aa5cd4cb0d70a03e54c0651769e99dfdb
parentAdd ebuild for libgmp.so.3 ABI name. (diff)
downloadhistorical-efba67cdc5865869af326e7d3e41c3c14fa5bdeb.tar.gz
historical-efba67cdc5865869af326e7d3e41c3c14fa5bdeb.tar.bz2
historical-efba67cdc5865869af326e7d3e41c3c14fa5bdeb.zip
Initial import, thanks to spadix, Andrew Savchenko for the ebuilds on bug 288002
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64
-rw-r--r--media-gfx/zbar/ChangeLog10
-rw-r--r--media-gfx/zbar/Manifest14
-rw-r--r--media-gfx/zbar/metadata.xml10
-rw-r--r--media-gfx/zbar/zbar-0.10.ebuild52
4 files changed, 86 insertions, 0 deletions
diff --git a/media-gfx/zbar/ChangeLog b/media-gfx/zbar/ChangeLog
new file mode 100644
index 000000000000..d909af45a13d
--- /dev/null
+++ b/media-gfx/zbar/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for media-gfx/zbar
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/ChangeLog,v 1.1 2011/10/03 16:13:50 xmw Exp $
+
+*zbar-0.10 (03 Oct 2011)
+
+ 03 Oct 2011; Michael Weber <xmw@gentoo.org> +zbar-0.10.ebuild, +metadata.xml:
+ Initial import, thanks to spadix, Andrew Savchenko for the ebuilds on bug
+ 288002
+
diff --git a/media-gfx/zbar/Manifest b/media-gfx/zbar/Manifest
new file mode 100644
index 000000000000..3e0cb1aafc63
--- /dev/null
+++ b/media-gfx/zbar/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST zbar-0.10.tar.bz2 592602 RMD160 a68db3e81d596a506e50e797c3540a05b8b84a9f SHA1 273b47c26788faba4325baecc34063e27a012963 SHA256 234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6
+EBUILD zbar-0.10.ebuild 1356 RMD160 0b19b7353b871f7df65823bd624415cb119f476c SHA1 dadfe787a2dae43449c608d96aa2caf602c7666c SHA256 9335a964117000d743f2b672bf8ebdbdf5b2e63c46140fa6a52b48046c2146a1
+MISC ChangeLog 390 RMD160 788bb3345a3f5febfbbde265cfa7ffaf2baf47e9 SHA1 db0bcc9582d2eecd05aad9dd4f1b0aef1891aadb SHA256 820a6915bcdf4576d121e9aabac382f84e1b35ab1b0f495caed15cd3d0967e81
+MISC metadata.xml 245 RMD160 6b03982a4d5f32d9fa6b9259ae36f9fcb07c8404 SHA1 fb16c7b4c5ab071dd979f761b8bb075f5396b737 SHA256 375a1da02cd2c393ce2378a73c1ce08134bc030b3bb378c6a4d6ca9cd5be1f8d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk6J30QACgkQknrdDGLu8JD5UgD/Q5cvX3lvJuEPwNCM3XM/uTd+
+3aNAQAMsJY/jcfJmJUQA/AunDUwdTQhhqo25VEDdyv0YHWVJ01Sh39CkCpFvAo4J
+=eCPM
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/zbar/metadata.xml b/media-gfx/zbar/metadata.xml
new file mode 100644
index 000000000000..02b909e46b7e
--- /dev/null
+++ b/media-gfx/zbar/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>
+
diff --git a/media-gfx/zbar/zbar-0.10.ebuild b/media-gfx/zbar/zbar-0.10.ebuild
new file mode 100644
index 000000000000..2c13b2a735b3
--- /dev/null
+++ b/media-gfx/zbar/zbar-0.10.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/zbar/zbar-0.10.ebuild,v 1.1 2011/10/03 16:13:50 xmw Exp $
+
+EAPI="2"
+
+PYTHON_DEPEND="2"
+inherit 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 v4l2 X xv"
+
+RDEPEND="gtk? ( =dev-libs/glib-2* =x11-libs/gtk+-2* )
+ imagemagick? ( >=media-gfx/imagemagick-6.2.6 )
+ jpeg? ( virtual/jpeg )
+ python? ( gtk? ( dev-python/pygtk ) )
+ qt4? ( x11-libs/qt-core x11-libs/qt-gui )
+ X? ( x11-libs/libXext
+ xv? ( x11-libs/libXv ) )"
+
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local conf="--disable-video"
+ if use v4l || use v4l2 ; then
+ conf="--enable-video"
+ fi
+
+ econf ${conf} \
+ $(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)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc HACKING NEWS README TODO || die
+ rm -r "${D}"/usr/share/doc/${PN} || die
+ find "${D}" -name "*.la" -delete || die
+}