* [gentoo-commits] gentoo-x86 commit in media-libs/freeimage: freeimage-3.15.3-r1.ebuild ChangeLog
@ 2013-01-09 23:38 Mike Frysinger (vapier)
0 siblings, 0 replies; only message in thread
From: Mike Frysinger (vapier) @ 2013-01-09 23:38 UTC (permalink / raw
To: gentoo-commits
vapier 13/01/09 23:38:23
Modified: ChangeLog
Added: freeimage-3.15.3-r1.ebuild
Log:
Update to EAPI=4. Add IUSE=static-libs support. Respect $PKG_CONFIG. Use $CXX to link rather than $CC -lstdc++ since that does not work for everything. Respect $CXXFLAGS when linking.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.20 media-libs/freeimage/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeimage/ChangeLog?rev=1.20&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeimage/ChangeLog?rev=1.20&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeimage/ChangeLog?r1=1.19&r2=1.20
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- ChangeLog 24 Jul 2012 11:50:26 -0000 1.19
+++ ChangeLog 9 Jan 2013 23:38:23 -0000 1.20
@@ -1,6 +1,14 @@
# 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.19 2012/07/24 11:50:26 tupone Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/ChangeLog,v 1.20 2013/01/09 23:38:23 vapier Exp $
+
+*freeimage-3.15.3-r1 (09 Jan 2013)
+
+ 09 Jan 2013; Mike Frysinger <vapier@gentoo.org>
+ +files/freeimage-3.15.3-r1-unbundling.patch, +freeimage-3.15.3-r1.ebuild:
+ Update to EAPI=4. Add IUSE=static-libs support. Respect $PKG_CONFIG. Use
+ $CXX to link rather than $CC -lstdc++ since that does not work for everything.
+ Respect $CXXFLAGS when linking.
24 Jul 2012; Tupone Alfredo <tupone@gentoo.org> freeimage-3.15.3.ebuild:
Add depend on pkgconfig. Bug #427676 by Julian Ospald
@@ -77,4 +85,3 @@
+files/freeimage-3.9.3-build.patch, +metadata.xml,
+freeimage-3.9.3.ebuild:
Initial commit, bug #165938
-
1.1 media-libs/freeimage/freeimage-3.15.3-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeimage/freeimage-3.15.3-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/freeimage/freeimage-3.15.3-r1.ebuild?rev=1.1&content-type=text/plain
Index: freeimage-3.15.3-r1.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/freeimage/freeimage-3.15.3-r1.ebuild,v 1.1 2013/01/09 23:38:23 vapier Exp $
EAPI="4"
inherit toolchain-funcs eutils multilib
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"
LICENSE="|| ( GPL-2 FIPL-1.0 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
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}
virtual/pkgconfig
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 LibTIFF4/{tiffiop,tif_dir}.h . \
|| die "Failed copying private libtiff files"
rm -rf LibPNG LibMNG LibOpenJPEG ZLib OpenEXR LibRawLite LibTIFF4 LibJPEG \
|| die "Removing bundled libraries"
cd ..
edos2unix Makefile.{gnu,fip,srcs} fipMakefile.srcs */*.h */*/*.cpp
sed -i \
-e "s:/./:/:g" \
-e "s: ./: :g" \
-e 's: Source: \\\n\tSource:g' \
-e 's: Wrapper: \\\n\tWrapper:g' \
-e 's: Examples: \\\n\tExamples:g' \
-e 's: TestAPI: \\\n\tTestAPI:g' \
-e 's: -ISource: \\\n\t-ISource:g' \
-e 's: -IWrapper: \\\n\t-IWrapper:g' \
Makefile.srcs \
fipMakefile.srcs \
|| die "sed 1 Failed"
sed -i \
-e "/LibJPEG/d" \
-e "/LibPNG/d" \
-e "/LibTIFF/d" \
-e "/Source\/ZLib/d" \
-e "/LibOpenJPEG/d" \
-e "/OpenEXR/d" \
-e "/LibRawLite/d" \
-e "/LibMNG/d" \
Makefile.srcs \
fipMakefile.srcs \
|| die "sed 1 Failed"
epatch "${FILESDIR}"/${PF}-unbundling.patch
}
foreach_make() {
local m
for m in Makefile.{gnu,fip} ; do
emake -f ${m} $(usex static-libs '' STATICLIB=) "$@"
done
}
src_compile() {
tc-export AR PKG_CONFIG
foreach_make \
CXX="$(tc-getCXX) -fPIC" \
CC="$(tc-getCC) -fPIC" \
${MY_PN}
}
src_install() {
foreach_make install DESTDIR="${ED}" INSTALLDIR="${ED}"/usr/$(get_libdir)
dodoc Whatsnew.txt "${DISTDIR}"/${MY_P}.pdf
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-01-09 23:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 23:38 [gentoo-commits] gentoo-x86 commit in media-libs/freeimage: freeimage-3.15.3-r1.ebuild ChangeLog Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox