Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/scantailor/
Date: Sun, 26 Feb 2017 13:51:26
Message-Id: 1488116934.f17a5c062e0a6755f90d70827fb25f7bdd515bf6.johu@gentoo
1 commit: f17a5c062e0a6755f90d70827fb25f7bdd515bf6
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 26 13:47:45 2017 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 26 13:48:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f17a5c06
7
8 media-gfx/scantailor: Version bump 0.9.12.2
9
10 Gentoo-bug: 590582
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 media-gfx/scantailor/Manifest | 1 +
15 media-gfx/scantailor/scantailor-0.9.12.2.ebuild | 55 +++++++++++++++++++++++++
16 2 files changed, 56 insertions(+)
17
18 diff --git a/media-gfx/scantailor/Manifest b/media-gfx/scantailor/Manifest
19 index a45659523d..b0ab6bae86 100644
20 --- a/media-gfx/scantailor/Manifest
21 +++ b/media-gfx/scantailor/Manifest
22 @@ -1,2 +1,3 @@
23 DIST scantailor-0.9.11.1-boost-join-moc.patch 53044 SHA256 c00772facafdb696bf0e36ba216050cf3ec5b45c15e0099e6ef4935bffa9ba00 SHA512 77c6ee7988834c8694f9c09182fcdf87bdba64f3e69c9cc9b8347c4980a56c484a4368643f1c608ebbaeb469d4d6bc8d1a62f95fce18bc41dfce68137a457a61 WHIRLPOOL 0e5b04a65a5c47deeea6b3ec192549e50b22825df506bda2b87fbc1aa0254993a33c7c7907af1520c7e0ae4264a9a00b9e92d6114b1aee664408c69bb9bdcf00
24 DIST scantailor-0.9.11.1.tar.gz 1190198 SHA256 881647a4172c55a067a7b6687965441cf21176d79d93075b22a373ea9accd8d3 SHA512 cec327fd12144f7cee5043adfee3880c75fb147474e4c3b5166385f7a8f47cb5650ed2df930bbe1f4b8ac2c7229a887ecba1ca105b47b1023f5d3d7d7b54bdb4 WHIRLPOOL c064837bd4d5f4c3fbfa260493f3eccecff59910c934005148975f2f00511539ae0e66535d0a57bbf0458022c8ec249faa7f3df40ed8d89b2683530b885e4f6b
25 +DIST scantailor-0.9.12.2.tar.gz 1207379 SHA256 1f7b96bbe5179d46e332aea8d51ba50545fe7c510811e51588b6a4919e4feeab SHA512 d98603c5b3dfadeae3bda66d8b5ea085107edf9ee03efd299d50bf88a01f2b1092957f1ed4abe1a5d53b9028b7dec16dc5a8452d1a197fe0f3aaddeff6d02793 WHIRLPOOL 2ab46657538b5d95e2a564aa70775fdac8854136708f482c24c61507af217c75cb8974ace731a87b9a59d7e7da3788b23e28c178099fa479e2e01c3b767eb10c
26
27 diff --git a/media-gfx/scantailor/scantailor-0.9.12.2.ebuild b/media-gfx/scantailor/scantailor-0.9.12.2.ebuild
28 new file mode 100644
29 index 0000000000..9772950a27
30 --- /dev/null
31 +++ b/media-gfx/scantailor/scantailor-0.9.12.2.ebuild
32 @@ -0,0 +1,55 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=6
38 +
39 +inherit cmake-utils eutils virtualx toolchain-funcs versionator
40 +MY_PV="RELEASE_$(replace_all_version_separators _)"
41 +MY_P="${PN}-${MY_PV}"
42 +
43 +DESCRIPTION="A interactive post-processing tool for scanned pages"
44 +HOMEPAGE="http://scantailor.sourceforge.net/"
45 +SRC_URI="https://github.com/scantailor/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
46 +
47 +LICENSE="GPL-2 GPL-3 public-domain"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="opengl"
51 +
52 +RDEPEND="
53 + dev-qt/qtcore:4
54 + dev-qt/qtgui:4
55 + media-libs/libpng:0
56 + media-libs/tiff:0
57 + sys-libs/zlib
58 + virtual/jpeg:0
59 + x11-libs/libXrender
60 + opengl? ( dev-qt/qtopengl:4 )"
61 +DEPEND="${RDEPEND}
62 + dev-libs/boost"
63 +
64 +S="${WORKDIR}/${PN}-${MY_PV}"
65 +
66 +src_configure() {
67 + tc-export CXX
68 +
69 + local mycmakeargs=(
70 + -DCOMPILER_FLAGS_OVERRIDDEN=ON
71 + -DENABLE_OPENGL=$(usex opengl)
72 + )
73 +
74 + cmake-utils_src_configure
75 +}
76 +
77 +src_test() {
78 + cd "${CMAKE_BUILD_DIR}" || die
79 + virtx emake test
80 +}
81 +
82 +src_install() {
83 + cmake-utils_src_install
84 +
85 + newicon resources/appicon.svg ${PN}.svg
86 + make_desktop_entry ${PN} "Scan Tailor"
87 +}