feat: upgrade libgit2 to 1.4.2

This commit is contained in:
Aleksey Kulikov 2022-02-28 11:30:04 +03:00
parent 0a758b771a
commit 94fbb8317f
8 changed files with 6 additions and 6 deletions

View file

@ -32680,13 +32680,13 @@ const int GIT_CREDTYPE_SSH_MEMORY = 64;
const int GIT_EMAIL_CREATE_OPTIONS_VERSION = 1;
const String LIBGIT2_VERSION = '1.4.0';
const String LIBGIT2_VERSION = '1.4.2';
const int LIBGIT2_VER_MAJOR = 1;
const int LIBGIT2_VER_MINOR = 4;
const int LIBGIT2_VER_REVISION = 0;
const int LIBGIT2_VER_REVISION = 2;
const int LIBGIT2_VER_PATCH = 0;

View file

@ -8,7 +8,7 @@ import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
import 'package:path/path.dart' as path;
import 'package:pub_cache/pub_cache.dart';
const libgit2Version = '1.4.1';
const libgit2Version = '1.4.2';
final libDir = path.join('.dart_tool', 'libgit2');
String getLibName() {

View file

@ -20,6 +20,6 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE PkgConfig::GTK)
# List of absolute paths to libraries that should be bundled with the plugin
set(libgit2dart_bundled_libraries
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.1.so"
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.2.so"
PARENT_SCOPE
)

View file

@ -15,7 +15,7 @@ Dart bindings to libgit2.
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'
s.vendored_libraries = 'libgit2-1.4.1.dylib'
s.vendored_libraries = 'libgit2-1.4.2.dylib'
s.platform = :osx, '10.11'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }

View file

@ -19,6 +19,6 @@ target_link_libraries(${PLUGIN_NAME} PRIVATE flutter flutter_wrapper_plugin)
# List of absolute paths to libraries that should be bundled with the plugin
set(libgit2dart_bundled_libraries
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.1.dll"
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.2.dll"
PARENT_SCOPE
)