added libwebpdemux

This commit is contained in:
awxkee
2022-06-22 11:36:04 +02:00
parent 9e733aaa8b
commit 7cccfba9ad
6 changed files with 71 additions and 3 deletions

View File

@@ -9,10 +9,9 @@ let package = Package(
.macOS(.v10_10), .iOS(.v13), .macCatalyst(.v14)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "libwebp",
targets: ["libwebp", "libwebpmux"]),
targets: ["libwebp", "libwebpmux", "libwebpdemux"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
@@ -20,6 +19,7 @@ let package = Package(
],
targets: [
.binaryTarget(name: "libwebp", path: "Sources/libwebp.xcframework"),
.binaryTarget(name: "libwebpmux", path: "Sources/libwebpmux.xcframework")
.binaryTarget(name: "libwebpmux", path: "Sources/libwebpmux.xcframework"),
.binaryTarget(name: "libwebpdemux", path: "Sources/libwebpdemux.xcframework")
]
)

View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>libwebpdemux.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>libwebpdemux.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>libwebpdemux.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>libwebpdemux.a</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>