diff options
author | Daniel Novomesky <dnovomesky@gmail.com> | 2022-01-24 14:35:00 +0100 |
---|---|---|
committer | Daniel Novomesky <dnovomesky@gmail.com> | 2022-01-24 14:35:00 +0100 |
commit | 6a39cfd4586ee3b6a3feb79c3b4d496525f80d21 (patch) | |
tree | 0c1a08f03a33f897c3bf2cdaaba5a424c08cb204 /media-libs | |
parent | media-plugins/qt-jpegxl-image-plugin: bump EAPI (diff) | |
download | guru-6a39cfd4586ee3b6a3feb79c3b4d496525f80d21.tar.gz guru-6a39cfd4586ee3b6a3feb79c3b4d496525f80d21.tar.bz2 guru-6a39cfd4586ee3b6a3feb79c3b4d496525f80d21.zip |
media-libs/libjxl: new use flags for live ebuild
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky@gmail.com>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libjxl/libjxl-9999.ebuild | 29 | ||||
-rw-r--r-- | media-libs/libjxl/metadata.xml | 2 |
2 files changed, 18 insertions, 13 deletions
diff --git a/media-libs/libjxl/libjxl-9999.ebuild b/media-libs/libjxl/libjxl-9999.ebuild index 1745e4ba0..2a78f5130 100644 --- a/media-libs/libjxl/libjxl-9999.ebuild +++ b/media-libs/libjxl/libjxl-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 2021-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 -inherit xdg cmake git-r3 +inherit cmake git-r3 xdg DESCRIPTION="JPEG XL image format reference implementation" HOMEPAGE="https://github.com/libjxl/libjxl" @@ -12,22 +12,24 @@ EGIT_REPO_URI="https://github.com/libjxl/libjxl.git" LICENSE="BSD" SLOT="0" -IUSE="examples" +IUSE="examples gdk-pixbuf gimp210" 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-cpp/gflags dev-cpp/gtest dev-cpp/highway + dev-util/google-perftools + media-libs/freeglut + media-libs/giflib media-libs/lcms + media-libs/libpng + media-libs/openexr:= + sys-libs/zlib + virtual/jpeg + virtual/opengl + x11-misc/shared-mime-info + gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 ) + gimp210? ( >=media-gfx/gimp-2.10.28:0/2 ) " BDEPEND="" @@ -38,7 +40,6 @@ src_configure() { local mycmakeargs=( -DCMAKE_SKIP_RPATH=ON -DBUILD_TESTING=OFF - -DBUILD_SHARED_LIBS=ON -DJPEGXL_ENABLE_BENCHMARK=OFF -DJPEGXL_ENABLE_COVERAGE=OFF -DJPEGXL_ENABLE_FUZZERS=OFF @@ -49,6 +50,8 @@ src_configure() { -DJPEGXL_ENABLE_EXAMPLES=$(usex examples) -DJPEGXL_ENABLE_VIEWERS=OFF -DJPEGXL_ENABLE_PLUGINS=ON + -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf) + -DJPEGXL_ENABLE_PLUGIN_GIMP210=$(usex gimp210) -DJPEGXL_FORCE_SYSTEM_BROTLI=ON -DJPEGXL_FORCE_SYSTEM_HWY=ON -DJPEGXL_FORCE_SYSTEM_GTEST=ON diff --git a/media-libs/libjxl/metadata.xml b/media-libs/libjxl/metadata.xml index 5c6f84710..40fe4cbfc 100644 --- a/media-libs/libjxl/metadata.xml +++ b/media-libs/libjxl/metadata.xml @@ -9,6 +9,8 @@ <flag name="benchmark">Build JPEGXL benchmark tools</flag> <flag name="devtools">Build JPEGXL developer tools</flag> <!--<flag name="fuzzers">Build the fuzzers</flag>--> + <flag name="gdk-pixbuf">Build a gdk-pixbuf loader</flag> + <flag name="gimp210">Enable plugin for GIMP 2.10.x series</flag> <flag name="openexr">Build JPEGXL with support for OpenEXR</flag> <flag name="plugins">Build third-party plugins to support JPEG XL in other applications</flag> <flag name="sjpeg">Build JPEGXL with support for encoding with sjpeg</flag> |