From 348d8f95e684f19e597aa5369ff6932d926bdaa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Soto?= Date: Fri, 30 Jun 2023 14:06:08 -0600 Subject: [PATCH] Add hardware acceleration As requested by #1 --- snap/snapcraft.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 19e8836..759fab4 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -56,7 +56,7 @@ layout: parts: jellyfinmediaplayer: - after: [alsa-mixin] + after: [alsa-mixin, desktop-glib-only] plugin: dump source: https://github.com/jellyfin/jellyfin-media-player/releases/download/v${SNAPCRAFT_PROJECT_VERSION}/jellyfin-media-player_${SNAPCRAFT_PROJECT_VERSION}-1_amd64-jammy.deb source-type: deb @@ -109,3 +109,11 @@ parts: - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libspeex* - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/libvorbis* - usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio + desktop-glib-only: + source: https://github.com/ubuntu/snapcraft-desktop-helpers.git + source-subdir: glib-only + plugin: make + build-packages: + - libglib2.0-dev + stage-packages: + - libglib2.0-bin