mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
feat: upgrade libgit2 to 1.4.1
This commit is contained in:
parent
12ee9f3b53
commit
e83d6ab29a
7 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
|
||||||
import 'package:path/path.dart' as path;
|
import 'package:path/path.dart' as path;
|
||||||
import 'package:pub_cache/pub_cache.dart';
|
import 'package:pub_cache/pub_cache.dart';
|
||||||
|
|
||||||
const libgit2Version = '1.4.0';
|
const libgit2Version = '1.4.1';
|
||||||
final libDir = path.join('.dart_tool', 'libgit2');
|
final libDir = path.join('.dart_tool', 'libgit2');
|
||||||
|
|
||||||
String getLibName() {
|
String getLibName() {
|
||||||
|
|
|
@ -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
|
# List of absolute paths to libraries that should be bundled with the plugin
|
||||||
set(libgit2dart_bundled_libraries
|
set(libgit2dart_bundled_libraries
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.0.so"
|
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.1.so"
|
||||||
PARENT_SCOPE
|
PARENT_SCOPE
|
||||||
)
|
)
|
||||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -15,7 +15,7 @@ Dart bindings to libgit2.
|
||||||
s.source = { :path => '.' }
|
s.source = { :path => '.' }
|
||||||
s.source_files = 'Classes/**/*'
|
s.source_files = 'Classes/**/*'
|
||||||
s.dependency 'FlutterMacOS'
|
s.dependency 'FlutterMacOS'
|
||||||
s.vendored_libraries = 'libgit2-1.4.0.dylib'
|
s.vendored_libraries = 'libgit2-1.4.1.dylib'
|
||||||
|
|
||||||
s.platform = :osx, '10.11'
|
s.platform = :osx, '10.11'
|
||||||
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
|
||||||
|
|
|
@ -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
|
# List of absolute paths to libraries that should be bundled with the plugin
|
||||||
set(libgit2dart_bundled_libraries
|
set(libgit2dart_bundled_libraries
|
||||||
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.0.dll"
|
"${CMAKE_CURRENT_SOURCE_DIR}/libgit2-1.4.1.dll"
|
||||||
PARENT_SCOPE
|
PARENT_SCOPE
|
||||||
)
|
)
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue