summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/scribus/scribus-1.3.4-r1.ebuild')
-rw-r--r--app-office/scribus/scribus-1.3.4-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/app-office/scribus/scribus-1.3.4-r1.ebuild b/app-office/scribus/scribus-1.3.4-r1.ebuild
new file mode 100644
index 00000000..68d62027
--- /dev/null
+++ b/app-office/scribus/scribus-1.3.4-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.4-r1.ebuild,v 1.3 2008/07/27 19:54:02 carlo Exp $
+
+EAPI=1
+
+inherit qt3 eutils
+
+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=""
+
+DEPEND="x11-libs/qt: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
+ >=x11-libs/cairo-1.4.0"
+
+RDEPEND="${DEPEND}
+ virtual/ghostscript"
+
+pkg_setup() {
+ if ! built_with_use 'x11-libs/cairo' 'X' 'svg'; then
+ eerror "You must build cairo with X and svg support"
+ die "x11-libs/cairo built without X and/or svg"
+ fi
+}
+
+src_compile() {
+ econf --enable-cairo || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+
+ dodoc AUTHORS ChangeLog README TODO
+
+ domenu scribus.desktop
+ doicon scribus/icons/scribusicon.png
+}