Skip to content

Commit

Permalink
Linux: Build GStreamer
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Sep 16, 2024
1 parent 8ea10ee commit 03c4d19
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/actions/gstreamer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ inputs:
gst_version:
description: Version of GStreamer to Build
required: true
default: 1.22.11
default: 1.24.7
build_type:
description: Build Type "release" or "debug"
required: true
Expand Down Expand Up @@ -34,7 +34,7 @@ runs:
--wrap-mode=forcefallback
--strip
-Dauto_features=disabled
-Dgst-full-libraries=gstreamer,base,controller,net,app,audio,fft,pbutils,riff,rtp,rtsp,tag,video,gl,codecparsers,photography
-Dgst-full-libraries=gstreamer,base,video,gl
-Dgpl=enabled
-Dlibav=enabled
-Dorc=enabled
Expand Down Expand Up @@ -87,5 +87,5 @@ runs:

- name: Setup Environment
working-directory: ${{ runner.temp }}/gstreamer
run: echo "PKG_CONFIG_PATH=${{ runner.temp }}/gst/lib/x86_64-linux-gnu/pkgconfig:${{ env.PKG_CONFIG_PATH }}" >> "$GITHUB_ENV"
run: echo "PKG_CONFIG_PATH=${{ runner.temp }}/gst/lib/x86_64-linux-gnu/pkgconfig:${{ runner.temp }}/gst/lib/x86_64-linux-gnu/gstreamer-1.0/pkgconfig:${{ env.PKG_CONFIG_PATH }}" >> "$GITHUB_ENV"
shell: bash
11 changes: 8 additions & 3 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: |
chmod a+x ./tools/setup/install-dependencies-debian.sh
sudo ./tools/setup/install-dependencies-debian.sh
python3 -m pip install --user ninja cmake
python3 -m pip install --user ninja cmake meson
- uses: lukka/get-cmake@latest

Expand Down Expand Up @@ -102,8 +102,13 @@ jobs:
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtserialport qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors
cache: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

# - name: Build GStreamer
# uses: ./.github/actions/gstreamer
# - name: Install Gstreamer
# uses: blinemedical/setup-gstreamer@v1
# with:
# version: ${{ env.GST_VERSION }}

- name: Build GStreamer
uses: ./.github/actions/gstreamer

- run: mkdir ${{ runner.temp }}/shadow_build_dir

Expand Down

0 comments on commit 03c4d19

Please sign in to comment.