diff options
author | David Seifert <soap@gentoo.org> | 2016-11-13 00:31:27 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-13 00:36:33 +0100 |
commit | a70a23f94c40fbf3d7db03e8d4919b1cc7895c79 (patch) | |
tree | bfe253d3a3d1cf851df1ac8868b5c27fc0386f5e /media-libs/jasper | |
parent | sci-libs/grib_api: Add subslot operator on media-libs/jasper (diff) | |
download | gentoo-a70a23f94c40fbf3d7db03e8d4919b1cc7895c79.tar.gz gentoo-a70a23f94c40fbf3d7db03e8d4919b1cc7895c79.tar.bz2 gentoo-a70a23f94c40fbf3d7db03e8d4919b1cc7895c79.zip |
media-libs/jasper: Version bump to 1.900.26
Gentoo-bug: 599180
Package-Manager: portage-2.3.2
Diffstat (limited to 'media-libs/jasper')
-rw-r--r-- | media-libs/jasper/Manifest | 1 | ||||
-rw-r--r-- | media-libs/jasper/jasper-1.900.26.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest index c9148c49a2ca..7053d47f44d5 100644 --- a/media-libs/jasper/Manifest +++ b/media-libs/jasper/Manifest @@ -1,2 +1,3 @@ DIST jasper-1.900.18.tar.gz 1280521 SHA256 9fe522edb2c26aa28b882be12812c0bca2d266f78aab2e54029a158e73c88b49 SHA512 ae5b205a6b9c03555af2526e26547b1176fdd13c6e0974bf5ee0f42fb28dbc40c82e097b3fa520e119e259d5debb5526013e39aad1484d88c64078f19c3cf527 WHIRLPOOL 594922e929ae44cb5a7ac16086b7f2ee7b775d9c721da940fc5c6ddb389df4ff6e1cd4980d4cf70a101e73b78ca4975d3563e4d445e00ee6dbd94291b53814fe +DIST jasper-1.900.26.tar.gz 1289435 SHA256 b27e14639b0cbd5362fcf537660a1294c4c183539c20767d3b75df60b02ffd1a SHA512 977df6f79175854cc750224ed136022d66b543bae3d4b0a5cfee61e57d2723e221ee0b784bdfbcc8bd95a4ec7afdc35ad47bc0cc6f8fbbf39b715790815878fd WHIRLPOOL 24e99cb400aa2e21a0bdf576768cebb0d5563aa003da2a46186ad27fb2c7b268995351cbe76b1a059024e51fa339872d8ac0ccc450466c6fc06a4ba840369ee1 DIST jasper-1.900.6.tar.gz 787271 SHA256 5d0b4d684d19104b4564ef7142f4059eda91902620af36a3a6205d3dae66e027 SHA512 096e77609bf977eb0bbc9b1fc804bce7be1c7c81d066db7e367b61c4f6fa772a7a7ef21f7613485de46c3ca22cce57dce1e80c3736f54eb77eb44153218983b6 WHIRLPOOL 23edd5abc05248b43085f5a77a0210dcaf52089c57e31686478bd9b01284f294459ac1cad71eae4a594ef2632ba4323190b25d1a37dd36af0c0d7cd69579e568 diff --git a/media-libs/jasper/jasper-1.900.26.ebuild b/media-libs/jasper/jasper-1.900.26.ebuild new file mode 100644 index 000000000000..d1076349a260 --- /dev/null +++ b/media-libs/jasper/jasper-1.900.26.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools multilib-minimal + +DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" +HOMEPAGE="http://www.ece.uvic.ca/~mdadams/jasper/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mdadams/jasper.git" +else + inherit vcs-snapshot + SRC_URI="https://github.com/mdadams/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" +fi + +# We limit memory usage to 128 MiB by default, specified in bytes +: ${JASPER_MEM_LIMIT:=134217728} + +LICENSE="JasPer2.0" +SLOT="0/3" +IUSE="jpeg opengl static-libs" + +RDEPEND=" + jpeg? ( >=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] ) + opengl? ( + >=virtual/opengl-7.0-r1:0[${MULTILIB_USEDEP}] + >=media-libs/freeglut-2.8.1:0[${MULTILIB_USEDEP}] + virtual/glu + )" +DEPEND="${RDEPEND} + app-arch/unzip" + +src_prepare() { + default + eautoreconf +} + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable jpeg libjpeg) \ + $(use_enable opengl) \ + $(use_enable static-libs static) \ + --enable-memory-limit="${JASPER_MEM_LIMIT}" +} + +multilib_src_install_all() { + einstalldocs + dodoc -r doc/. + + # package provides .pc files + find "${D}" -name '*.la' -delete || die +} |