mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 07:35:27 +00:00
Generate nuget package for OpenTK.GLControl
This commit is contained in:
parent
4e77a508a1
commit
2b93e453cd
|
@ -48,28 +48,25 @@
|
|||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Target Name="Build">
|
||||
|
||||
<!-- Copy built files to the tree format expected by nuget -->
|
||||
<!-- Copy built files to the tree format expected by nuget -->
|
||||
<CreateItem Include="../../Binaries/OpenTK/Release/OpenTK*">
|
||||
<Output TaskParameter="Include" ItemName="Binaries" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(Binaries)" DestinationFolder="./lib/net20" />
|
||||
|
||||
<!-- Update version information -->
|
||||
<ReadLinesFromFile File="../../Version.txt">
|
||||
<Output TaskParameter="Lines" ItemName="Version" />
|
||||
</ReadLinesFromFile>
|
||||
|
||||
<!-- Execute nuget script -->
|
||||
<Exec Command="nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
|
||||
<Exec Command="mono nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
<Exec Command="mono nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
|
||||
<!-- Copy the nuget archive to the root directory and add a date stamp -->
|
||||
<CreateItem Include="OpenTK*.nupkg">
|
||||
<Output TaskParameter="Include" ItemName="NugetPackage" />
|
||||
</CreateItem>
|
||||
<Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" />
|
||||
|
||||
</Target>
|
||||
<Target Name="Clean">
|
||||
<CreateItem Include="OpenTK.*.nupkg;lib/**">
|
||||
|
@ -83,6 +80,7 @@
|
|||
</Target>
|
||||
<ItemGroup>
|
||||
<None Include="OpenTK.nuspec" />
|
||||
<None Include="OpenTK.GLControl.nuspec" />
|
||||
</ItemGroup>
|
||||
<ProjectExtensions>
|
||||
<MonoDevelop>
|
||||
|
|
49
Installers/Nuget/OpenTK.GLControl.nuspec
Normal file
49
Installers/Nuget/OpenTK.GLControl.nuspec
Normal file
|
@ -0,0 +1,49 @@
|
|||
<?xml version="1.0"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>OpenTK.GLControl</id>
|
||||
<version>$version$</version>
|
||||
<authors>Stefanos Apostolopoulos</authors>
|
||||
<owners>Stefanos Apostolopoulos</owners>
|
||||
<licenseUrl>http://www.opentk.com/project/license</licenseUrl>
|
||||
<projectUrl>http://www.opentk.com</projectUrl>
|
||||
<iconUrl>file:///./logo.png</iconUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<summary>
|
||||
Add OpenGL graphics to your Windows.Forms or WPF application
|
||||
</summary>
|
||||
<description>
|
||||
OpenTK.GLControl is a Windows.Forms Control with OpenGL rendering capabilities. Use it to add
|
||||
accelerated 3d graphics to your Windows.Forms or Windows Presentation Foundation (WPF) application.
|
||||
|
||||
Features
|
||||
- Integrate 3d graphics into your Windows.Forms or WPF application
|
||||
- Use the .Net/Mono language of your choice: C#, F#, VB.Net, Boo, IronPython, IronRuby
|
||||
- Develop faster with inline documentation and strongly-typed enumerations for all OpenGL and OpenAL functions
|
||||
|
||||
This is the official nuget package from http://www.opentk.com
|
||||
The source code can be found at https://github.com/opentk/opentk
|
||||
</description>
|
||||
<releaseNotes>
|
||||
http://www.opentk.com/news
|
||||
</releaseNotes>
|
||||
<copyright>Copyright 2006-2013 Stefanos Apostolopoulos</copyright>
|
||||
<tags>OpenTK OpenGL WinForms WPF C# F# VB .Net Mono</tags>
|
||||
<references>
|
||||
<reference file="OpenTK.GLControl.dll" />
|
||||
</references>
|
||||
<frameworkAssemblies>
|
||||
<frameworkAssembly assemblyName="System" />
|
||||
<frameworkAssembly assemblyName="System.Drawing" />
|
||||
<frameworkAssembly assemblyName="System.Windows.Forms" />
|
||||
<frameworkAssembly assemblyName="System.Xml" />
|
||||
</frameworkAssemblies>
|
||||
<dependencies>
|
||||
<dependency id="OpenTK" version="1.1.0.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="lib/net20/OpenTK.GLControl.dll" target="lib/net20" />
|
||||
<file src="lib/net20/OpenTK.GLControl.xml" target="lib/net20" />
|
||||
</files>
|
||||
</package>
|
Loading…
Reference in a new issue