From ab635f4937a9d428fd70fb0e633be455fef428ef Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Mon, 30 Mar 2020 16:56:28 +1100 Subject: [PATCH] org.gnome.Geary.yaml: Add Pulse Audio and FDO sound theme Former fixes Sent Mail plugin from being able to play, latter provides it with something to play. Fixes #752 --- org.gnome.Geary.json | 11 +++++++++++ org.gnome.Geary.yaml | 12 +++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/org.gnome.Geary.json b/org.gnome.Geary.json index 2628454b..8c5e7ad9 100644 --- a/org.gnome.Geary.json +++ b/org.gnome.Geary.json @@ -15,6 +15,7 @@ "--socket=x11", "--socket=wayland", "--device=dri", + "--socket=pulseaudio", "--share=network", "--talk-name=org.freedesktop.secrets", "--talk-name=org.gnome.Contacts", @@ -215,6 +216,16 @@ } ] }, + { + "name": "sound-theme-freedesktop", + "sources": [ + { + "type": "archive", + "url": "http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2", + "sha256": "cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14" + } + ] + }, { "name": "geary", "buildsystem": "meson", diff --git a/org.gnome.Geary.yaml b/org.gnome.Geary.yaml index 1b2198e4..2550303e 100644 --- a/org.gnome.Geary.yaml +++ b/org.gnome.Geary.yaml @@ -33,6 +33,9 @@ finish-args: # OpenGL access for WK2 - "--device=dri" + # Sent mail sound plugin + - "--socket=pulseaudio" + # Needs to talk to the network - "--share=network" @@ -120,7 +123,7 @@ modules: cleanup: - /lib/cmake - # EDS dependency + # EDS and sound-theme-freedesktop dependency - name: "intltool" sources: - type: archive @@ -207,6 +210,13 @@ modules: url: https://github.com/Yeraze/ytnef.git branch: master + # Geary dependency + - name: sound-theme-freedesktop + sources: + - type: archive + url: http://people.freedesktop.org/~mccann/dist/sound-theme-freedesktop-0.8.tar.bz2 + sha256: cb518b20eef05ec2e82dda1fa89a292c1760dc023aba91b8aa69bafac85e8a14 + - name: geary buildsystem: meson config-opts: