Lines 1-10
Link Here
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
1 |
# Copyright 1999-2012 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r5.ebuild,v 1.9 2013/02/18 22:00:55 zmedico Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit libtool eutils |
7 |
inherit libtool eutils autotools-multilib |
8 |
|
8 |
|
9 |
DESCRIPTION="software-based implementation of the codec specified in the JPEG-2000 Part-1 standard" |
9 |
DESCRIPTION="software-based implementation of the codec specified in the JPEG-2000 Part-1 standard" |
10 |
HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" |
10 |
HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" |
Lines 16-41
Link Here
|
16 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
16 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
17 |
IUSE="jpeg opengl static-libs" |
17 |
IUSE="jpeg opengl static-libs" |
18 |
|
18 |
|
19 |
RDEPEND="jpeg? ( virtual/jpeg ) |
19 |
RDEPEND="jpeg? ( |
20 |
opengl? ( virtual/opengl media-libs/freeglut )" |
20 |
virtual/jpeg |
|
|
21 |
amd64? ( |
22 |
abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) |
23 |
) |
24 |
) |
25 |
opengl? ( |
26 |
amd64? ( |
27 |
abi_x86_32? ( app-emulation/emul-linux-x86-opengl ) |
28 |
) |
29 |
virtual/opengl media-libs/freeglut |
30 |
)" |
21 |
DEPEND="${RDEPEND} |
31 |
DEPEND="${RDEPEND} |
22 |
app-arch/unzip" |
32 |
app-arch/unzip" |
23 |
|
33 |
|
24 |
src_prepare() { |
34 |
PATCHES=( |
25 |
epatch "${WORKDIR}"/${P}-fixes-20120611.patch |
35 |
"${WORKDIR}/${P}-fixes-20120611.patch" |
26 |
elibtoolize |
36 |
) |
27 |
} |
37 |
|
|
|
38 |
DOCS=( NEWS README doc/. ) |
28 |
|
39 |
|
29 |
src_configure() { |
40 |
src_configure() { |
30 |
econf \ |
41 |
local myeconfargs=( |
31 |
$(use_enable jpeg libjpeg) \ |
42 |
$(use_enable jpeg libjpeg) |
32 |
$(use_enable opengl) \ |
43 |
$(use_enable opengl) |
33 |
$(use_enable static-libs static) \ |
44 |
$(use_enable static-libs static) |
34 |
--enable-shared |
45 |
--enable-shared |
35 |
} |
46 |
) |
36 |
|
47 |
autotools-multilib_src_configure |
37 |
src_install() { |
|
|
38 |
emake DESTDIR="${D}" install || die |
39 |
dodoc NEWS README doc/* |
40 |
find "${ED}" -name '*.la' -delete |
41 |
} |
48 |
} |