diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-05-04 12:26:08 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-05-04 12:26:08 +0000 |
commit | 00e9b2c6f5952db13d4fcebe2a6ca4b7fb82c3c5 (patch) | |
tree | 4b33a6586cee5c127c9dc156c8f7aac57282c2af /media-libs/libwmf | |
parent | dev-python/pandas: Add correct python USEDEP strings, thanks mgorny for helping (diff) | |
download | gentoo-2-00e9b2c6f5952db13d4fcebe2a6ca4b7fb82c3c5.tar.gz gentoo-2-00e9b2c6f5952db13d4fcebe2a6ca4b7fb82c3c5.tar.bz2 gentoo-2-00e9b2c6f5952db13d4fcebe2a6ca4b7fb82c3c5.zip |
media-libs/libwmf: Fix obsolete macros to work with automake-1.13, #467462; move to autotools-utils.eclass
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'media-libs/libwmf')
-rw-r--r-- | media-libs/libwmf/ChangeLog | 11 | ||||
-rw-r--r-- | media-libs/libwmf/libwmf-0.2.8.4-r5.ebuild | 100 | ||||
-rw-r--r-- | media-libs/libwmf/metadata.xml | 6 |
3 files changed, 112 insertions, 5 deletions
diff --git a/media-libs/libwmf/ChangeLog b/media-libs/libwmf/ChangeLog index 91ed0f249e75..957776c8b3ad 100644 --- a/media-libs/libwmf/ChangeLog +++ b/media-libs/libwmf/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/libwmf -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.83 2012/05/12 06:59:58 pacho Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/ChangeLog,v 1.84 2013/05/04 12:26:08 jlec Exp $ + +*libwmf-0.2.8.4-r5 (04 May 2013) + + 04 May 2013; Justin Lecher <jlec@gentoo.org> +libwmf-0.2.8.4-r5.ebuild, + metadata.xml: + Fix obsolete macros to work with automake-1.13, #467462; move to + autotools-utils.eclass 12 May 2012; Pacho Ramos <pacho@gentoo.org> libwmf-0.2.8.4-r4.ebuild: Fix typo, move from 'disable' to 'without' configure option, bug #415293 by diff --git a/media-libs/libwmf/libwmf-0.2.8.4-r5.ebuild b/media-libs/libwmf/libwmf-0.2.8.4-r5.ebuild new file mode 100644 index 000000000000..2593bb6bdd7b --- /dev/null +++ b/media-libs/libwmf/libwmf-0.2.8.4-r5.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libwmf/libwmf-0.2.8.4-r5.ebuild,v 1.1 2013/05/04 12:26:08 jlec Exp $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +#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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" +IUSE="X debug doc expat xml" + +RDEPEND=" + app-text/ghostscript-gpl + media-fonts/urw-fonts + >=media-libs/freetype-2.0.1 + >=media-libs/libpng-1.4 + sys-libs/zlib + x11-libs/gdk-pixbuf:2[X?] + virtual/jpeg + xml? ( + expat? ( dev-libs/expat ) + !expat? ( dev-libs/libxml2 ) + ) + X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + X? ( + x11-libs/libXt + x11-libs/libXpm + )" +# plotutils are not really supported yet, so looks like that's it + +REQUIRED_USE="expat? ( xml )" + +DOCS=( README AUTHORS CREDITS ChangeLog NEWS TODO ) + +PATCHES=( + "${FILESDIR}"/${P}-intoverflow.patch + "${FILESDIR}"/${P}-build.patch + "${FILESDIR}"/${P}-pngfix.patch + "${FILESDIR}"/${P}-libpng-1.5.patch + "${FILESDIR}"/${P}-use-system-fonts.patch + "${FILESDIR}"/${P}-gdk-pixbuf.patch + ) + +src_prepare() { + if ! use doc ; then + sed -e 's:doc::' -i Makefile.am || die + fi + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die + + autotools-utils_src_prepare +} + +src_configure() { + local myconfargs=() + # NOTE: The gd that is included is gd-2.0.0. Even with --with-sys-gd, that gd is built + # and included in libwmf. Since nothing in-tree seems to use media-libs/libwmf[gd], + # we're explicitly disabling gd use w.r.t. bug 268161 + if use expat; then + myeconfargs+=( --without-libxml2 ) + else + myeconfargs+=( $(use_with xml libxml2) ) + fi + + myeconfargs+=( + --disable-static + $(use_enable debug) + $(use_with X x) + $(use_with expat) + --disable-gd + --with-sys-gd + --with-gsfontdir="${EPREFIX}"/usr/share/ghostscript/fonts + --with-fontdir="${EPREFIX}"/usr/share/fonts/urw-fonts/ + --with-docdir="${EPREFIX}"/usr/share/doc/${PF} + ) + autotools-utils_src_configure +} + +src_install() { + MAKEOPTS+=" -j1" + autotools-utils_src_install +} diff --git a/media-libs/libwmf/metadata.xml b/media-libs/libwmf/metadata.xml index d9cd2cad66c2..1470e032181b 100644 --- a/media-libs/libwmf/metadata.xml +++ b/media-libs/libwmf/metadata.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer> -<email>maintainer-needed@gentoo.org</email> -</maintainer> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> </pkgmetadata> |