mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-14 04:13:43 +00:00
ci: build linux
This commit is contained in:
1 parent
423ee5c3d1
commit
48821a519e
4 files changed
+64
No files matched your search
@@ -47,3 +47,5 @@ android/app/libs/libgopeed.aar
|
||||
android/app/libs/libgopeed-sources.jar
|
||||
macos/Frameworks/libgopeed.h
|
||||
macos/Frameworks/libgopeed.dylib
|
||||
|
||||
debian/packages
|
||||
@@ -74,6 +74,10 @@ class LibgopeedBootNative implements LibgopeedBoot {
|
||||
_libgopeed =
|
||||
LibgopeedFFi(LibgopeedBind(DynamicLibrary.open('libgopeed.dylib')));
|
||||
}
|
||||
if (Platform.isLinux) {
|
||||
_libgopeed =
|
||||
LibgopeedFFi(LibgopeedBind(DynamicLibrary.open('libgopeed.so')));
|
||||
}
|
||||
}
|
||||
|
||||
// FFI run in isolate
|
||||
|
||||
@@ -116,6 +116,9 @@ install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}
|
||||
install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/bundle/lib/libgopeed.so" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
COMPONENT Runtime)
|
||||
|
||||
foreach(bundled_library ${PLUGIN_BUNDLED_LIBRARIES})
|
||||
install(FILES "${bundled_library}"
|
||||
DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
|
||||
|
||||
Reference in new issue
Block a user