mirror of
https://github.com/A-Star100/simpliplay-desktop.git
synced 2025-09-17 22:29:38 +00:00
Update build-linux.yml
This commit is contained in:
parent
1c383651ec
commit
79689febf2
133
.github/workflows/build-linux.yml
vendored
133
.github/workflows/build-linux.yml
vendored
@ -54,77 +54,80 @@ jobs:
|
|||||||
- name: Create snapcraft.yaml
|
- name: Create snapcraft.yaml
|
||||||
run: |
|
run: |
|
||||||
cat > simpliplay/dist/snapcraft.yaml <<'EOF'
|
cat > simpliplay/dist/snapcraft.yaml <<'EOF'
|
||||||
name: simpliplay
|
name: simpliplay
|
||||||
base: core24
|
base: core24
|
||||||
version: '2.0.2'
|
version: '2.0.2'
|
||||||
summary: SimpliPlay - Media playback accessible anywhere, anytime.
|
summary: SimpliPlay - Media playback accessible anywhere, anytime.
|
||||||
description: |
|
description: |
|
||||||
SimpliPlay is a modern Electron-based media player supporting various formats.
|
SimpliPlay is a modern Electron-based media player supporting various formats.
|
||||||
|
|
||||||
grade: stable
|
grade: stable
|
||||||
confinement: strict
|
confinement: strict
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
LD_LIBRARY_PATH: $SNAP/usr/lib:$SNAP/lib:$SNAP/usr/local/lib
|
LD_LIBRARY_PATH: $SNAP/usr/lib:$SNAP/lib:$SNAP/usr/local/lib
|
||||||
|
|
||||||
apps:
|
apps:
|
||||||
simpliplay:
|
simpliplay:
|
||||||
command: SimpliPlay --no-sandbox
|
command: SimpliPlay --no-sandbox
|
||||||
plugs:
|
plugs:
|
||||||
- desktop
|
- desktop
|
||||||
- x11
|
- x11
|
||||||
- wayland
|
- wayland
|
||||||
- audio-playback
|
- audio-playback
|
||||||
- home
|
- home
|
||||||
- removable-media
|
- removable-media
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
liboss:
|
liboss:
|
||||||
plugin: autotools
|
plugin: autotools
|
||||||
source: https://fossies.org/linux/misc/oss-v4.2-build2020-src-gpl.tar.bz2
|
source: https://www.dropbox.com/scl/fi/etmheu10vg4kt5kb24ud4/oss-v4.2-build2020-src-gpl.tar.bz2?rlkey=wabpszkdgrvpdc4enccfbkf4k&st=ct62oegu&dl=1
|
||||||
build-packages:
|
build-packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- gcc
|
- gcc
|
||||||
- make
|
- make
|
||||||
- libtool
|
- libtool
|
||||||
- automake
|
- automake
|
||||||
- linux-headers-generic
|
- linux-headers-generic
|
||||||
stage:
|
stage:
|
||||||
- usr/lib/libOSSlib.so
|
- usr/lib/libOSSlib.so
|
||||||
|
|
||||||
simpliplay:
|
simpliplay:
|
||||||
plugin: dump
|
plugin: dump
|
||||||
source: ./linux-arm64-unpacked
|
source: ./linux-arm64-unpacked
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- libnss3
|
- libnss3
|
||||||
- libasound2
|
- libasound2
|
||||||
- libx11-xcb1
|
- libx11-xcb1
|
||||||
- libxcomposite1
|
- libxcomposite1
|
||||||
- libxcursor1
|
- libxcursor1
|
||||||
- libxdamage1
|
- libxdamage1
|
||||||
- libxrandr2
|
- libxrandr2
|
||||||
- libgtk-3-0
|
- libgtk-3-0
|
||||||
- libllvm19
|
- libllvm19
|
||||||
- libdrm-amdgpu1
|
- libdrm-amdgpu1
|
||||||
- libdrm-radeon1
|
- libdrm-radeon1
|
||||||
- mesa-libgallium
|
- mesa-libgallium
|
||||||
- libgbm1
|
- libgbm1
|
||||||
- libglapi-mesa
|
- libglapi-mesa
|
||||||
- libsensors5
|
- libsensors5
|
||||||
- libwayland-server0
|
- libwayland-server0
|
||||||
- libxcb-dri2-0
|
- libxcb-dri2-0
|
||||||
- libxcb-dri3-0
|
- libxcb-dri3-0
|
||||||
- libxcb-present0
|
- libxcb-present0
|
||||||
- libxcb-randr0
|
- libxcb-randr0
|
||||||
- libxcb-sync1
|
- libxcb-sync1
|
||||||
- libxcb-xfixes0
|
- libxcb-xfixes0
|
||||||
- libxshmfence1
|
- libxshmfence1
|
||||||
after:
|
after:
|
||||||
- liboss
|
- liboss
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
- run: sudo apt-get update && sudo apt-get install -y autoconf automake autopoint build-essential gcc libtool linux-headers-generic make tar
|
- name: Install build dependencies
|
||||||
- run: snapcraft --destructive-mode --output=simpliplay-arm64.snap
|
run: sudo apt-get update && sudo apt-get install -y autoconf automake autopoint build-essential gcc libtool linux-headers-generic make tar
|
||||||
|
|
||||||
|
- name: Build snap package
|
||||||
|
run: snapcraft --destructive-mode --output=simpliplay-arm64.snap
|
||||||
working-directory: simpliplay/dist/
|
working-directory: simpliplay/dist/
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user