-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathorg.pulseaudio.pavucontrol.yaml
60 lines (56 loc) · 1.88 KB
/
org.pulseaudio.pavucontrol.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
app-id: org.pulseaudio.pavucontrol
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: pavucontrol
finish-args:
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --socket=pulseaudio
- --device=dri
- --env=PULSE_PROP_media.category=Manager
rename-icon: multimedia-volume-control
modules:
- gtkmm.json
- name: pavucontrol
sources:
- type: git
url: https://gitlab.freedesktop.org/pulseaudio/pavucontrol.git
tag: v6.1
- type: patch
path: screenshots.patch
buildsystem: meson
config-opts:
- -Dlynx=false
cleanup:
- /share/doc
# pavucontrol doesn't have an icon of its own; it normally uses
# multimedia-volume-control from the system icon theme. However, Flatpak apps
# need to supply their own icon. Ship Adwaita's one. It's renamed above.
# There is an freedesktop request to add imagemagick to the sdk
# https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/issues/1115
- name: adwaita-icon-theme
sources:
- type: file
path: icons/multimedia-volume-control.svg
- type: file
path: icons/multimedia-volume-control-16.png
- type: file
path: icons/multimedia-volume-control-32.png
- type: file
path: icons/multimedia-volume-control-64.png
- type: file
path: icons/multimedia-volume-control-128.png
- type: file
path: icons/multimedia-volume-control-256.png
- type: file
path: icons/multimedia-volume-control-512.png
buildsystem: simple
build-commands:
- install -Dm 644 multimedia-volume-control.svg /app/share/icons/hicolor/scalable/apps/multimedia-volume-control.svg
- |
for size in 16 32 64 128 256 512
do
install -Dm 644 multimedia-volume-control-${size}.png /app/share/icons/hicolor/${size}x${size}/apps/multimedia-volume-control.png
done