From 5b36c18aaba339882ed70281371a1059d9e7943f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 12 Apr 2023 17:41:40 +0100 Subject: gentoo auto-resync : 12:04:2023 - 17:41:40 --- media-libs/jasper/Manifest | 4 +++ media-libs/jasper/jasper-4.0.0.ebuild | 56 +++++++++++++++++++++++++++++++++++ media-libs/jasper/jasper-9999.ebuild | 56 +++++++++++++++++++++++++++++++++++ media-libs/jasper/metadata.xml | 19 ++++++++++++ 4 files changed, 135 insertions(+) create mode 100644 media-libs/jasper/Manifest create mode 100644 media-libs/jasper/jasper-4.0.0.ebuild create mode 100644 media-libs/jasper/jasper-9999.ebuild create mode 100644 media-libs/jasper/metadata.xml (limited to 'media-libs/jasper') diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest new file mode 100644 index 000000000000..bd8a83eaeea6 --- /dev/null +++ b/media-libs/jasper/Manifest @@ -0,0 +1,4 @@ +DIST jasper-4.0.0.tar.gz 1975127 BLAKE2B d4d8ae3324f3753e999adee57c215b89fa0ddeb3d945f10de15459a7d6566f1de9cbcd27a418bcc3c128bc138fff7e3f1cc157b6750d2d7dc1216f8e8cbc8bea SHA512 dc03434870e85b1fdbdf41a3e07ce5a8044c8d225717d3d7a5969d45e3bd716bfb2abc4b4e0b8cec2f4071a7520c5d3e48939dba0cabe6d192eacd593de0c563 +EBUILD jasper-4.0.0.ebuild 1171 BLAKE2B 64f749cd0095dc53c5078abeb45aefb74b56d2271e5f1ad4c37b3c4d8fd67b040bf850a800ed1bcbf561388ac73ddba3baf4457ae695c2afba30d7e6b398c484 SHA512 5b8b6476097d53439a1f8c492266e02931c2eef239febe3dc348fd7c459fee8dfe52b7862a8bdee0a6723a0afa830297aebe74d577283b2ba4a331df5ed88289 +EBUILD jasper-9999.ebuild 1171 BLAKE2B 64f749cd0095dc53c5078abeb45aefb74b56d2271e5f1ad4c37b3c4d8fd67b040bf850a800ed1bcbf561388ac73ddba3baf4457ae695c2afba30d7e6b398c484 SHA512 5b8b6476097d53439a1f8c492266e02931c2eef239febe3dc348fd7c459fee8dfe52b7862a8bdee0a6723a0afa830297aebe74d577283b2ba4a331df5ed88289 +MISC metadata.xml 596 BLAKE2B 30b4b265c5649bc6c217a11760dac192c2f32889e7845b448da8082a66ace4e2d99a2700c5196a37039446136bc39261484c184f906c631f8e08c2409bec740a SHA512 415f348e2bfc7ef514a4b2db614551c5e8f591a5087c125589bc1c3099186d9b396e4b4cec309d0fa509f7d813e125a01ce7db5f56f329789d800bdc2a702ca2 diff --git a/media-libs/jasper/jasper-4.0.0.ebuild b/media-libs/jasper/jasper-4.0.0.ebuild new file mode 100644 index 000000000000..3ebc6a27c799 --- /dev/null +++ b/media-libs/jasper/jasper-4.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023 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="~amd64 ~arm ~arm64 ~x86" + S="${WORKDIR}/${PN}-version-${PV}" +fi + +LICENSE="JasPer2.0" +SLOT="0/7" +IUSE="doc heif jpeg opengl" + +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-doc/doxygen ) +" + +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 +} diff --git a/media-libs/jasper/jasper-9999.ebuild b/media-libs/jasper/jasper-9999.ebuild new file mode 100644 index 000000000000..3ebc6a27c799 --- /dev/null +++ b/media-libs/jasper/jasper-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 2023 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="~amd64 ~arm ~arm64 ~x86" + S="${WORKDIR}/${PN}-version-${PV}" +fi + +LICENSE="JasPer2.0" +SLOT="0/7" +IUSE="doc heif jpeg opengl" + +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-doc/doxygen ) +" + +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 +} diff --git a/media-libs/jasper/metadata.xml b/media-libs/jasper/metadata.xml new file mode 100644 index 000000000000..633050c64070 --- /dev/null +++ b/media-libs/jasper/metadata.xml @@ -0,0 +1,19 @@ + + + + + jubalh@iodoru.org + Michael Vetter + + + proxy-maint@gentoo.org + Proxy Maintainers + + + sci@gentoo.org + Gentoo Science Project + + + jasper-software/jasper + + -- cgit v1.2.3