Commit e2a807fe authored by Jerome Wu's avatar Jerome Wu

Fix x265.pc missing issue

parent 07bb6b4d
/cache
/node_modules
!*.pc
......@@ -66,8 +66,12 @@ ADDLIB libx265_main12.a
SAVE
END
EOF
emmake make install
# BUG: In Github Actions, it is required to copy it manually
cp x265.pc $BUILD_DIR/lib/pkgconfig
emmake make install -j
# BUG: In Github Actions, x265.pc is not generated,
# so we need to copy one manually
cp $ROOT_DIR/wasm/patches/x265.pc $BUILD_DIR/lib/pkgconfig
cp x265.pc $BUILD_DIR/lib/pkgconfig || true
cp x265.pc $ROOT_DIR/wasm/patches || true
cd $ROOT_DIR
prefix=/src/build
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: x265
Description: H.265/HEVC video encoder
Version: 3.4
Libs: -L${libdir} -lx265
Libs.private:
Cflags: -I${includedir}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment