# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.2.2-r1.ebuild,v 1.1 2005/07/04 21:57:39 hanno Exp $ inherit kde-functions eutils need-qt 3 DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux." HOMEPAGE="http://www.scribus.net" SRC_URI="http://www.scribus.org.uk/downloads/${PV}/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64" IUSE="" DEPEND=">=x11-libs/qt-3.3.3 >=media-libs/freetype-2.1 >=media-libs/lcms-1.09 media-libs/tiff >=media-libs/libart_lgpl-2.3.8 >=sys-devel/gcc-3.0.0 >=dev-libs/libxml2-2.6.0" RDEPEND="virtual/ghostscript" src_unpack() { unpack ${A} epatch ${FILESDIR}/scribus-1.2.2-crash-fix.diff } src_compile() { econf || die emake CXXFLAGS="${CXXFLAGS} -I/usr/include/lcms" || die } src_install() { einstall destdir=${D} || die dodoc AUTHORS ChangeLog README TODO domenu scribus.desktop doicon scribus/icons/scribusicon.png dosym /usr/share/scribus/doc /usr/share/doc/${PF}/html }