new version
authorMarinus Schraal <foser@gentoo.org>
Sat, 19 Oct 2002 00:10:25 +0000 (00:10 +0000)
committerMarinus Schraal <foser@gentoo.org>
Sat, 19 Oct 2002 00:10:25 +0000 (00:10 +0000)
media-gfx/sodipodi/ChangeLog
media-gfx/sodipodi/files/digest-sodipodi-0.25 [new file with mode: 0644]
media-gfx/sodipodi/sodipodi-0.25.ebuild [new file with mode: 0644]

index ab796ea04eecb4f548e7d1768d9a76c9684e349f..1da7393f5529ad776d3d902e28a3c0b4919aaf88 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/sodipodi
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sodipodi/ChangeLog,v 1.1 2002/02/01 21:53:30 gbevin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sodipodi/ChangeLog,v 1.2 2002/10/19 00:10:25 foser Exp $
+
+*sodipodi-0.25 (19 Oct 2002)
+
+  19 Oct 2002; foser <foser@gentoo.org> sodipodi-0.25.ebuild :
+  New version. Added xml2 use flag. Disabled bonobo, it breaks.
 
 *sodipodi-0.24.1-r3 (1 Feb 2002)
 
diff --git a/media-gfx/sodipodi/files/digest-sodipodi-0.25 b/media-gfx/sodipodi/files/digest-sodipodi-0.25
new file mode 100644 (file)
index 0000000..4e33bd9
--- /dev/null
@@ -0,0 +1 @@
+MD5 9abf6f193933f73a227e105ffaf545d2 sodipodi-0.25.tar.gz 1260296
diff --git a/media-gfx/sodipodi/sodipodi-0.25.ebuild b/media-gfx/sodipodi/sodipodi-0.25.ebuild
new file mode 100644 (file)
index 0000000..1025ad2
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sodipodi/sodipodi-0.25.ebuild,v 1.1 2002/10/19 00:10:25 foser Exp $
+
+IUSE="xml nls bonobo"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Vector illustrating application for GNOME"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://sodipodi.sourceforge.net/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+RDEPEND=">=gnome-base/gnome-print-0.35
+       >=gnome-extra/gal-0.13
+       media-libs/gdk-pixbuf
+       bonobo? ( gnome-base/bonobo )
+       xml? ( dev-libs/libxml2 )"
+
+DEPEND="${RDEPEND}
+       nls? ( sys-devel/gettext )"
+
+src_unpack() {
+       unpack ${A}
+       
+       patch -d ${S}/src/bonobo -p0 < ${FILESDIR}/bonobo-makefile-fix.patch
+}
+
+src_compile() {
+       local myconf
+
+       # Bonobo seems really brokenF
+       myconf="${myconf} --without-bonobo"
+
+#      use bonobo \
+#              && myconf="${myconf} --with-bonobo" \
+#              || myconf="${myconf} --without-bonobo"
+
+       use xml2 \
+               && myconf="${myconf} --with-gnome-xml2" \
+               || myconf="${myconf} --without-gnome-xml2"
+
+       use nls || myconf="${myconf} --disable-nls"
+
+       CFLAGS="${CFLAGS} `gnome-config --cflags gdk_pixbuf`"
+
+       econf \
+               --enable-gnome \
+               --enable-gnome-print \
+               ${myconf} || die
+
+       emake || die
+}
+
+src_install () {
+       make DESTDIR=${D} install || die
+
+       dodoc AUTHORS COPYING ChangeLog README NEWS TODO
+}