From e5b899fed28c0343e4139b493eb163ce7685af32 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Thu, 20 Jan 2022 12:30:20 -0500 Subject: media-libs/libjxl: update plugin config to match upstream --- media-libs/libjxl/libjxl-9999.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'media-libs') 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 -- cgit v1.2.3-70-g09d2