diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-04 18:57:24 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-04-04 18:57:24 +0000 |
commit | 7e648d4f7b61cbca4ddbc8a30c3cf453d1c3b921 (patch) | |
tree | 831c0e7f82508074ef3bf8011e5aed056d902777 /media-libs/jasper | |
parent | Removed old (diff) | |
download | gentoo-2-7e648d4f7b61cbca4ddbc8a30c3cf453d1c3b921.tar.gz gentoo-2-7e648d4f7b61cbca4ddbc8a30c3cf453d1c3b921.tar.bz2 gentoo-2-7e648d4f7b61cbca4ddbc8a30c3cf453d1c3b921.zip |
Make static libs optional. Punt .la file. Update to eapi3 since it is full of prefix keywords.
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/jasper')
-rw-r--r-- | media-libs/jasper/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/jasper/jasper-1.900.1-r3.ebuild | 26 |
2 files changed, 20 insertions, 15 deletions
diff --git a/media-libs/jasper/ChangeLog b/media-libs/jasper/ChangeLog index ab749ad52207..e87e5d1a6417 100644 --- a/media-libs/jasper/ChangeLog +++ b/media-libs/jasper/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-libs/jasper -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.57 2010/09/16 17:15:07 scarabeus Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/ChangeLog,v 1.58 2011/04/04 18:57:24 scarabeus Exp $ + + 04 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org> + jasper-1.900.1-r3.ebuild: + Make static libs optional. Punt .la file. Update to eapi3 since it is full of + prefix keywords. 16 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> jasper-1.900.1-r3.ebuild: diff --git a/media-libs/jasper/jasper-1.900.1-r3.ebuild b/media-libs/jasper/jasper-1.900.1-r3.ebuild index 23695cd25fe5..3ef064f4f142 100644 --- a/media-libs/jasper/jasper-1.900.1-r3.ebuild +++ b/media-libs/jasper/jasper-1.900.1-r3.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r3.ebuild,v 1.13 2010/09/16 17:15:07 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/jasper/jasper-1.900.1-r3.ebuild,v 1.14 2011/04/04 18:57:24 scarabeus Exp $ + +EAPI=3 inherit libtool eutils @@ -12,31 +14,29 @@ SRC_URI="http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-${PV}.zip LICENSE="JasPer2.0" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" -IUSE="opengl jpeg" +IUSE="jpeg opengl static-libs" RDEPEND="jpeg? ( virtual/jpeg ) - opengl? ( virtual/opengl media-libs/freeglut )" + opengl? ( virtual/opengl media-libs/freeglut )" DEPEND="${RDEPEND} - app-arch/unzip" + app-arch/unzip" -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${WORKDIR}"/${P}-fixes-20081208.patch elibtoolize } -src_compile() { +src_configure() { econf \ $(use_enable jpeg libjpeg) \ $(use_enable opengl) \ - --enable-shared \ - || die - emake || die "If you got undefined references to OpenGL related libraries,please try 'eselect opengl set xorg-x11' before emerging. See bug #133609." + $(use_enable static-libs static) \ + --enable-shared } src_install() { - emake DESTDIR="${D}" install || die + emake DESTDIR="${ED}" install || die dodoc NEWS README doc/* + find "${ED}" -name '*.la' -delete } |