summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/kxstitch/kxstitch-0.8.ebuild')
-rw-r--r--x11-misc/kxstitch/kxstitch-0.8.ebuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/x11-misc/kxstitch/kxstitch-0.8.ebuild b/x11-misc/kxstitch/kxstitch-0.8.ebuild
index 242128591..f00824c88 100644
--- a/x11-misc/kxstitch/kxstitch-0.8.ebuild
+++ b/x11-misc/kxstitch/kxstitch-0.8.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit eutils kde
+EAPI="2"
+
+inherit kde
DESCRIPTION="A program to create cross stitch patterns and charts"
HOMEPAGE="http://kxstitch.sourceforge.net/"
@@ -13,15 +15,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="imagemagick scanner"
-DEPEND="imagemagick? ( media-gfx/imagemagick )
+DEPEND="imagemagick? ( media-gfx/imagemagick[-nocxx] )
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
-}