From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/
Date: Wed, 26 Oct 2016 20:16:33 +0000 (UTC) [thread overview]
Message-ID: <1477512987.ed1f940dedfc29c889b889d2638e619e1b8abc69.soap@gentoo> (raw)
commit: ed1f940dedfc29c889b889d2638e619e1b8abc69
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 20:05:39 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 20:16:27 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed1f940d
media-libs/jasper: Update live ebuild
* Add option to limit maximum memory by default
Package-Manager: portage-2.3.2
media-libs/jasper/jasper-9999.ebuild | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
diff --git a/media-libs/jasper/jasper-9999.ebuild b/media-libs/jasper/jasper-9999.ebuild
index 10f690f..7c007cd 100644
--- a/media-libs/jasper/jasper-9999.ebuild
+++ b/media-libs/jasper/jasper-9999.ebuild
@@ -4,15 +4,27 @@
EAPI=6
-inherit autotools git-r3 multilib-minimal
+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/"
-EGIT_REPO_URI="https://github.com/mdadams/jasper.git"
+
+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"
-KEYWORDS=""
IUSE="jpeg opengl static-libs"
RDEPEND="
@@ -21,7 +33,7 @@ RDEPEND="
>=virtual/opengl-7.0-r1:0[${MULTILIB_USEDEP}]
>=media-libs/freeglut-2.8.1:0[${MULTILIB_USEDEP}]
virtual/glu
- )"
+ )"
DEPEND="${RDEPEND}
app-arch/unzip"
@@ -34,7 +46,8 @@ multilib_src_configure() {
ECONF_SOURCE="${S}" econf \
$(use_enable jpeg libjpeg) \
$(use_enable opengl) \
- $(use_enable static-libs static)
+ $(use_enable static-libs static) \
+ --enable-memory-limit="${JASPER_MEM_LIMIT}"
}
multilib_src_install_all() {
next reply other threads:[~2016-10-26 20:16 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-26 20:16 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-08-22 1:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/jasper/ Eli Schwartz
2024-08-22 1:26 Eli Schwartz
2024-07-03 5:17 Ionen Wolkens
2024-06-25 6:28 Joonas Niilola
2024-06-25 4:07 Sam James
2024-03-20 20:47 Andrew Ammerlaan
2024-02-06 8:28 Andrew Ammerlaan
2024-01-14 5:36 Sam James
2024-01-14 5:36 Sam James
2024-01-10 12:39 Andrew Ammerlaan
2024-01-09 15:34 WANG Xuerui
2024-01-09 15:34 WANG Xuerui
2023-04-13 10:52 David Seifert
2023-04-13 10:04 David Seifert
2023-04-12 13:09 David Seifert
2019-03-26 14:32 Lars Wendler
2019-03-25 7:27 Lars Wendler
2019-03-25 7:25 Lars Wendler
2019-03-25 7:20 Lars Wendler
2019-03-20 14:55 Lars Wendler
2019-03-20 14:55 Lars Wendler
2018-06-30 17:47 Mikle Kolyada
2018-05-15 14:57 Aaron Bauman
2018-05-15 14:57 Aaron Bauman
2018-05-08 18:43 Sergei Trofimovich
2018-04-22 20:19 Matt Turner
2018-04-08 10:55 Markus Meier
2018-03-31 10:11 Tobias Klausmann
2018-03-24 22:11 Mikle Kolyada
2018-03-23 23:38 Sergei Trofimovich
2017-09-01 6:54 Tim Harder
2017-05-16 6:39 David Seifert
2017-04-27 11:23 Agostino Sarubbo
2017-04-07 9:41 Jeroen Roovers
2017-04-04 19:28 Tobias Klausmann
2017-04-03 21:19 Michael Weber
2017-04-03 21:00 Michael Weber
2017-04-03 12:33 Agostino Sarubbo
2017-04-02 17:33 Agostino Sarubbo
2017-04-02 17:32 Agostino Sarubbo
2017-03-29 19:51 David Seifert
2017-01-05 13:30 David Seifert
2017-01-05 13:30 David Seifert
2016-12-20 9:13 David Seifert
2016-12-20 9:13 David Seifert
2016-12-10 21:32 David Seifert
2016-12-10 21:32 David Seifert
2016-12-10 21:32 David Seifert
2016-12-10 12:49 David Seifert
2016-12-10 10:28 David Seifert
2016-12-07 19:59 David Seifert
2016-12-07 19:59 David Seifert
2016-11-12 23:37 David Seifert
2016-11-12 23:37 David Seifert
2016-10-30 9:13 David Seifert
2016-10-29 9:45 David Seifert
2016-10-26 20:16 David Seifert
2016-10-22 15:34 Agostino Sarubbo
2016-10-22 9:58 Jeroen Roovers
2016-10-21 10:52 Agostino Sarubbo
2016-10-21 10:52 Agostino Sarubbo
2016-10-20 11:00 Agostino Sarubbo
2016-10-20 11:00 Agostino Sarubbo
2016-10-19 10:28 Agostino Sarubbo
2016-10-19 10:26 Agostino Sarubbo
2016-10-19 7:45 David Seifert
2016-10-18 18:35 David Seifert
2016-10-16 22:11 David Seifert
2016-10-14 21:30 David Seifert
2015-10-10 11:17 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1477512987.ed1f940dedfc29c889b889d2638e619e1b8abc69.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox