Skip to content

Commit

Permalink
Build spotify plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaski committed Jul 31, 2024
1 parent fb54e60 commit 3cc65e6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2903,16 +2903,16 @@ jobs:
LDFLAGS: -L${{env.prefix_path}}/lib -Wl,-rpath,${{env.prefix_path}}/lib
LIBRARY_PATH: ${{env.prefix_path}}/lib
LD_LIBRARY_PATH: ${{env.prefix_path}}/lib
run: cargo install cargo-c
run: |
cargo install cargo-c
install_name_tool -change "@rpath/libz.1.dylib" "${{env.prefix_path}}/lib/libz.1.dylib" "/Users/runner/.cargo/bin/cargo-cbuild"
- name: Download gst-plugins-rs
if: env.runner == 'macos-11' || env.runner == 'macos-12' || env.runner == 'macos-13' || env.runner == 'macos-14'
shell: bash
working-directory: build
run: git clone -b "${{env.gstreamer_plugins_rs_version}}" "https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git"

- name: Configure gst-plugins-rs
if: false
shell: bash
env:
PKG_CONFIG_EXECUTABLE: ${{env.prefix_path}}/bin/pkgconf
Expand All @@ -2924,21 +2924,18 @@ jobs:
run: meson setup --buildtype=${{env.meson_buildtype}} --default-library=shared --prefix=${{env.prefix_path}} --pkg-config-path=${{env.prefix_path}}/lib/pkgconfig --wrap-mode=nodownload --auto-features=disabled -Dspotify=enabled build

- name: Copy dependencies
if: false
shell: bash
working-directory: build/gst-plugins-rs/build
run: |
mkdir -p target/${{env.arch2}}-apple-darwin/${{env.buildtype}}/deps/
cp -v ${{env.prefix_path}}/lib/{libglib*.dylib,libgobject*.dylib,libgio*.dylib,libintl*.dylib,libgstreamer*.dylib,libgstbase*.dylib} target/${{env.arch2}}-apple-darwin/${{env.buildtype}}/deps/
- name: Build gst-plugins-rs
if: false
shell: bash
working-directory: build/gst-plugins-rs/build
run: ninja

- name: Install gst-plugins-rs
if: false
shell: bash
working-directory: build/gst-plugins-rs/build
run: ninja install
Expand Down

0 comments on commit 3cc65e6

Please sign in to comment.