diff options
author | Peter Volkov <pva@gentoo.org> | 2011-04-29 09:13:43 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2011-04-29 09:13:43 +0000 |
commit | 182365ad266f7c0a63fa8be60c91dec1755446e1 (patch) | |
tree | ee8bd0ee0b6c24518f5cb66c5bab75ed304b5d8a /app-text/cuneiform | |
parent | Stable on amd64 wrt bug #361889 (diff) | |
download | historical-182365ad266f7c0a63fa8be60c91dec1755446e1.tar.gz historical-182365ad266f7c0a63fa8be60c91dec1755446e1.tar.bz2 historical-182365ad266f7c0a63fa8be60c91dec1755446e1.zip |
Version bump, thank yaleks for this job.
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'app-text/cuneiform')
-rw-r--r-- | app-text/cuneiform/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/cuneiform/cuneiform-1.1.0.ebuild | 39 |
2 files changed, 45 insertions, 1 deletions
diff --git a/app-text/cuneiform/ChangeLog b/app-text/cuneiform/ChangeLog index 666da2b18941..982c6abe9016 100644 --- a/app-text/cuneiform/ChangeLog +++ b/app-text/cuneiform/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-text/cuneiform # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/cuneiform/ChangeLog,v 1.3 2011/01/15 22:22:28 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/cuneiform/ChangeLog,v 1.4 2011/04/29 09:11:06 pva Exp $ + +*cuneiform-1.1.0 (29 Apr 2011) + + 29 Apr 2011; Peter Volkov <pva@gentoo.org> +cuneiform-1.1.0.ebuild: + Version bump, thank yaleks for this job. *cuneiform-1.0.0 (15 Jan 2011) diff --git a/app-text/cuneiform/cuneiform-1.1.0.ebuild b/app-text/cuneiform/cuneiform-1.1.0.ebuild new file mode 100644 index 000000000000..d14bdbffa57c --- /dev/null +++ b/app-text/cuneiform/cuneiform-1.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/cuneiform/cuneiform-1.1.0.ebuild,v 1.1 2011/04/29 09:11:06 pva Exp $ + +EAPI="4" +inherit cmake-utils versionator + +PV_MAJ=$(get_version_component_range 1-2) +MY_P=${PN}-linux-${PV} + +DESCRIPTION="An enterprise quality optical character recognition (OCR) engine by Cognitive Technologies" +HOMEPAGE="https://launchpad.net/cuneiform-linux" +SRC_URI="http://launchpad.net/${PN}-linux/${PV_MAJ}/${PV_MAJ}/+download/${MY_P}.tar.bz2" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug +imagemagick" + +RDEPEND="imagemagick? ( media-gfx/imagemagick )" +DEPEND=">=dev-util/cmake-2.6.2 + ${RDEPEND}" + +DOCS="readme.txt" + +S=${WORKDIR}/${MY_P} + +src_prepare(){ + # respect LDFLAGS + sed -i 's:\(set[(]CMAKE_SHARED_LINKER_FLAGS "[^"]*\):\1 $ENV{LDFLAGS}:' \ + "${S}/cuneiform_src/CMakeLists.txt" || die "failed to sed for LDFLAGS" + # Fix automagic dependencies / linking + if ! use imagemagick; then + sed -i "s:find_package(ImageMagick COMPONENTS Magick++):#DONOTFIND:" \ + "${S}/cuneiform_src/CMakeLists.txt" \ + || die "Sed for ImageMagick automagic dependency failed." + fi +} |