faad2: 2.11.0 -> 2.11.1

Changes: https://github.com/knik0/faad2/releases/tag/2.11.1
This commit is contained in:
Sergei Trofimovich 2023-11-14 19:00:07 +00:00
parent fead80de0e
commit e1f858ec13

View file

@ -1,7 +1,6 @@
{lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
# for passthru.tests
@ -13,43 +12,19 @@
stdenv.mkDerivation rec {
pname = "faad2";
version = "2.11.0";
version = "2.11.1";
src = fetchFromGitHub {
owner = "knik0";
repo = "faad2";
rev = version;
hash = "sha256-fp8RGG9HQOcyudTA9osGaI3oVIY8vo8vhJtd04+wNKc=";
hash = "sha256-E6oe7yjYy1SJo8xQkyUk1sSucKDMPxwUFVSAyrf4Pd8=";
};
patches = [
# i686Linux packports
# TODO: remove with next release
(fetchpatch {
name = "lrintf-p1.patch";
url = "https://github.com/knik0/faad2/commit/1001f9576cbb29242671c489cd861de61cfe08e2.patch";
hash = "sha256-du3oIbtaSU0ZhzMyMmIBHA6lndImA0tmT5D8pK8r49g=";
})
(fetchpatch {
name = "lrintf-p2.patch";
url = "https://github.com/knik0/faad2/commit/047fd22172a7ff6974b9ac6ca7e4ffdb1944f2e0.patch";
hash = "sha256-F7VXjtiDbii2oBKuJHZbKSsYGyO+rolPk8KjcvPIRsw=";
})
(fetchpatch {
name = "lrintf-p3.patch";
url = "https://github.com/knik0/faad2/commit/2c1eebc89dd21ab25c24b664762515af39bd9700.patch";
hash = "sha256-MSd7dU5IxxpkqCGs1vTvMtOMz6CnY2nXt+w4mj0yd60=";
})
];
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "man" ];
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optionals (!stdenv.hostPlatform.isStatic) [
"-DBUILD_SHARED_LIBS=ON"
];
passthru.tests = {
inherit mpd vlc;
inherit (gst_all_1) gst-plugins-bad;