/[gentoo-x86]/media-gfx/scantailor/scantailor-0.9.11.1.ebuild
Gentoo

Contents of /media-gfx/scantailor/scantailor-0.9.11.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Apr 18 15:54:10 2015 UTC (3 years, 4 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
x86 stable wrt bug #521814

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key A188FBD4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/scantailor/scantailor-0.9.11.1.ebuild,v 1.4 2014/10/19 09:38:51 nimiux Exp $
4
5 EAPI=4
6 inherit cmake-utils eutils virtualx toolchain-funcs
7
8 DESCRIPTION="A interactive post-processing tool for scanned pages"
9 HOMEPAGE="http://scantailor.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="GPL-2 GPL-3 public-domain"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="opengl"
16
17 RDEPEND=">=media-libs/libpng-1.2.43
18 >=media-libs/tiff-3.9.4
19 sys-libs/zlib
20 virtual/jpeg
21 x11-libs/libXrender
22 dev-qt/qtgui:4
23 opengl? ( dev-qt/qtopengl:4 )"
24 DEPEND="${RDEPEND}
25 dev-libs/boost"
26
27 src_configure() {
28 tc-export CXX
29
30 mycmakeargs=(
31 -DCOMPILER_FLAGS_OVERRIDDEN=ON
32 $(cmake-utils_use_enable opengl)
33 )
34
35 cmake-utils_src_configure
36 }
37
38 src_test() {
39 cd "${CMAKE_BUILD_DIR}" || die
40 Xemake test
41 }
42
43 src_install() {
44 cmake-utils_src_install
45
46 newicon resources/appicon.svg ${PN}.svg
47 make_desktop_entry ${PN} "Scan Tailor"
48 }

  ViewVC Help
Powered by ViewVC 1.1.20