summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-04-20 12:30:44 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-04-20 12:30:44 +0000
commit18cf29eb59853e20106b62bf40bc8caa922666b5 (patch)
tree004fa910b4d9219a453a1ebc6061e02ac11290d8 /x11-misc/kxstitch/kxstitch-0.8.ebuild
parentMasking kanyremote sicen it was moved on different category (diff)
downloadsunrise-18cf29eb59853e20106b62bf40bc8caa922666b5.tar.gz
sunrise-18cf29eb59853e20106b62bf40bc8caa922666b5.tar.bz2
sunrise-18cf29eb59853e20106b62bf40bc8caa922666b5.zip
x11-misc/kxstitch: Replaced build_with_use by EAPI 2 USE dependencies.
svn path=/sunrise/; revision=8356
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
-}