commit:     298eb51cb64f0773dfb8713c43d20cd55ac78050
Author:     Daniel Novomesky <dnovomesky <AT> gmail <DOT> com>
AuthorDate: Wed Apr 20 15:51:36 2022 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 21 14:14:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=298eb51c

media-libs/libjxl: fix live ebuild

jxlinfo is now installed by default,
it was promoted from examples to tools.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Daniel Novomesky <dnovomesky <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25132
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/libjxl/libjxl-9999.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/media-libs/libjxl/libjxl-9999.ebuild 
b/media-libs/libjxl/libjxl-9999.ebuild
index 0dcf64fe11d8..87e4061707c8 100644
--- a/media-libs/libjxl/libjxl-9999.ebuild
+++ b/media-libs/libjxl/libjxl-9999.ebuild
@@ -13,7 +13,7 @@ EGIT_SUBMODULES=(third_party/skcms)
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="examples gdk-pixbuf gimp210 openexr"
+IUSE="gdk-pixbuf gimp210 openexr"
 
 DEPEND="app-arch/brotli:=[${MULTILIB_USEDEP}]
        dev-cpp/gflags:=[${MULTILIB_USEDEP}]
@@ -50,12 +50,12 @@ multilib_src_configure() {
                -DJPEGXL_ENABLE_MANPAGES=OFF
                -DJPEGXL_ENABLE_JNI=OFF
                -DJPEGXL_ENABLE_TCMALLOC=OFF
+               -DJPEGXL_ENABLE_EXAMPLES=OFF
        )
 
        if multilib_is_native_abi; then
                mycmakeargs+=(
                        -DJPEGXL_ENABLE_TOOLS=ON
-                       -DJPEGXL_ENABLE_EXAMPLES=$(usex examples)
                        -DJPEGXL_ENABLE_OPENEXR=$(usex openexr)
                        -DJPEGXL_ENABLE_PLUGINS=ON
                        -DJPEGXL_ENABLE_PLUGIN_GDKPIXBUF=$(usex gdk-pixbuf)
@@ -65,7 +65,6 @@ multilib_src_configure() {
        else
                mycmakeargs+=(
                        -DJPEGXL_ENABLE_TOOLS=OFF
-                       -DJPEGXL_ENABLE_EXAMPLES=OFF
                        -DJPEGXL_ENABLE_OPENEXR=OFF
                        -DJPEGXL_ENABLE_PLUGINS=OFF
                )
@@ -73,10 +72,3 @@ multilib_src_configure() {
 
        cmake_src_configure
 }
-
-multilib_src_install() {
-       cmake_src_install
-       if use examples && multilib_is_native_abi; then
-               dobin "${BUILD_DIR}/jxlinfo"
-       fi
-}

Reply via email to