Old ebuilds removed.
This commit is contained in:
parent
2cef0d8aab
commit
eb1a8888f2
|
@ -1,2 +0,0 @@
|
||||||
DIST FreeImage3131.pdf 1016008 SHA256 4463b2e023e1793341912417d0e3d99703a4ab2aa9ee60ff2b99c799e013e799 SHA512 fad0f0bd2be17d086be11d04b585c2017418813f834303ae43e06cf5b52966cdfdf7b8bbfe3a2b5311596de5752369898d866d1ecde2d07b62d6d71809b32154 WHIRLPOOL a569a5e8c596f0a13a59f7a9e3abd3e75f3e2aaa9be4f4e675b13f85bbd4300fd0dfbd0e12985cf392d4b26e6f538dd03835e2cfb1e96abba3a09a7e63911566
|
|
||||||
DIST FreeImage3131.zip 4762843 SHA256 329bd2036e97d5e527ac2f1fdade4a2029bb06ce4cee0e8bca12e211fd7397c6 SHA512 ee74b632d56e2e02595823b0c779b7ef9e819c814de8201ce1f54b576538a51d0b8a9edb0e03a8ba4cef94fdd00a86e2e536e37a9c803c25454d5bdc4c8faca4 WHIRLPOOL 0163f9f123f0873eb7cc66cf37b5956d8061c0dc665c62ec6be428610d8a605bc535b3b07145932dd57345f0c487f73725fc0a4af4e50c0ebe0712916a8c5451
|
|
File diff suppressed because one or more lines are too long
|
@ -1,61 +0,0 @@
|
||||||
# Copyright 1999-2010 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: $
|
|
||||||
|
|
||||||
EAPI=2
|
|
||||||
inherit 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
|
|
||||||
rm -rf \
|
|
||||||
"${S}/Source/LibJPEG" \
|
|
||||||
"${S}/Source/LibMNG" \
|
|
||||||
"${S}/Source/LibOpenJPEG" \
|
|
||||||
"${S}/Source/LibPNG" \
|
|
||||||
"${S}/Source/LibTIFF" \
|
|
||||||
"${S}/Source/OpenEXR" \
|
|
||||||
"${S}/Source/ZLib" || die "rm -rf failed"
|
|
||||||
epatch "${FILESDIR}/${P}-systemlibs.patch"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -f Makefile.gnu || die "emake failed"
|
|
||||||
if use cxx ; then
|
|
||||||
emake -f Makefile.fip || die "emake fip failed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dodir /usr/include /usr/$(get_libdir)
|
|
||||||
emake DESTDIR="${D}" -f Makefile.gnu install || die "emake install failed"
|
|
||||||
if use cxx ; then
|
|
||||||
emake DESTDIR="${D}" -f Makefile.fip install || die "emake install fip failed"
|
|
||||||
fi
|
|
||||||
dodoc README.linux Whatsnew.txt
|
|
||||||
use doc && dodoc "${DISTDIR}"/${MY_P}.pdf
|
|
||||||
}
|
|
Loading…
Reference in New Issue