Skip to content

Commit

Permalink
Release of 1.24.3-preview6
Browse files Browse the repository at this point in the history
  • Loading branch information
aligungr committed Feb 4, 2025
1 parent 2cdabaf commit 6f33746
Show file tree
Hide file tree
Showing 2,470 changed files with 181 additions and 126 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.idea
.vs
/bin
/obj
/packages
bin
obj
packages
24 changes: 24 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<Project>

<PropertyGroup>
<Version>1.24.3-preview6</Version>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Deterministic>true</Deterministic>
<Nullable>disable</Nullable>
<LangVersion>12</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<RepositoryUrl>https://github.com/aligungr/GstSharpBundle</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="\"/>
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions GstSharpBundle.Windows.X64/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/bin
/obj
18 changes: 18 additions & 0 deletions GstSharpBundle.Windows.X64/GstSharpBundle.Windows.X64.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>GstSharpBundle.Windows.X64</PackageId>
<RootNamespace>GstSharpBundle.Windows64</RootNamespace>
</PropertyGroup>

<ItemGroup>
<Content Include="$(MSBuildThisFileDirectory)gstreamer/win-x64/**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
<!-- <PackagePath>runtimes/win-x64/native/gstreamer</PackagePath>-->
<!-- <Pack>true</Pack>-->
</Content>
</ItemGroup>


</Project>
36 changes: 36 additions & 0 deletions GstSharpBundle.Windows.X64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# [GStreamer C# Bundle](https://github.com/aligungr/GstSharpBundle)

[![Nuget](https://img.shields.io/nuget/vpre/GstSharpBundle?label=GstSharpBundle)](https://www.nuget.org/packages/GstSharpBundle/)
[![Nuget](https://img.shields.io/nuget/vpre/GstSharpBundle?label=GstSharpBundle.Windows.x64)](https://www.nuget.org/packages/GstSharpBundle.Windows.x64/)

Cross platform GStreamer C# bindings library with all required binaries included.

## About

Original GStreamer C# bindings are available at [GstSharp](https://gitlab.freedesktop.org/gstreamer/gstreamer/-/tree/main/subprojects/gstreamer-sharp). This project is a variant of the original library with the following changes:
- .NET 8 and later is supported.
- NativeAOT and trimming are supported.
- All required binaries are included in the packages.
- No need to install GStreamer on the development or target environment.

## Installation and Usage

**Step 1:** Add the GStreamer C# Bundle NuGet package to your project:

```
Install-Package GstSharpBundle -Version VERSION_HERE
```

**Step 2:** Add runtime packages for your target platform. For example:

```
Install-Package GstSharpBundle.Windows.X64 -Version VERSION_HERE
```

(You can add more than one runtime package if you are targeting multiple platforms.)

**Step 3:** Call the initialization code in your main method:

```csharp
GStreamerBundle.Initialize();
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 6f33746

Please sign in to comment.