--- cvsroot/CV/Makefile.PL 2018/09/23 07:04:26 1.54 +++ cvsroot/CV/Makefile.PL 2021/04/10 03:32:10 1.56 @@ -13,6 +13,7 @@ ** ** Optional dependencies: ** apt-get install libwebp-dev +** jpeg-xl reference implementation ** EOF @@ -31,6 +32,14 @@ $lib .= " " . qx; } +if (0) { +if (!system "pkg-config --exists libjxl libjxl_threads") { + $inc .= " -DJXL=1"; + $inc .= " " . qx; + $lib .= " " . qx; +} +} + $pkg->add_deps ("Gtk2", "Glib"); $pkg->set_libs ($lib); $pkg->set_inc ($inc);