libavif: fix cmake files (#424658)
This commit is contained in:
commit
8664a9a841
@ -98,7 +98,6 @@ stdenv.mkDerivation rec {
|
||||
GDK_PIXBUF_MODULEDIR=${gdkPixbufModuleDir} \
|
||||
GDK_PIXBUF_MODULE_FILE=${gdkPixbufModuleFile} \
|
||||
gdk-pixbuf-query-loaders --update-cache
|
||||
|
||||
''
|
||||
# Cross-compiled gdk-pixbuf doesn't support thumbnailers
|
||||
+ lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
|
||||
@ -107,6 +106,11 @@ stdenv.mkDerivation rec {
|
||||
--set GDK_PIXBUF_MODULE_FILE ${gdkPixbufModuleFile}
|
||||
'';
|
||||
|
||||
postFixup = ''
|
||||
substituteInPlace $dev/lib/cmake/libavif/libavif-config.cmake \
|
||||
--replace-fail "_IMPORT_PREFIX \"$out\"" "_IMPORT_PREFIX \"$dev\""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "C implementation of the AV1 Image File Format";
|
||||
longDescription = ''
|
||||
|
||||
@ -15,8 +15,7 @@ mkKdeDerivation {
|
||||
extraBuildInputs = [
|
||||
libheif
|
||||
libjxl
|
||||
# FIXME: cmake files are broken, disabled for now
|
||||
# libavif
|
||||
libavif
|
||||
libraw
|
||||
openexr
|
||||
];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user