Skip to content

Commit

Permalink
Merge pull request go-gst#71 from go-gst/prepare_release
Browse files Browse the repository at this point in the history
Prepare release
  • Loading branch information
RSWilli authored Mar 29, 2024
2 parents 04ec17f + 9f9db47 commit 6b977d7
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 61 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@ jobs:
matrix:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, "macos-latest"]
os:
- ubuntu-latest
# - windows-latest # see https://github.com/go-gst/go-gst/issues/64
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Downgrade mingw to 11.2.0
if: runner.os == 'Windows'
run: choco install mingw --version 11.2.0 --allow-downgrade
# - name: Downgrade mingw to 11.2.0
# if: runner.os == 'Windows'
# run: choco install mingw --version 11.2.0 --allow-downgrade
- name: Setup GStreamer
id: setup_gstreamer
uses: RSWilli/setup-gstreamer@5472e33168ba7b1f3bb01dc81ca067e263633824
with:
version: 1.22.6
uses: blinemedical/[email protected]
- name: checkout
uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: "^1.21.0"
go-version: "stable"
- name: build
shell: bash
run: |
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ jobs:
steps:
- name: Setup GStreamer
id: setup_gstreamer
uses: RSWilli/setup-gstreamer@5472e33168ba7b1f3bb01dc81ca067e263633824
with:
version: 1.22.6
uses: blinemedical/[email protected]
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- uses: actions/setup-go@v4
with:
go-version: "^1.21.0"
go-version: "stable"
- name: Check formatting
uses: Jerome1337/[email protected]
with:
Expand All @@ -33,4 +31,3 @@ jobs:
- uses: dominikh/[email protected]
with:
install-go: false
min-go-version: "1.21"
40 changes: 0 additions & 40 deletions Makefile

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@

See [pkg.go.dev](https://pkg.go.dev/github.com/go-gst/go-gst) references for documentation and examples.

**This library has not been thoroughly tested and as such is not recommended for mission critical applications yet. If you'd like to try it out and encounter any bugs, feel free to open an Issue or PR. For more information see the [Contributing](#contributing) section.**

Recently almost all memory handling has been moved into the bindings. Some documentation may still reflect the original need to Unref resources, but in most situations that is not the case anymore.
Please make sure that you have followed the [official gstreamer installation instructions](https://gstreamer.freedesktop.org/documentation/installing/index.html?gi-language=c) before attempting to use the bindings or file an issue.

## Requirements

Expand All @@ -25,6 +23,8 @@ For building applications with this library you need the following:

### Windows

(also see https://github.com/go-gst/go-gst/issues/64)

Compiling on Windows may require some more dancing around than on macOS or Linux.
First, make sure you have [mingw](https://chocolatey.org/packages/mingw) and [pkgconfig](https://chocolatey.org/packages/pkgconfiglite) installed (links are for the Chocolatey packages).
Next, go to the [GStreamer downloads](https://gstreamer.freedesktop.org/download/) page and download the latest "development installer" for your MinGW architecture.
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module github.com/go-gst/go-gst

go 1.21
go 1.22

require github.com/mattn/go-pointer v0.0.1

require github.com/go-gst/go-glib v0.0.0-20231207075824-6d6aaf082c65
require github.com/go-gst/go-glib v1.0.0
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github.com/go-gst/go-glib v0.0.0-20231207075824-6d6aaf082c65 h1:G9LRxbnTdpkJAfa6vOwldiWmrtAj2L/7gZlsRZYOITA=
github.com/go-gst/go-glib v0.0.0-20231207075824-6d6aaf082c65/go.mod h1:rXuKU+tCN7pN+b/7oIyWv6MpnlGy+QWd7jRhWUNstjU=
github.com/go-gst/go-glib v1.0.0 h1:/Gl3lk3M3MmWoSEtOyH3bpUxMUvO1gUL35A2drbr/K0=
github.com/go-gst/go-glib v1.0.0/go.mod h1:7Ehl6klsMBT94bf+Bic9qRyEkXARhhqpiZnU2PXeO6I=
github.com/mattn/go-pointer v0.0.1 h1:n+XhsuGeVO6MEAp7xyEukFINEa+Quek5psIR/ylA6o0=
github.com/mattn/go-pointer v0.0.1/go.mod h1:2zXcozF6qYGgmsG+SeTZz3oAbFLdD3OWqnUbNvJZAlc=

0 comments on commit 6b977d7

Please sign in to comment.