Skip to content

Commit

Permalink
Extend the NuGet package platform support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Nov 23, 2023
1 parent 6053b3d commit 2277940
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Mile.FFmpeg/Mile.FFmpeg.Managed.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
PROJECT: Mouri Internal Library Essentials
FILE: Mile.FFmpeg.Managed.targets
PURPOSE: MSBuild targets file for Mile.FFmpeg
LICENSE: The MIT License
MAINTAINER: MouriNaruto (Kenji.Mouri@outlook.com)
-->
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MileFFmpegRedistPath>$(MSBuildThisFileDirectory)..\native\Redist\$(PlatformTarget)\</MileFFmpegRedistPath>
</PropertyGroup>
<ItemGroup>
<ReferenceCopyLocalPaths Include="$(MileFFmpegRedistPath)*.*" />
</ItemGroup>
</Project>
11 changes: 11 additions & 0 deletions Mile.FFmpeg/Mile.FFmpeg.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="file">build\native\License.md</license>
<readme>build\native\ReadMe.md</readme>
<dependencies>
<group targetFramework="native0.0" />
<group targetFramework="uap10.0" />
<group targetFramework=".NETStandard2.0" />
</dependencies>
<repository type="git" url="https://github.com/ProjectMile/Mile.FFmpeg.git" />
</metadata>
<files>
Expand All @@ -40,6 +45,12 @@
<file src="..\Mile.FFmpeg.Vcpkg\installed\x64-windows-static-release\include\libswscale\**\*.h" target="build\native\Include\libswscale" />

<file src="Mile.FFmpeg.targets" target="build\native"/>
<file src="Mile.FFmpeg.Managed.targets" target="build\netstandard2.0\Mile.FFmpeg.targets"/>
<file src="Mile.FFmpeg.Managed.targets" target="build\uap10.0\Mile.FFmpeg.targets"/>

<file src="_._" target="lib\native" />
<file src="_._" target="lib\netstandard2.0" />
<file src="_._" target="lib\uap10.0" />

<file src="..\ReadMe.md" target="build\native"/>
<file src="..\License.md" target="build\native"/>
Expand Down
2 changes: 2 additions & 0 deletions Mile.FFmpeg/Mile.FFmpeg.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@
</ItemDefinitionGroup>
<ItemGroup>
<None Include="Mile.FFmpeg.ARM64.def" />
<None Include="Mile.FFmpeg.Managed.targets" />
<None Include="Mile.FFmpeg.nuspec" />
<None Include="Mile.FFmpeg.targets" />
<None Include="Mile.FFmpeg.Win32.def" />
<None Include="Mile.FFmpeg.x64.def" />
<None Include="_._" />
</ItemGroup>
<Import Project="..\Mile.Project.Windows\Mile.Project.Cpp.targets" />
<Import Project="..\Mile.FFmpeg.Vcpkg\scripts\buildsystems\msbuild\vcpkg.targets" />
Expand Down
Empty file added Mile.FFmpeg/_._
Empty file.
1 change: 1 addition & 0 deletions ReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- Upgrade FFmpeg to 6.1.
- Update vcpkg to 2023.11.20 release.
- Extend the NuGet package platform support.

**Mile.FFmpeg 6.0.0.0**

Expand Down

0 comments on commit 2277940

Please sign in to comment.