From ff834f4a09ea18edc4ab258ff2f8350e3cb4709b Mon Sep 17 00:00:00 2001 From: Frankie Dintino Date: Sun, 10 Sep 2023 22:37:14 -0400 Subject: [PATCH] fixup --- wheelbuild/config.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/wheelbuild/config.sh b/wheelbuild/config.sh index 3522af6..eef7d54 100644 --- a/wheelbuild/config.sh +++ b/wheelbuild/config.sh @@ -380,6 +380,12 @@ function build_libsharpyuv { "${cmake_flags[@]}" \ && ninja sharpyuv) + cp libwebp-$LIBWEBP_SHA/build/libsharpyuv.a /usr/local/lib + cp libwebp-$LIBWEBP_SHA/build/sharpyuv/libsharpyuv.pc /usr/local/lib/pkgconfig + mkdir -p /usr/local/include/webp/sharpyuv + cp libwebp-$LIBWEBP_SHA/sharpyuv/*.h /usr/local/include/webp/sharpyuv + + require_package libsharpyuv group_end touch libsharpyuv-stamp } @@ -407,7 +413,7 @@ function build_libyuv { -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_BUILD_TYPE=Release \ "${cmake_flags[@]}" .. \ - && ninja yuv) + && ninja install) group_end touch libyuv-stamp } @@ -464,12 +470,8 @@ function build_libavif { group_end build_libsharpyuv - ln -s $PWD/libwebp-$LIBWEBP_SHA libavif-$LIBAVIF_VERSION/ext/libwebp - LIBAVIF_CMAKE_FLAGS+=(-DAVIF_LOCAL_LIBSHARPYUV=ON) build_libyuv - ln -s $PWD/libyuv-$LIBYUV_SHA libavif-$LIBAVIF_VERSION/ext/libyuv - LIBAVIF_CMAKE_FLAGS+=(-DAVIF_LOCAL_LIBYUV=ON) group_start "Build libavif" @@ -477,7 +479,6 @@ function build_libavif { (cd libavif-$LIBAVIF_VERSION/build \ && cmake .. \ - -DBUILD_SHARED_LIBS=OFF \ -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \