summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/scribus/scribus-1.3.3.13.ebuild')
-rw-r--r--app-office/scribus/scribus-1.3.3.13.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-office/scribus/scribus-1.3.3.13.ebuild b/app-office/scribus/scribus-1.3.3.13.ebuild
new file mode 100644
index 00000000..b4e47553
--- /dev/null
+++ b/app-office/scribus/scribus-1.3.3.13.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.13.ebuild,v 1.1 2009/07/30 19:09:14 hanno Exp $
+
+EAPI=2
+
+inherit qt3 eutils cmake-utils
+
+DESCRIPTION="Desktop Publishing (DTP) and Layout program for Linux."
+HOMEPAGE="http://www.scribus.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="cairo cups"
+
+DEPEND="x11-libs/qt:3
+ >=media-libs/freetype-2.3
+ >=media-libs/lcms-1.17
+ >=media-libs/tiff-3.6
+ >=media-libs/libart_lgpl-2.3.17
+ >=dev-libs/libxml2-2.6.0
+ media-libs/jpeg
+ media-libs/libpng
+ dev-python/imaging
+ media-libs/fontconfig
+ cups? ( net-print/cups )
+ cairo? ( >=x11-libs/cairo-1.4.10[X,svg] )"
+
+RDEPEND="${DEPEND}
+ virtual/ghostscript"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-cheaders.diff" || die
+}
+
+src_compile() {
+ local mycmakeargs="$(cmake-utils_use_want cairo CAIRO) \
+ $(cmake-utils_use_enable cups)"
+ cmake-utils_src_compile || die "compile failed"
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ domenu scribus.desktop
+ doicon scribus/icons/scribus.png || die "doicon failed"
+}