summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/libwmf/ChangeLog7
-rw-r--r--media-libs/libwmf/files/digest-libwmf-0.2.7-r11
-rw-r--r--media-libs/libwmf/libwmf-0.2.7-r1.ebuild48
3 files changed, 55 insertions, 1 deletions
diff --git a/media-libs/libwmf/ChangeLog b/media-libs/libwmf/ChangeLog
index 92af2ef925e1..6024560f2cf8 100644
--- a/media-libs/libwmf/ChangeLog
+++ b/media-libs/libwmf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libwmf
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.11 2003/02/12 07:13:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.12 2003/03/05 00:29:31 liquidx Exp $
+
+*libwmf-0.2.7-r1 (05 Mar 2003)
+
+ 05 Mar 2003; Alastair Tse <liquidx@gentoo.org> libwmf-0.2.7-r1.ebuild files/digest-libwmf-0.2.7-r1 :
+ Fixed missing libwmf.so. Resolves #13661.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/media-libs/libwmf/files/digest-libwmf-0.2.7-r1 b/media-libs/libwmf/files/digest-libwmf-0.2.7-r1
new file mode 100644
index 000000000000..b0ab2708bc6e
--- /dev/null
+++ b/media-libs/libwmf/files/digest-libwmf-0.2.7-r1
@@ -0,0 +1 @@
+MD5 2d60702587549c4cc4c7f8001a4ad0a9 libwmf-0.2.7.tar.gz 1610697
diff --git a/media-libs/libwmf/libwmf-0.2.7-r1.ebuild b/media-libs/libwmf/libwmf-0.2.7-r1.ebuild
new file mode 100644
index 000000000000..669bea061b26
--- /dev/null
+++ b/media-libs/libwmf/libwmf-0.2.7-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/libwmf-0.2.7-r1.ebuild,v 1.1 2003/03/05 00:29:31 liquidx Exp $
+
+IUSE="jpeg X"
+
+#The configure script finds the 5.50 ghostscript Fontmap file while run.
+#This will probably work, especially since the real one (6.50) in this case
+#is empty. However beware in case there is any trouble
+
+
+S=${WORKDIR}/${P}
+DESCRIPTION="library for converting WMF files"
+SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
+HOMEPAGE="http://www.wvware.com/libwmf.html"
+
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+LICENSE="GPL-2"
+
+DEPEND=">=app-text/ghostscript-6.50
+ dev-libs/expat
+ dev-libs/libxml2
+ >=media-libs/freetype-2.0.1
+ sys-libs/zlib
+ media-libs/libpng
+ jpeg? ( media-libs/jpeg )
+ X? ( virtual/x11 )"
+# plotutils are not really supported yet, so looks like that's it
+
+src_compile() {
+
+ use jpeg || myconf="${myconf} --with-jpeg=no"
+ use X || myconf="${myconf} --with-x=no"
+
+ econf \
+ ${myconf} \
+ --with-gsfontdir=/usr/share/ghostscript/fonts \
+ --with-fontdir=/usr/share/libwmf/fonts/ \
+ --with-docdir=/usr/share/doc/${PF} || die "./configure failed"
+
+ make || die
+}
+
+src_install () {
+ make DESTDIR=${D} install || die
+ dodoc README AUTHORS COPYING CREDITS ChangeLog NEWS TODO
+}