public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Daniel Novomesky" <dnovomesky@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-libs/jpeg-xl/
Date: Wed, 13 Jan 2021 09:17:07 +0000 (UTC)	[thread overview]
Message-ID: <1610529269.8ad3e268f5e537fc934500c11658a41a052b8a13.dnovomesky@gentoo> (raw)

commit:     8ad3e268f5e537fc934500c11658a41a052b8a13
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Jan 13 09:14:29 2021 +0000
Commit:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
CommitDate: Wed Jan 13 09:14:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ad3e268

media-libs/jpeg-xl: new package

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>

 media-libs/jpeg-xl/jpeg-xl-9999.ebuild | 58 ++++++++++++++++++++++++++++++++++
 media-libs/jpeg-xl/metadata.xml        |  8 +++++
 2 files changed, 66 insertions(+)

diff --git a/media-libs/jpeg-xl/jpeg-xl-9999.ebuild b/media-libs/jpeg-xl/jpeg-xl-9999.ebuild
new file mode 100644
index 00000000..fc5a0296
--- /dev/null
+++ b/media-libs/jpeg-xl/jpeg-xl-9999.ebuild
@@ -0,0 +1,58 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+inherit cmake git-r3
+
+DESCRIPTION="JPEG XL Reference Software"
+HOMEPAGE="https://gitlab.com/wg1/jpeg-xl/"
+
+EGIT_REPO_URI="https://gitlab.com/wg1/jpeg-xl.git"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="app-arch/brotli
+	sys-libs/zlib
+	media-libs/libpng
+	virtual/jpeg
+	virtual/opengl
+	media-libs/freeglut
+	media-libs/giflib
+	media-libs/openexr
+	dev-util/google-perftools
+	x11-misc/shared-mime-info
+	dev-qt/qtwidgets
+	dev-qt/qtx11extras
+"
+
+BDEPEND=""
+
+RDEPEND="${DEPEND}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DJPEGXL_ENABLE_BENCHMARK=OFF
+		-DJPEGXL_ENABLE_COVERAGE=OFF
+		-DJPEGXL_ENABLE_FUZZERS=OFF
+		-DJPEGXL_ENABLE_SJPEG=OFF
+		-DJPEGXL_WARNINGS_AS_ERRORS=OFF
+
+		-DJPEGXL_ENABLE_EXAMPLES=ON
+		-DJPEGXL_ENABLE_VIEWERS=ON
+		-DJPEGXL_ENABLE_PLUGINS=ON
+		-DJPEGXL_FORCE_SYSTEM_BROTLI=ON
+	)
+
+	cmake_src_configure
+}
+
+pkg_postinst() {
+	xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+	xdg_mimeinfo_database_update
+}

diff --git a/media-libs/jpeg-xl/metadata.xml b/media-libs/jpeg-xl/metadata.xml
new file mode 100644
index 00000000..d9a1e3c6
--- /dev/null
+++ b/media-libs/jpeg-xl/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>dnovomesky@gmail.com</email>
+		<name>Daniel Novomesky</name>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2021-01-13  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-13  9:17 Daniel Novomesky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-01-13 12:16 [gentoo-commits] repo/proj/guru:dev commit in: media-libs/jpeg-xl/ Daniel Novomesky
2021-06-03 11:45 Daniel Novomesky

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=1610529269.8ad3e268f5e537fc934500c11658a41a052b8a13.dnovomesky@gentoo \
    --to=dnovomesky@gmail.com \
    --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