summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-03-24 02:57:21 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-03-24 02:57:21 +0000
commit80fbc3b34a3a375207b3688861390a5abb410a4d (patch)
treec71dd52b76b85275822b859c20e666bf9c539ea1 /media-libs/libwmf
parentadded selinux support (diff)
downloadgentoo-2-80fbc3b34a3a375207b3688861390a5abb410a4d.tar.gz
gentoo-2-80fbc3b34a3a375207b3688861390a5abb410a4d.tar.bz2
gentoo-2-80fbc3b34a3a375207b3688861390a5abb410a4d.zip
version bump
Diffstat (limited to 'media-libs/libwmf')
-rw-r--r--media-libs/libwmf/ChangeLog7
-rw-r--r--media-libs/libwmf/files/digest-libwmf-0.2.81
-rw-r--r--media-libs/libwmf/libwmf-0.2.8.ebuild59
3 files changed, 66 insertions, 1 deletions
diff --git a/media-libs/libwmf/ChangeLog b/media-libs/libwmf/ChangeLog
index 4bd8103c4416..1abf52218941 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.13 2003/03/19 20:02:43 liquidx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.14 2003/03/24 02:57:21 liquidx Exp $
+
+*libwmf-0.2.8 (24 Mar 2003)
+
+ 24 Mar 2003; Alastair Tse <liquidx@gentoo.org> libwmf-0.2.8.ebuild:
+ Version Bump
*libwmf-0.2.7-r2 (19 Mar 2003)
diff --git a/media-libs/libwmf/files/digest-libwmf-0.2.8 b/media-libs/libwmf/files/digest-libwmf-0.2.8
new file mode 100644
index 000000000000..26f89bc9dd45
--- /dev/null
+++ b/media-libs/libwmf/files/digest-libwmf-0.2.8
@@ -0,0 +1 @@
+MD5 269fb225cd44f40cc877fb6c63706112 libwmf-0.2.8.tar.gz 1620489
diff --git a/media-libs/libwmf/libwmf-0.2.8.ebuild b/media-libs/libwmf/libwmf-0.2.8.ebuild
new file mode 100644
index 000000000000..5e9b6bde5a6f
--- /dev/null
+++ b/media-libs/libwmf/libwmf-0.2.8.ebuild
@@ -0,0 +1,59 @@
+# 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.ebuild,v 1.1 2003/03/24 02:57:21 liquidx Exp $
+
+inherit libtool
+
+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() {
+ # Have to use the reverse-deps patch to prevent libwmf from
+ # linking an older installed version of libwmflite
+ 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"
+
+ make || die
+}
+
+src_install () {
+
+ # Must use einstall because of stubborn libtool
+ einstall \
+ fontdir=${D}/usr/share/libwmf/fonts \
+ wmfonedocdir=${D}/usr/share/doc/${PF}/caolan \
+ wmfdocdir=${D}/usr/share/doc/${PF} \
+ libdir=${D}/usr/lib \
+ || die
+ dodoc README AUTHORS COPYING CREDITS ChangeLog NEWS TODO
+}