Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from cxfksword/develop
Browse files Browse the repository at this point in the history
bump version to mpv 0.38.0 & FFmpeg n7.0
  • Loading branch information
cxfksword authored Apr 20, 2024
2 parents 27f2b65 + 7bb8d00 commit f646e4b
Show file tree
Hide file tree
Showing 409 changed files with 15,565 additions and 12,067 deletions.
10 changes: 5 additions & 5 deletions Plugins/BuildFFmpeg/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ private enum Library: String, CaseIterable {
case .libmpv:
return "v0.38.0"
case .FFmpeg:
return "n6.1.1"
return "n7.0"
case .vulkan:
return "v1.2.7"
return "v1.2.8"
case .libplacebo: // depend vulkan lcms2 libdovi libshaderc, provides a powerful and flexible video rendering framework for mpv
return "v6.338.2"
case .libfontconfig:
Expand Down Expand Up @@ -1868,7 +1868,7 @@ private class BuildVulkan: BaseBuild {
Utility.shell("tar xvf MoltenVK-all.tar", currentDirectoryURL: packageURL)
try? FileManager.default.moveItem(at: packageURL + "MoltenVK", to: releaseURL)
let oldXcframework = URL.currentDirectory + "../Sources/MoltenVK.xcframework"
let newXcframework = releaseURL + "MoltenVK/MoltenVK.xcframework"
let newXcframework = releaseURL + "MoltenVK/static/MoltenVK.xcframework"
if FileManager.default.fileExists(atPath: newXcframework.path) {
try? FileManager.default.removeItem(at: oldXcframework)
try? FileManager.default.copyItem(at: newXcframework, to: oldXcframework)
Expand Down Expand Up @@ -1899,7 +1899,7 @@ private class BuildVulkan: BaseBuild {
let content = """
prefix=\((directoryURL + "Package/Release/MoltenVK").path)
includedir=${prefix}/include
libdir=${prefix}/MoltenVK.xcframework/\(platform.frameworkName)
libdir=${prefix}/static/MoltenVK.xcframework/\(platform.frameworkName)
Name: Vulkan-Loader
Description: Vulkan Loader
Expand Down Expand Up @@ -2054,10 +2054,10 @@ private class BuildMPV: BaseBuild {
array.append("-Dswift-build=disabled")
array.append("-Daudiounit=enabled")
array.append("-Davfoundation=disabled")
array.append("-Dcoreaudio=disabled")
array.append("-Dlua=disabled")
if platform == .maccatalyst {
array.append("-Dcocoa=disabled")
array.append("-Dcoreaudio=disabled")
} else {
array.append("-Dios-gl=enabled")
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MPVKit

[![mpv](https://img.shields.io/badge/mpv-v0.38.0-blue.svg)](https://github.com/mpv-player/mpv)
[![ffmpeg](https://img.shields.io/badge/ffmpeg-n6.1.1-blue.svg)](https://github.com/FFmpeg/FFmpeg)
[![ffmpeg](https://img.shields.io/badge/ffmpeg-n7.0-blue.svg)](https://github.com/FFmpeg/FFmpeg)
[![license](https://img.shields.io/github/license/cxfksword/MPVKit)](https://github.com/cxfksword/MPVKit/main/LICENSE)

> MPVKit is only suitable for learning `libmpv` and will not be maintained too frequently.
Expand Down
38 changes: 19 additions & 19 deletions Sources/Libavcodec.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,33 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<string>tvos-arm64_arm64e</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
<string>arm64e</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
<string>tvos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>macos-arm64_x86_64</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>macos</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>macos-arm64_x86_64</string>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -42,11 +41,13 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>macos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -55,37 +56,36 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_arm64e</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>arm64e</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>Libavcodec.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Loading

0 comments on commit f646e4b

Please sign in to comment.