summaryrefslogtreecommitdiff
path: root/media-libs
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-01-20 12:30:20 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2022-01-20 12:30:20 -0500
commite5b899fed28c0343e4139b493eb163ce7685af32 (patch)
tree2497749a3994dca8fa04e80bd91b318d5692a08f /media-libs
parent431e8a800667fae83223df4d1940a354ef7ad262 (diff)
downloadgentoo-overlay-e5b899fed28c0343e4139b493eb163ce7685af32.tar.xz
gentoo-overlay-e5b899fed28c0343e4139b493eb163ce7685af32.zip
media-libs/libjxl: update plugin config to match upstream
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libjxl/libjxl-9999.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-libs/libjxl/libjxl-9999.ebuild b/media-libs/libjxl/libjxl-9999.ebuild
index ef50a50..6745919 100644
--- a/media-libs/libjxl/libjxl-9999.ebuild
+++ b/media-libs/libjxl/libjxl-9999.ebuild
@@ -66,8 +66,6 @@ src_unpack() {
}
src_prepare() {
- use gdk-pixbuf || sed -i -e '/(gdk-pixbuf)/s/^/#/' plugins/CMakeLists.txt || die
- use gimp || sed -i -e '/(gimp)/s/^/#/' plugins/CMakeLists.txt || die
cmake_src_prepare
java-pkg-opt-2_src_prepare
}
@@ -83,7 +81,10 @@ multilib_src_configure() {
-DJPEGXL_ENABLE_JNI=$(multilib_native_usex java)
-DJPEGXL_ENABLE_MANPAGES=$(multilib_native_usex man)
-DJPEGXL_ENABLE_OPENEXR=$(multilib_native_usex openexr)
- -DJPEGXL_ENABLE_PLUGINS=$(multilib_is_native_abi && echo ON || echo OFF) # USE=gdk-pixbuf, USE=gimp handled in src_prepare
+ -DJPEGXL_ENABLE_PLUGINS=$(multilib_is_native_abi && echo ON || echo OFF)
+ -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(multilib_native_usex gdk-pixbuf)
+ -DJPEGXL_ENABLE_PLUGIN_GIMP210=$(multilib_native_usex gimp)
+ -DJPEGXL_ENABLE_PLUGIN_MIME=ON
-DJPEGXL_ENABLE_SJPEG=OFF
-DJPEGXL_ENABLE_SKCMS=ON
-DJPEGXL_ENABLE_TCMALLOC=OFF