summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2012-02-12 13:55:19 +0000
committerAlfredo Tupone <tupone@gentoo.org>2012-02-12 13:55:19 +0000
commit11b58e6a58426063f99d4cc0e2092d8d786ce7c6 (patch)
tree9bf0426f4056e9370799df16a94840e4bab39ddd /media-libs
parentTwo version bumps (diff)
downloadhistorical-11b58e6a58426063f99d4cc0e2092d8d786ce7c6.tar.gz
historical-11b58e6a58426063f99d4cc0e2092d8d786ce7c6.tar.bz2
historical-11b58e6a58426063f99d4cc0e2092d8d786ce7c6.zip
Reviving package with version 3.15.1
Package-Manager: portage-2.1.10.45/cvs/Linux i686
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/freeimage/ChangeLog51
-rw-r--r--media-libs/freeimage/Manifest16
-rw-r--r--media-libs/freeimage/freeimage-3.15.1.ebuild75
-rw-r--r--media-libs/freeimage/metadata.xml5
4 files changed, 147 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/Manifest b/media-libs/freeimage/Manifest
new file mode 100644
index 000000000000..ed80681f172d
--- /dev/null
+++ b/media-libs/freeimage/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST FreeImage3151.pdf 1004230 RMD160 b8d9715e5a249df7f05287f77052d8b7012a76d2 SHA1 8ad213d33e9b2218d386c9e19d3a299e8c7901ed SHA256 01397a103a64032754490553236470871cf4c225d7b0be67b4eee7e7d97817f3
+DIST FreeImage3151.zip 5068002 RMD160 3551e972617435772340655b3973810793b3a84d SHA1 02ae98007fc64d72a8f15ec3ff24c36ac745fbc8 SHA256 e0f0dd980b16ca2904e01896cd7a1f64a38ddf1896a91c5659de2816fd0bbaed
+DIST freeimage-3.15.1-unbundling.patch.gz 16253 RMD160 67a6559f2ef11a4cea5143eee2c40e0fba006f16 SHA1 f1941f99c6e1d6902639b6b84906d2efd0829d13 SHA256 1c7d88e7b12c7bf6293d65c9431adb1849b9c3d87592c3247e41e47e21c7473f
+EBUILD freeimage-3.15.1.ebuild 1962 RMD160 c41706b54243e5a713b145d6051d95893f1923a7 SHA1 174babe2f2c799ff3cea4d8af46d6da2606442fe SHA256 e9be4e1b6d10159e12185599d192d2f4d1f80631566e6ecdf507a6e8b65c55a4
+MISC ChangeLog 1720 RMD160 67b60671e9b5576eaecb0106f334f2913c6f5652 SHA1 71a08d7476d5c01d8f2d25901fa6ff4d1742a1ef SHA256 f96206999fca7f3fafa78bcf97f9cbcebf3416bb2444ffc12238c009a69b73bf
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk83xNMACgkQIY77eQFFFC1YzACgiligOo2W+EfWx1PWjQlVfFVq
+vqgAnRWyTnsAWwjkHw5M6dj/ePSE8mqN
+=EuMz
+-----END PGP SIGNATURE-----
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>