From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D30661392E6 for ; Wed, 26 Oct 2016 20:17:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96D5521C07D; Wed, 26 Oct 2016 20:16:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70E2A21C07D for ; Wed, 26 Oct 2016 20:16:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B549341421 for ; Wed, 26 Oct 2016 20:16:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5649249D for ; Wed, 26 Oct 2016 20:16:33 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1477512981.ab7beb1ef89ba0d79c6e57a4f5c096219ce93f3a.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/jasper/Manifest media-libs/jasper/jasper-1.900.15.ebuild X-VCS-Directories: media-libs/jasper/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ab7beb1ef89ba0d79c6e57a4f5c096219ce93f3a X-VCS-Branch: master Date: Wed, 26 Oct 2016 20:16:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b50b1c07-de74-4f3d-be30-9ded1dde8963 X-Archives-Hash: e61f37fbc3b936519258c486db99eafd commit: ab7beb1ef89ba0d79c6e57a4f5c096219ce93f3a Author: David Seifert gentoo org> AuthorDate: Wed Oct 26 19:55:01 2016 +0000 Commit: David Seifert gentoo org> CommitDate: Wed Oct 26 20:16:21 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7beb1e media-libs/jasper: Version bump to 1.900.15 * Add option to limit maximum memory by default Package-Manager: portage-2.3.2 media-libs/jasper/Manifest | 1 + media-libs/jasper/jasper-1.900.15.ebuild | 59 ++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest index 65c6795..ba83d73 100644 --- a/media-libs/jasper/Manifest +++ b/media-libs/jasper/Manifest @@ -1 +1,2 @@ +DIST jasper-1.900.15.tar.gz 1270678 SHA256 145b60616208df067d3769feb001bec6360c8c0da911d5fe5fd69ade50627bfb SHA512 2fe58dac4613477f423a7c2afa5fea88436ebc9ca2ab01f35aecba6b8e9d95e60415f94c240c580b87e4135522f176a2b7351743b852ff94518b0642b85130f7 WHIRLPOOL b152bce5a7ce6bf05fc484320bed9e069f636ce2889b995118825a99498196b9628f1bba6ec8ca8a51860e8b25b7c8945646e45cd1b6cfc434ef66babe9583c3 DIST jasper-1.900.6.tar.gz 787271 SHA256 5d0b4d684d19104b4564ef7142f4059eda91902620af36a3a6205d3dae66e027 SHA512 096e77609bf977eb0bbc9b1fc804bce7be1c7c81d066db7e367b61c4f6fa772a7a7ef21f7613485de46c3ca22cce57dce1e80c3736f54eb77eb44153218983b6 WHIRLPOOL 23edd5abc05248b43085f5a77a0210dcaf52089c57e31686478bd9b01284f294459ac1cad71eae4a594ef2632ba4323190b25d1a37dd36af0c0d7cd69579e568 diff --git a/media-libs/jasper/jasper-1.900.15.ebuild b/media-libs/jasper/jasper-1.900.15.ebuild new file mode 100644 index 00000000..7c007cd --- /dev/null +++ b/media-libs/jasper/jasper-1.900.15.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/1" +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 +}