summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-22 11:57:56 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-22 11:57:56 +0000
commitc0673721d74e4d018e2bc70d70623abdf20cd2cc (patch)
treecea9bc18d2c7fcc0b085d00de9ee0ab550a22490 /media-gfx/scantailor
parentStable on amd64 wrt bug #322689 (diff)
downloadhistorical-c0673721d74e4d018e2bc70d70623abdf20cd2cc.tar.gz
historical-c0673721d74e4d018e2bc70d70623abdf20cd2cc.tar.bz2
historical-c0673721d74e4d018e2bc70d70623abdf20cd2cc.zip
Initial commit wrt #265584 by Vladimir Berezhnoy, Alexey Charkov and Aleksandr Yakimov.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/scantailor')
-rw-r--r--media-gfx/scantailor/ChangeLog11
-rw-r--r--media-gfx/scantailor/Manifest5
-rw-r--r--media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch24
-rw-r--r--media-gfx/scantailor/metadata.xml8
-rw-r--r--media-gfx/scantailor/scantailor-0.9.9.ebuild43
5 files changed, 91 insertions, 0 deletions
diff --git a/media-gfx/scantailor/ChangeLog b/media-gfx/scantailor/ChangeLog
new file mode 100644
index 000000000000..ddb11c5a3805
--- /dev/null
+++ b/media-gfx/scantailor/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-gfx/scantailor
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/ChangeLog,v 1.1 2010/06/22 11:57:56 ssuominen Exp $
+
+*scantailor-0.9.9 (22 Jun 2010)
+
+ 22 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +scantailor-0.9.9.ebuild, +files/scantailor-0.9.9-environment_flags.patch:
+ Initial commit wrt #265584 by Vladimir Berezhnoy, Alexey Charkov and
+ Aleksandr Yakimov.
+
diff --git a/media-gfx/scantailor/Manifest b/media-gfx/scantailor/Manifest
new file mode 100644
index 000000000000..b601c5d7a04e
--- /dev/null
+++ b/media-gfx/scantailor/Manifest
@@ -0,0 +1,5 @@
+AUX scantailor-0.9.9-environment_flags.patch 732 RMD160 8f4fbde7c63e49bfa078be45d7ddbd1cd3b9a240 SHA1 d2cd2f3223581973adcd621e6083be34f77ace87 SHA256 a346812401027d1f3a21ed5928685c877cf2105d0c1f2fcd7737327d338f76d5
+DIST scantailor-0.9.9.tar.gz 783134 RMD160 99104d310afa56bba8f4fd4e8c5820e8fbc34c02 SHA1 0fc61441cef7a538061a5ee94bd0d8361007e0ec SHA256 0db8a4d32decaaa2cf9442ae1204d504d27a21f64fab42704eb3c5cc0e559be2
+EBUILD scantailor-0.9.9.ebuild 1055 RMD160 cbe27f37bcb5d974482b9617eed9d6f349c6c2c7 SHA1 be5cdb373723a3982dcb579c0b48e7a593ef92be SHA256 4f960d5c015b0b733053c0213d9aa15d117c1dc24e43dd2c4c93ee0fa889c40d
+MISC ChangeLog 473 RMD160 6cccb44f71a7d21fcd5f213e5a1eb20d16ca2c29 SHA1 3d82b9124a4dee413ceff2f868d9dc8f7f2f5247 SHA256 6f83f3562bc152995e89bee5fbd03055432f2de79373aea418b0707e876b0d55
+MISC metadata.xml 252 RMD160 0ffc7bcc2f73a5e67554e1f754c708447aa25ef3 SHA1 dec3e19885be02d101fce48ef7d5365ec77c0a64 SHA256 9a107df8546d260fe9b5156ecd2f21a15c011d65d3434a769c4082d7c0e31e9b
diff --git a/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch b/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch
new file mode 100644
index 000000000000..70d860ec3bef
--- /dev/null
+++ b/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch
@@ -0,0 +1,24 @@
+--- cmake/SetDefaultGccFlags.cmake.orig 2010-06-22 14:39:55.000000000 +0300
++++ cmake/SetDefaultGccFlags.cmake 2010-06-22 14:44:27.000000000 +0300
+@@ -24,21 +24,6 @@
+ ENDIF(visibility_supported_)
+
+ IF(NOT COMPILER_FLAGS_OVERRIDDEN)
+- # Flags common for all build configurations.
+- SET(
+- CMAKE_C_FLAGS
+- "-Wall -Wno-unused -ffast-math"
+- CACHE STRING "Common C flags for all build configurations." FORCE
+- )
+- SET(
+- CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}"
+- CACHE STRING "Common C++ flags for all build configurations." FORCE
+- )
+- SET(
+- CMAKE_EXE_LINKER_FLAGS "" CACHE STRING
+- "Common link flags for all build configurations." FORCE
+- )
+-
+ # Release
+ SET(
+ CMAKE_C_FLAGS_RELEASE
diff --git a/media-gfx/scantailor/metadata.xml b/media-gfx/scantailor/metadata.xml
new file mode 100644
index 000000000000..cd8e8dec33c6
--- /dev/null
+++ b/media-gfx/scantailor/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>graphics</herd>
+ <use>
+ <flag name='dewarping'>Enable experimental dewarping support</flag>
+ </use>
+</pkgmetadata>
diff --git a/media-gfx/scantailor/scantailor-0.9.9.ebuild b/media-gfx/scantailor/scantailor-0.9.9.ebuild
new file mode 100644
index 000000000000..1c8da9d19ca5
--- /dev/null
+++ b/media-gfx/scantailor/scantailor-0.9.9.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/scantailor-0.9.9.ebuild,v 1.1 2010/06/22 11:57:56 ssuominen Exp $
+
+EAPI=2
+inherit cmake-utils eutils
+
+DESCRIPTION="A interactive post-processing tool for scanned pages"
+HOMEPAGE="http://scantailor.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2 GPL-3 public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="dewarping opengl"
+
+RDEPEND=">=media-libs/jpeg-8a
+ >=media-libs/libpng-1.2.43
+ >=media-libs/tiff-3.9.4
+ sys-libs/zlib
+ x11-libs/libXrender
+ x11-libs/qt-gui:4
+ opengl? ( x11-libs/qt-opengl:4 )"
+DEPEND="${RDEPEND}
+ dev-libs/boost"
+
+PATCHES=( "${FILESDIR}/${P}-environment_flags.patch" )
+
+src_configure() {
+ mycmakeargs=(
+ $(cmake-utils_use_enable dewarping)
+ $(cmake-utils_use_enable opengl)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ newicon resources/appicon.svg ${PN}.svg
+ make_desktop_entry ${PN} "Scan Tailor"
+}