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 9AD45139085 for ; Thu, 5 Jan 2017 13:30:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF4D022419D; Thu, 5 Jan 2017 13:30:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 813C9E0CAD for ; Thu, 5 Jan 2017 13:30:28 +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 812593412C1 for ; Thu, 5 Jan 2017 13:30:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E547D2622 for ; Thu, 5 Jan 2017 13:30:25 +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: <1483623013.0ccb9ab0cebf4aea9c2881898c1de07a580e80b6.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-2.0.10.ebuild X-VCS-Directories: media-libs/jasper/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 0ccb9ab0cebf4aea9c2881898c1de07a580e80b6 X-VCS-Branch: master Date: Thu, 5 Jan 2017 13:30:25 +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: dc23c071-80e6-49f2-8f80-7a7217794615 X-Archives-Hash: 587776d42b7cb839952c6829fbc5ffa9 commit: 0ccb9ab0cebf4aea9c2881898c1de07a580e80b6 Author: David Seifert gentoo org> AuthorDate: Thu Jan 5 13:28:43 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Jan 5 13:30:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ccb9ab0 media-libs/jasper: Version bump to 2.0.10 Package-Manager: Portage-2.3.3, Repoman-2.3.1 media-libs/jasper/Manifest | 1 + media-libs/jasper/jasper-2.0.10.ebuild | 66 ++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest index f11d2ea..5ff6e3b 100644 --- a/media-libs/jasper/Manifest +++ b/media-libs/jasper/Manifest @@ -1,2 +1,3 @@ DIST jasper-1.900.6.tar.gz 787271 SHA256 5d0b4d684d19104b4564ef7142f4059eda91902620af36a3a6205d3dae66e027 SHA512 096e77609bf977eb0bbc9b1fc804bce7be1c7c81d066db7e367b61c4f6fa772a7a7ef21f7613485de46c3ca22cce57dce1e80c3736f54eb77eb44153218983b6 WHIRLPOOL 23edd5abc05248b43085f5a77a0210dcaf52089c57e31686478bd9b01284f294459ac1cad71eae4a594ef2632ba4323190b25d1a37dd36af0c0d7cd69579e568 +DIST jasper-2.0.10.tar.gz 1310613 SHA256 d48193de3b82e7f5792fe933fba2ef6714228de4d904ce98f3d69217ed7a85ec SHA512 8f96f72b73197088ff28364c7b4db79745a3188aa9be888ad3b211541bb4d1e45f23604b36d0b6c4176a432c2da888d1e31f119279aaab73e09430699e036859 WHIRLPOOL 37f98278af2baf2978b21a894c618166b4086c744c21ce953bad1b7aec9191550eda7d161aa93533c6a8f36399160633de5ea912e5d1e7ac37d5b3eece48062b DIST jasper-2.0.8.tar.gz 1309946 SHA256 ebaca7b4bb2354c58f649c6d97d07f14292df31666a7cb29f2b4a066976535e4 SHA512 7e77853e96c50b13c356e8ae257f5816cec9e26fa4991b61ad3dc80a7abfd11c742ae21293e4ff5888364b2950a338a4e804338cef66b781fcb863374e679cf0 WHIRLPOOL 0db74aedc2a30392770cfa3eecde063d9566d30f54eea21d796559d85e2ce96f42fe8737aae2202688b80246756373f6b41197e016c5cb40a6a49933639021b5 diff --git a/media-libs/jasper/jasper-2.0.10.ebuild b/media-libs/jasper/jasper-2.0.10.ebuild new file mode 100644 index 00000000..fc05fb5 --- /dev/null +++ b/media-libs/jasper/jasper-2.0.10.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-multilib + +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/4" +IUSE="doc jpeg opengl" + +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[${MULTILIB_USEDEP}] + x11-libs/libXi[${MULTILIB_USEDEP}] + x11-libs/libXmu[${MULTILIB_USEDEP}] + )" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen )" + +multilib_src_configure() { + local mycmakeargs=( + -DALLOW_IN_SOURCE_BUILD=OFF + -DBASH_PROGRAM="${EPREFIX}"/bin/bash + -DJAS_ENABLE_ASAN=OFF + -DJAS_ENABLE_LSAN=OFF + -DJAS_ENABLE_MSAN=OFF + -DJAS_ENABLE_SHARED=ON + -DJAS_ENABLE_STRICT=ON + -DJAS_ENABLE_USAN=OFF + -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} + + # JPEG + -DJAS_ENABLE_LIBJPEG=$(usex jpeg) + -DCMAKE_DISABLE_FIND_PACKAGE_JPEG=$(usex !jpeg) + + # OpenGL + -DJAS_ENABLE_OPENGL=$(usex opengl) + -DCMAKE_DISABLE_FIND_PACKAGE_OpenGL=$(usex !opengl) + + # Doxygen + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=$(multilib_native_usex doc OFF ON) + ) + cmake-utils_src_configure +}