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, 12 Apr 2023 13:09:25 +0000 (UTC) [thread overview]
Message-ID: <1681304944.6a76c8c2747a42f6d7e7df306f103c67febeb129.soap@gentoo> (raw)
commit: 6a76c8c2747a42f6d7e7df306f103c67febeb129
Author: Michael Vetter <jubalh <AT> iodoru <DOT> org>
AuthorDate: Wed Apr 12 13:09:04 2023 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Apr 12 13:09:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a76c8c2
media-libs/jasper: readd jasper library (4.0.0)
Closes: https://github.com/gentoo/gentoo/pull/30553
Bug: https://bugs.gentoo.org/734284
Signed-off-by: Michael Vetter <jubalh <AT> iodoru.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
media-libs/jasper/Manifest | 1 +
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, 132 insertions(+)
diff --git a/media-libs/jasper/Manifest b/media-libs/jasper/Manifest
new file mode 100644
index 000000000000..cb9e39b4d412
--- /dev/null
+++ b/media-libs/jasper/Manifest
@@ -0,0 +1 @@
+DIST jasper-4.0.0.tar.gz 1975127 BLAKE2B d4d8ae3324f3753e999adee57c215b89fa0ddeb3d945f10de15459a7d6566f1de9cbcd27a418bcc3c128bc138fff7e3f1cc157b6750d2d7dc1216f8e8cbc8bea SHA512 dc03434870e85b1fdbdf41a3e07ce5a8044c8d225717d3d7a5969d45e3bd716bfb2abc4b4e0b8cec2f4071a7520c5d3e48939dba0cabe6d192eacd593de0c563
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>jubalh@iodoru.org</email>
+ <name>Michael Vetter</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jasper-software/jasper</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2023-04-12 13:09 UTC|newest]
Thread overview: 71+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-12 13:09 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
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-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=1681304944.6a76c8c2747a42f6d7e7df306f103c67febeb129.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