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: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r5.ebuild,v 1.8 2012/09/30 17:15:25 armin76 Exp $ |
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 13-19
Link Here
|
13 |
|
13 |
|
14 |
LICENSE="JasPer2.0" |
14 |
LICENSE="JasPer2.0" |
15 |
SLOT="0" |
15 |
SLOT="0" |
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 ~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? ( virtual/jpeg ) |
Lines 21-41
Link Here
|
21 |
DEPEND="${RDEPEND} |
21 |
DEPEND="${RDEPEND} |
22 |
app-arch/unzip" |
22 |
app-arch/unzip" |
23 |
|
23 |
|
24 |
src_prepare() { |
24 |
PATCHES=( |
25 |
epatch "${WORKDIR}"/${P}-fixes-20120611.patch |
25 |
"${WORKDIR}/${P}-fixes-20120611.patch" |
26 |
elibtoolize |
26 |
) |
27 |
} |
|
|
28 |
|
27 |
|
29 |
src_configure() { |
28 |
src_configure() { |
30 |
econf \ |
29 |
local myeconfargs=( |
31 |
$(use_enable jpeg libjpeg) \ |
30 |
$(use_enable jpeg libjpeg) |
32 |
$(use_enable opengl) \ |
31 |
$(use_enable opengl) |
33 |
$(use_enable static-libs static) \ |
32 |
$(use_enable static-libs static) |
34 |
--enable-shared |
33 |
--enable-shared |
|
|
34 |
) |
35 |
autotools-multilib_src_configure |
35 |
} |
36 |
} |
36 |
|
37 |
|
37 |
src_install() { |
38 |
src_install() { |
38 |
emake DESTDIR="${D}" install || die |
39 |
autotools-multilib_src_install |
|
|
40 |
|
39 |
dodoc NEWS README doc/* |
41 |
dodoc NEWS README doc/* |
40 |
find "${ED}" -name '*.la' -delete |
42 |
find "${ED}" -name '*.la' -delete |
41 |
} |
43 |
} |