49bf7bbb5d
- Introduced `r.toml` for R package configuration, including build flags and dependencies. - Added `sdl2-compat.toml` for SDL2 compatibility layer with SDL3, specifying build and runtime dependencies. - Created a patch for SDL3 to handle cases when XInput2 is not available, ensuring compatibility. - Added `sdl3.toml` for SDL3 configuration, including build flags and dependencies. - Introduced `tk.toml` for Tk configuration, detailing build flags and runtime dependencies. - Added a patch for Vala to ensure POSIX compliance in the test runner script, improving portability.
40 lines
866 B
TOML
40 lines
866 B
TOML
[build]
|
|
type = "cmake"
|
|
|
|
[build.flags]
|
|
build_dir = "build"
|
|
configure = [
|
|
"-DWEBP_BUILD_CWEBP=ON",
|
|
"-DWEBP_BUILD_DWEBP=ON",
|
|
"-DCMAKE_SKIP_INSTALL_RPATH=ON",
|
|
"-DBUILD_SHARED_LIBS=ON",
|
|
"-DWEBP_BUILD_EXTRAS=OFF",
|
|
"-DWEBP_BUILD_GIF2WEBP=ON",
|
|
"-DWEBP_BUILD_IMG2WEBP=ON",
|
|
"-DWEBP_BUILD_VWEBP=OFF",
|
|
"-G Ninja",
|
|
]
|
|
|
|
[dependencies]
|
|
build = [
|
|
"cmake",
|
|
"ninja",
|
|
"giflib",
|
|
"libjpeg-turbo",
|
|
"libpng",
|
|
"libtiff"
|
|
]
|
|
runtime = ["glibc"]
|
|
|
|
[package]
|
|
description = "WebP image codec library"
|
|
homepage = "https://developers.google.com/speed/webp/"
|
|
license = "BSD-3-Clause"
|
|
name = "libwebp"
|
|
version = "1.6.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "e4ab7009bf0629fd11982d4c2aa83964cf244cffba7347ecd39019a9e38c4564"
|
|
url = "https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-$version.tar.gz"
|