Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 231741 Details for
Bug 307487
dev-games/ogre needs media-libs/freeimage
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild with final fix.
freeimage-3.13.1.ebuild (text/plain), 1.86 KB, created by
Richard Connon
on 2010-05-16 23:57:02 UTC
(
hide
)
Description:
Ebuild with final fix.
Filename:
MIME Type:
Creator:
Richard Connon
Created:
2010-05-16 23:57:02 UTC
Size:
1.86 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI=2 >inherit eutils flag-o-matic toolchain-funcs multilib > >MY_PN=FreeImage >MY_P=${MY_PN}${PV//.} >DESCRIPTION="Image library supporting many formats" >HOMEPAGE="http://freeimage.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip > doc? ( mirror://sourceforge/${PN}/${MY_P}.pdf )" > >LICENSE="|| ( GPL-2 FIPL-1.0 )" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="cxx doc" > >DEPEND=" > media-libs/jpeg > media-libs/libmng > media-libs/libpng > media-libs/tiff > sys-libs/zlib > media-libs/openjpeg > media-libs/openexr > app-arch/unzip" >RDEPEND="" > >S=${WORKDIR}/${MY_PN} > >src_prepare() { > append-cflags -std=c99 -D_POSIX_SOURCE # silence warnings from gcc > epatch "${FILESDIR}"/${P}-system-{jpeg,openjpeg,libmng,libpng,openexr,zlib,makefile}.patch > sed -i 's/ldconfig//' Makefile.gnu >} > >src_compile() { > emake -f Makefile.gnu || die "emake failed" > if use cxx ; then > emake -f Makefile.fip || die "emake fip failed" > fi >} > >src_install() { > emake DESTDIR="${D}" INSTALLDIR="${D}/usr/$(get_libdir)" \ > -f Makefile.gnu install || die > if use cxx ; then > emake DESTDIR="${D}" INSTALLDIR="${D}/usr/$(get_libdir)" \ > -f Makefile.fip install > fi > dodoc README.linux Whatsnew.txt > use doc && dodoc "${DISTDIR}"/${MY_P}.pdf > > ebegin "Installing ${PN}.pc file" > dodir /usr/$(get_libdir)/pkgconfig > sed \ > -e "s:@LIBDIR@:$(get_libdir):" \ > -e "s:@PACKAGENAME@:${MY_PN}:" \ > -e "s:@DESCRIPTION@:${DESCRIPTION}:" \ > -e "s:@REQUIRES@:OpenEXR libpng:" \ > -e "s:@VERSION@:${PV}:" \ > -e "s:@LIBS@:-lfreeimage -lfreeimageplus:" \ > -e "s:@EXTLIBS@:-ljpeg -lmng -ltiff -lopenjpeg -lz:" \ > "${FILESDIR}/${PN}.pc.in" > "${D}/usr/$(get_libdir)/pkgconfig/${PN}.pc" || die > eend $? > PKG_CONFIG_PATH="${D}/usr/$(get_libdir)/pkgconfig/" pkg-config --exists ${PN} \ > || die ".pc file failed to validate." >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 307487
:
221795
|
221797
|
229277
|
229279
|
230479
|
230481
|
231361
|
231363
|
231365
|
231367
|
231369
|
231371
|
231373
|
231375
| 231741