diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2012-02-12 13:55:19 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2012-02-12 13:55:19 +0000 |
commit | cdd8e7ab3b4314f85c86d7b0caee10094c15f7da (patch) | |
tree | 309f5ea824b101c30b50388ea70d50a92e536c7b /media-libs/freeimage | |
parent | Two version bumps (diff) | |
download | gentoo-2-cdd8e7ab3b4314f85c86d7b0caee10094c15f7da.tar.gz gentoo-2-cdd8e7ab3b4314f85c86d7b0caee10094c15f7da.tar.bz2 gentoo-2-cdd8e7ab3b4314f85c86d7b0caee10094c15f7da.zip |
Reviving package with version 3.15.1
(Portage version: 2.1.10.45/cvs/Linux i686)
Diffstat (limited to 'media-libs/freeimage')
-rw-r--r-- | media-libs/freeimage/ChangeLog | 51 | ||||
-rw-r--r-- | media-libs/freeimage/freeimage-3.15.1.ebuild | 75 | ||||
-rw-r--r-- | media-libs/freeimage/metadata.xml | 5 |
3 files changed, 131 insertions, 0 deletions
diff --git a/media-libs/freeimage/ChangeLog b/media-libs/freeimage/ChangeLog new file mode 100644 index 000000000000..e932bfcfccbd --- /dev/null +++ b/media-libs/freeimage/ChangeLog @@ -0,0 +1,51 @@ +# ChangeLog for media-libs/freeimage +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.12 2012/02/12 13:55:19 tupone Exp $ + +*freeimage-3.15.1 (12 Feb 2012) + + 12 Feb 2012; Tupone Alfredo <tupone@gentoo.org> +freeimage-3.15.1.ebuild, + +metadata.xml: + Reviving package with version 3.15.1 + + 24 May 2009; Michael Sterrett <mr_bones_@gentoo.org> + freeimage-3.11.0.ebuild: + Use append-cflags from flag-o-matic + + 12 May 2009; Michael Sterrett <mr_bones_@gentoo.org> + freeimage-3.11.0.ebuild: + EAPI=2; Skip calling ldconfig during install (bug #269493); silence gcc warnings + + 02 Apr 2009; Tristan Heaven <nyhm@gentoo.org> freeimage-3.11.0.ebuild: + Build with -fPIC, bug #252766 + + 01 Apr 2009; Joseph Jezak <josejx@gentoo.org> freeimage-3.11.0.ebuild: + Marked ppc stable for bug #252766. + + 25 Nov 2008; Tristan Heaven <nyhm@gentoo.org> freeimage-3.11.0.ebuild: + Add cxx USE flag, bug #242888 + +*freeimage-3.11.0 (02 Sep 2008) + + 02 Sep 2008; Tristan Heaven <nyhm@gentoo.org> +freeimage-3.11.0.ebuild: + Version bump, bug #213969 + + 04 May 2007; Matti Bickel <mabi@gentoo.org> freeimage-3.9.3-r1.ebuild: + keyworded ~ppc (bug #174055) + +*freeimage-3.9.3-r1 (22 Apr 2007) + + 22 Apr 2007; Tristan Heaven <nyhm@gentoo.org> + +files/freeimage-3.9.3-sys-headers.patch, +freeimage-3.9.3-r1.ebuild: + Fix jpeg image loading, bug #175467 + + 10 Apr 2007; Peter Weller <welp@gentoo.org> freeimage-3.9.3.ebuild: + Keyworded amd64 wrt bug 174055 + +*freeimage-3.9.3 (31 Mar 2007) + + 31 Mar 2007; Tristan Heaven <nyhm@gentoo.org> + +files/freeimage-3.9.3-build.patch, +metadata.xml, + +freeimage-3.9.3.ebuild: + Initial commit, bug #165938 + diff --git a/media-libs/freeimage/freeimage-3.15.1.ebuild b/media-libs/freeimage/freeimage-3.15.1.ebuild new file mode 100644 index 000000000000..85ad818a570e --- /dev/null +++ b/media-libs/freeimage/freeimage-3.15.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.15.1.ebuild,v 1.1 2012/02/12 13:55:19 tupone Exp $ + +EAPI=3 + +inherit toolchain-funcs eutils + +MY_PN=FreeImage +MY_PV=${PV//.} +MY_P=${MY_PN}${MY_PV} + +DESCRIPTION="Image library supporting many formats" +HOMEPAGE="http://freeimage.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip + mirror://sourceforge/${PN}/${MY_P}.pdf + mirror://gentoo/${P}-unbundling.patch.gz" + +LICENSE="|| ( GPL-2 FIPL-1.0 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-libs/zlib + media-libs/libpng + media-libs/libmng + virtual/jpeg + media-libs/openjpeg + media-libs/tiff + media-libs/libraw + media-libs/openexr" +DEPEND="${RDEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${MY_PN} + +src_prepare() { + cd Source + cp LibJPEG/{transupp.c,transupp.h,jinclude.h} . \ + || die "Failed copying jpeg utility files" + cp LibTIFF/{tiffiop,tif_dir}.h . \ + || die "Failed copying private libtiff files" + rm -rf LibPNG LibMNG LibOpenJPEG ZLib OpenEXR LibRawLite LibTIFF LibJPEG \ + || die "Removing bundled libraries" + edos2unix *.h *.c */*.cpp + cd .. + edos2unix Makefile.{gnu,fip} + epatch "${WORKDIR}"/${P}-unbundling.patch +} + +src_compile() { + emake -f Makefile.gnu \ + CXX="$(tc-getCXX) -fPIC" \ + CC="$(tc-getCC) -fPIC" \ + ${MY_PN} \ + || die "emake gnu failed" + emake -f Makefile.fip \ + CXX="$(tc-getCXX) -fPIC" \ + CC="$(tc-getCC) -fPIC" \ + ${MY_PN} \ + || die "emake fip failed" +} + +src_install() { + emake -f Makefile.gnu \ + install DESTDIR="${D}" INSTALLDIR="${D}"/usr/$(get_libdir) \ + || die "emake install failed" + emake -f Makefile.fip \ + install DESTDIR="${D}" INSTALLDIR="${D}"/usr/$(get_libdir) \ + || die "emake install failed" + dosym lib${PN}plus-${PV}.so /usr/$(get_libdir)/lib${PN}plus.so.3 + dosym lib${PN}plus.so.3 /usr/$(get_libdir)/lib${PN}plus.so + + dodoc Whatsnew.txt "${DISTDIR}"/${MY_P}.pdf +} diff --git a/media-libs/freeimage/metadata.xml b/media-libs/freeimage/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/media-libs/freeimage/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |