summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libwmf')
-rw-r--r--media-libs/libwmf/ChangeLog11
-rw-r--r--media-libs/libwmf/files/digest-libwmf-0.2.8.21
-rw-r--r--media-libs/libwmf/libwmf-0.2.8.2.ebuild56
3 files changed, 65 insertions, 3 deletions
diff --git a/media-libs/libwmf/ChangeLog b/media-libs/libwmf/ChangeLog
index bc57179e9908..74ac00ad524b 100644
--- a/media-libs/libwmf/ChangeLog
+++ b/media-libs/libwmf/ChangeLog
@@ -1,12 +1,17 @@
# 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.17 2003/08/04 21:11:57 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.18 2003/11/30 07:23:51 vapier Exp $
- 06 Jun 2003; Aron Griffis <agriffis@gentoo.org> libwmf-0.2.8.ebuild:
- Mark stable on alpha
+*libwmf-0.2.8.2 (30 Nov 2003)
+
+ 30 Nov 2003; Mike Frysinger <vapier@gentoo.org> :
+ Version bump.
*libwmf-0.2.8 (24 Mar 2003)
+ 06 Jun 2003; Aron Griffis <agriffis@gentoo.org> libwmf-0.2.8.ebuild:
+ Mark stable on alpha
+
04 Aug 2003; Guy Martin <gmsoft@gentoo.org> libwmf-0.2.8.ebuild :
Added hppa to KEYWORDS.
diff --git a/media-libs/libwmf/files/digest-libwmf-0.2.8.2 b/media-libs/libwmf/files/digest-libwmf-0.2.8.2
new file mode 100644
index 000000000000..788585b1c576
--- /dev/null
+++ b/media-libs/libwmf/files/digest-libwmf-0.2.8.2
@@ -0,0 +1 @@
+MD5 1e0422026dd392651f0b8641fa33599d libwmf-0.2.8.2.tar.gz 1642727
diff --git a/media-libs/libwmf/libwmf-0.2.8.2.ebuild b/media-libs/libwmf/libwmf-0.2.8.2.ebuild
new file mode 100644
index 000000000000..8877fc7b6568
--- /dev/null
+++ b/media-libs/libwmf/libwmf-0.2.8.2.ebuild
@@ -0,0 +1,56 @@
+# 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.8.2.ebuild,v 1.1 2003/11/30 07:23:51 vapier Exp $
+
+inherit libtool
+
+#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
+
+DESCRIPTION="library for converting WMF files"
+HOMEPAGE="http://wvware.sourceforge.net/"
+SRC_URI="mirror://sourceforge/wvware/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc alpha amd64 hppa"
+IUSE="jpeg X"
+
+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() {
+ # Have to use the reverse-deps patch to prevent libwmf from
+ # linking an older installed version of libwmflite
+ #still needed !? <vapier@gentoo.org>
+ #elibtoolize --reverse-deps
+
+ 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"
+
+ emake || die
+}
+
+src_install () {
+ make install \
+ DESTDIR=${D} \
+ fontdir=/usr/share/libwmf/fonts \
+ wmfonedocdir=/usr/share/doc/${PF}/caolan \
+ wmfdocdir=/usr/share/doc/${PF} \
+ || die
+ dodoc README AUTHORS COPYING CREDITS ChangeLog NEWS TODO
+}