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.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/x11-misc/kxstitch/kxstitch-0.8.ebuild b/x11-misc/kxstitch/kxstitch-0.8.ebuild
new file mode 100644
index 000000000..d18fdb62b
--- /dev/null
+++ b/x11-misc/kxstitch/kxstitch-0.8.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2006 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() {
+ use imagemagick && if 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
+}