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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 423B715852A for ; Thu, 22 Aug 2024 01:27:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0178AE29E9; Thu, 22 Aug 2024 01:27:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9E12E29E9 for ; Thu, 22 Aug 2024 01:27:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D8F12340C77 for ; Thu, 22 Aug 2024 01:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D49F1EF1 for ; Thu, 22 Aug 2024 01:26:58 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1724280799.1b0d4fba75b3b047b0e04f6e38d6f82e90632ec7.eschwartz@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-4.2.4.ebuild X-VCS-Directories: media-libs/jasper/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 1b0d4fba75b3b047b0e04f6e38d6f82e90632ec7 X-VCS-Branch: master Date: Thu, 22 Aug 2024 01:26:58 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: adab95a3-af06-4a47-907d-7a3f4175a6da X-Archives-Hash: 443ce33b5035fd0b50a4cbadd9b7b5ec commit: 1b0d4fba75b3b047b0e04f6e38d6f82e90632ec7 Author: Michael Vetter iodoru org> AuthorDate: Mon Aug 19 15:10:22 2024 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Wed Aug 21 22:53:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b0d4fba media-libs/jasper: add 4.2.4 Signed-off-by: Michael Vetter iodoru.org> Closes: https://github.com/gentoo/gentoo/pull/38204 Signed-off-by: Eli Schwartz gentoo.org> media-libs/jasper/Manifest | 1 + media-libs/jasper/jasper-4.2.4.ebuild | 62 +++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest index 0b7a56284b92..f909bb35f308 100644 --- a/media-libs/jasper/Manifest +++ b/media-libs/jasper/Manifest @@ -1 +1,2 @@ DIST jasper-4.2.2.tar.gz 1980836 BLAKE2B b5b1f1e27904bf3c884c43bd338b836425a68e5162e1e3dce320ac3cd5a0150cfe7e39a2709590378a33fd43eee3f7abe4d1d4d86bc99c0d58061a97cd9751a5 SHA512 5c5e0efae1c00a57d85ca5aa70f2cc332bb45db15e56f022c52a11f4ac8f995412896d62fcaa3b7f390a85de70aa56c421a9ab8e5945048ac94b19847eed67bd +DIST jasper-4.2.4.tar.gz 1987060 BLAKE2B ff65214e4a18a9853e8c441ddc3b0908534db5d625aa4e4dd5d60536d150fcbd068cf0fdd4ca36d4c7047c91b02ac9721e85563c435b9f75db980c64b6d3629f SHA512 4552e4823e08f7cb444d5835f30180ae1631b1784078769f0c1d51f40dd3bb6c8a1e960147d07312164dbb3b489561d06ee8f75112e76dbba8aacfd09c7d03e4 diff --git a/media-libs/jasper/jasper-4.2.4.ebuild b/media-libs/jasper/jasper-4.2.4.ebuild new file mode 100644 index 000000000000..2c68c17ea760 --- /dev/null +++ b/media-libs/jasper/jasper-4.2.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Implementation of the codec specified in the JPEG-2000 Part-1 standard" +HOMEPAGE="https://jasper-software.github.io/jasper/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jasper-software/jasper.git" +else + SRC_URI="https://github.com/jasper-software/${PN}/archive/version-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~x86" + S="${WORKDIR}/${PN}-version-${PV}" +fi + +LICENSE="JasPer2.0" +SLOT="0/7" +IUSE="doc heif jpeg opengl test" +RESTRICT="!test? ( test )" + +RDEPEND=" + heif? ( media-libs/libheif:= ) + jpeg? ( media-libs/libjpeg-turbo:= ) + opengl? ( + media-libs/freeglut + virtual/opengl + virtual/glu + )" +DEPEND="${RDEPEND}" +BDEPEND=" + app-shells/bash + doc? ( + app-text/doxygen + dev-texlive/texlive-latexextra + dev-texlive/texlive-plaingeneric + virtual/latex-base + ) + test? ( media-libs/openjpeg )" + +src_configure() { + local mycmakeargs=( + -DBASH_PROGRAM="${BROOT}"/bin/bash + + # documentation + $(cmake_use_find_package doc Doxygen) + $(cmake_use_find_package doc LATEX) + + # HEIF + -DJAS_ENABLE_LIBHEIF=$(usex heif) + + # JPEG + -DJAS_ENABLE_LIBJPEG=$(usex jpeg) + + # OpenGL + -DJAS_ENABLE_OPENGL=$(usex opengl) + ) + cmake_src_configure +}