236 Commits

Author SHA1 Message Date
tilpner fefe6753e9 chore(sys): remove obsolete/broken nix/travis/git configuration 2023-05-24 21:49:22 +02:00
tilpner 5409593c3e Update for ffmpeg 6.0 2023-05-24 21:49:22 +02:00
pkubaj 9b03a362c3 Fix build on big-endian architectures
error[E0428]: the name `AV_PIX_FMT_YUV420P9` is defined multiple times
   --> /wrkdirs/usr/ports/multimedia/av1an/work/Av1an-0.2.0/cargo-crates/ffmpeg-sys-next-4.4.0/src/avutil/pixfmt.rs:155:1
    |
38  | pub const AV_PIX_FMT_YUV420P9: AVPixelFormat = AV_PIX_FMT_YUV420P9LE;
    | --------------------------------------------------------------------- previous definition of the value `AV_PIX_FMT_YUV420P9` here
...
155 | pub const AV_PIX_FMT_YUV420P9: AVPixelFormat = AV_PIX_FMT_YUV420P9BE;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `AV_PIX_FMT_YUV420P9` redefined here
    |
    = note: `AV_PIX_FMT_YUV420P9` must be defined only once in the value namespace of this module
2023-05-24 21:49:22 +02:00
chrox 0b7cf67577 Fix cross-compilation for Windows on Linux 2023-05-24 21:49:22 +02:00
Kornel 85a2f075d7 Bump bindgen 2023-05-24 21:49:22 +02:00
Kornel ce942c17d6 Set --target flag for Apple's clang when cross-compiling 2023-05-24 21:49:22 +02:00
Kornel 52edfd6010 Explicitly enable cross-compilation in ./configure 2023-05-24 21:49:22 +02:00
Kornel 9a877ab7e6 Use the os from the target triple, rather than Rust's nickname 2023-05-24 21:49:22 +02:00
Kornel cb893a04b9 Check for actual target OS 2023-05-24 21:49:22 +02:00
Kornel 530201f895 Fix unwrap on compiler names without - 2023-05-24 21:49:22 +02:00
meh aadcf3ba62 chore: bump version 2023-05-24 21:49:22 +02:00
meh 175a4bada4 feat: add optional serde support 2023-05-24 21:49:22 +02:00
Vivien Venuti ad4f638ad5 Fix type issue for compilation targeting windows 2023-05-24 21:49:22 +02:00
Kornel d12f0d1fb2 Travis picks ancient xcode for some reason 2023-05-24 21:49:22 +02:00
Kornel 1cf6267991 Fix use statements 2023-05-24 21:49:22 +02:00
Kornel 2da2612b27 Clippy lints 2023-05-24 21:49:22 +02:00
Christopher Brown fc89057e98 fix framework linking on macos 2023-05-24 21:49:22 +02:00
meh 2a51f73d10 chore: bump dependencies and version 2023-05-24 21:49:22 +02:00
meh 2c9cfb6ca9 style: run rustfmt 2023-05-24 21:49:22 +02:00
Kornel 41d0a06a3a Upgrade deps (#96) 2023-05-24 21:49:22 +02:00
Cole K f9eefd05f4 Spawn a new thread with a larger stack perform build script work in 2023-05-24 21:49:22 +02:00
meh 665081bfae chore: bump bindgen version 2023-05-24 21:49:22 +02:00
Per Larsen e415e429a7 fix: disable optimizations for debug builds 2023-05-24 21:49:22 +02:00
meh e1f104cb19 chore: add nix-shell stuff 2023-05-24 21:49:22 +02:00
Kornel fc9701a71d Fix duplicated flag 2023-05-24 21:49:22 +02:00