From da2782725de94cb4ac8226d7e03fac515220c5fb Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Tue, 21 Sep 2021 12:20:23 +0300 Subject: [PATCH] feat: update snap to use scrcpy-snap and stage them, remove the requirement of home plug --- snap/snapcraft.yaml | 41 +++-------------------------------------- 1 file changed, 3 insertions(+), 38 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 6ede5889..19fb5da7 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: guiscrcpy -version: v4.10.0 +version: v4.11.0 summary: An opensource GUI for android screen mirroring description: | A full fledged GUI integration for the award winning open source scrcpy, for @@ -82,43 +82,9 @@ parts: - xdg-user-dirs - fcitx-frontend-qt5 - scrcpy-server: - plugin: nil - override-pull: - wget https://github.com/Genymobile/scrcpy/releases/download/v1.17/scrcpy-server-v1.17 - override-build: | - mkdir -p $SNAPCRAFT_PART_INSTALL/usr/local/share/scrcpy/ - cp scrcpy-server-v1.17 $SNAPCRAFT_PART_INSTALL/usr/local/share/scrcpy/scrcpy-server - scrcpy: - source: https://github.com/Genymobile/scrcpy.git - plugin: meson - meson-parameters: - - --buildtype=release - - --strip - - -Db_lto=true - - -Dcompile_server=false - override-pull: | - snapcraftctl pull - snapcraftctl set-version $(git describe --tag) - build-packages: - - make - - gcc - - pkg-config - - meson - - ninja-build - - libavcodec-dev - - libavformat-dev - - libavutil-dev - - libsdl2-dev - - wget - stage-packages: - - ffmpeg - - libsdl2-2.0-0 - - libslang2 - - libglu1-mesa - - adb - guiscrcpy: + stage-snaps: + - scrcpy after: [desktop-qt5, classic-launch, debian-multiarch-triplet-provider-launch] # See 'snapcraft plugins' plugin: python @@ -133,7 +99,6 @@ plugs: unity7: wayland: opengl: - home: process-control: network-bind: network: