Files
packages/extra/snappy/snappy-cmake_add_pkgconfig.patch
SFG545 47993f6730 Add new packages and build scripts for various libraries
- Added Nuklear GUI library with build script and configuration.
- Introduced OpenH264 encoder/decoder with build configuration.
- Added PortAudio library for audio I/O with custom build script.
- Included Python Execnet for multi-Python deployment.
- Added Pytest Xdist plugin for distributed testing.
- Introduced Shaderc for shader compilation tools.
- Added Snappy compression library with necessary patches and configuration.
- Included SoundTouch audio processing library with build configuration.
- Added SRT library for secure reliable transport.
- Introduced VapourSynth video processing framework with configuration.
- Added Vid.stab for video stabilization.
- Included WebRTC Audio Processing library with build configuration.
- Added X264 video encoding library with patches for POSIX compliance.
- Introduced X265 video encoder with build configuration.
- Added XKeyboard Config for X keyboard configuration files.
- Included Xorg XKBComp for keyboard description compilation.
- Added Xvidcore MPEG-4 video codec library with configuration.
- Introduced ZeroMQ messaging system with patches and build configuration.
- Added Zimg library for scaling and colorspace conversion.
2026-03-25 05:32:53 -05:00

25 lines
708 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -187,6 +187,12 @@
"${PROJECT_BINARY_DIR}/config.h"
)
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/snappy.pc.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/snappy.pc"
+ @ONLY
+)
+
# We don't want to define HAVE_ macros in public headers. Instead, we use
# CMake's variable substitution with 0/1 variables, which will be seen by the
# preprocessor as constants.
@@ -395,4 +401,8 @@
"${PROJECT_BINARY_DIR}/cmake/${PROJECT_NAME}ConfigVersion.cmake"
DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
)
+ install(
+ FILES "${PROJECT_BINARY_DIR}/snappy.pc"
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
+ )
endif(SNAPPY_INSTALL)