vvenc: 1.13.0 -> 1.13.1

This commit is contained in:
jopejoe1 2025-03-25 19:26:35 +00:00
parent 40c3686454
commit d88852f1e9

View File

@ -5,11 +5,12 @@
gitUpdater, gitUpdater,
testers, testers,
cmake, cmake,
nlohmann_json,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "vvenc"; pname = "vvenc";
version = "1.13.0"; version = "1.13.1";
outputs = [ outputs = [
"out" "out"
@ -20,8 +21,8 @@ stdenv.mkDerivation (finalAttrs: {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fraunhoferhhi"; owner = "fraunhoferhhi";
repo = "vvenc"; repo = "vvenc";
rev = "v${finalAttrs.version}"; tag = "v${finalAttrs.version}";
hash = "sha256-9fWKunafTniBsY9hK09+xYwvB7IgGPhZmgqauPHgB/g="; hash = "sha256-DPR1HmUYTjhKI+gTHERtxqThZ5oKKMoqYsfE709IrhA=";
}; };
patches = [ ./unset-darwin-cmake-flags.patch ]; patches = [ ./unset-darwin-cmake-flags.patch ];
@ -33,10 +34,13 @@ stdenv.mkDerivation (finalAttrs: {
] ]
); );
buildInputs = [ nlohmann_json ];
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [ cmakeFlags = [
(lib.cmakeBool "VVENC_INSTALL_FULLFEATURE_APP" true) (lib.cmakeBool "VVENC_INSTALL_FULLFEATURE_APP" true)
(lib.cmakeBool "VVENC_ENABLE_THIRDPARTY_JSON" true)
(lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic)) (lib.cmakeBool "BUILD_SHARED_LIBS" (!stdenv.hostPlatform.isStatic))
]; ];