blob: c07d6d660617c6dddaaa278127899096f4f1f614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils kde
DESCRIPTION="A program to create cross stitch patterns and charts"
HOMEPAGE="http://kxstitch.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="imagemagick scanner"
DEPEND="imagemagick? ( media-gfx/imagemagick )
scanner? ( media-gfx/sane-backends )"
RDEPEND="${DEPEND}"
pkg_setup() {
if use imagemagick && built_with_use media-gfx/imagemagick nocxx ; then
eerror "Building kxstitch requires imagemagcik built without"
eerror "the nocxx use flag to build magick++ (the C++ API)."
eerror "Please re-emerge imagemagick with this use flag disabled."
die "imagemagick missing magick++"
fi
}
|