1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="A program to create cross stitch patterns and charts"
8 HOMEPAGE="http://kxstitch.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
13 KEYWORDS="~amd64 ~x86"
14 IUSE="imagemagick scanner"
16 DEPEND="imagemagick? ( media-gfx/imagemagick )
17 scanner? ( media-gfx/sane-backends )"
21 if use imagemagick && built_with_use media-gfx/imagemagick nocxx ; then
22 eerror "Building kxstitch requires imagemagcik built without"
23 eerror "the nocxx use flag to build magick++ (the C++ API)."
24 eerror "Please re-emerge imagemagick with this use flag disabled."
25 die "imagemagick missing magick++"