missig connection to org.gnome.shell.screencast dbus

This commit is contained in:
Salem Yaslem 2021-02-22 12:22:06 +03:00
parent b5f262d95b
commit eba425f964

View File

@ -1,12 +1,12 @@
name: blue-recorder # you probably want to 'snapcraft register <name>' name: blue-recorder # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap base: core18 # the base snap is the execution environment for this snap
version: 0.1+git # just for humans, typically '1.2+git' or '1.3.2' version: git # just for humans, typically '1.2+git' or '1.3.2'
summary: A simple screen recorder for Linux desktop. Supports Wayland & Xorg # 79 char long summary summary: A simple screen recorder for Linux desktop. Supports Wayland & Xorg # 79 char long summary
description: | description: |
A simple desktop recorder for Linux systems. Built using Python, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces. Also, Blue Recorder is the first desktop program to support Wayland display server on GNOME session. A simple desktop recorder for Linux systems. Built using Python, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces. Also, Blue Recorder is the first desktop program to support Wayland display server on GNOME session.
The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut (And only WebM for Wayland's GNOME session). You can stop the recording process easily by right-clicking the icon and choosing "Stop Record". Or middle-clicking the recording icon in the notifications area (but doesn't work on all interfaces). The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut (And only WebM for Wayland's GNOME session). You can stop the recording process easily by right-clicking the icon and choosing "Stop Record". Or middle-clicking the recording icon in the notifications area (but doesn't work on all interfaces).
You can choose the audio input source you want from the list. You can also set the default values you want by simply changing them in the interface, and the program will save them for you for the next time you open it. You can choose the audio input source you want from the list. You can also set the default values you want by simply changing them in the interface, and the program will save them for you for the next time you open it.
Based on GREEN RECORDER Based on GREEN RECORDER but rewritten in RUST
grade: stable # must be 'stable' to release into candidate/stable channels grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots confinement: strict # use 'strict' once you have the right plugs and slots
@ -14,9 +14,8 @@ compression: lzo
parts: parts:
blue-recorder: blue-recorder:
source: .
plugin: rust plugin: rust
python-version: python2 source: .
stage-snaps: stage-snaps:
- ffmpeg - ffmpeg
stage-packages: stage-packages:
@ -27,6 +26,7 @@ parts:
- gstreamer1.0-pulseaudio - gstreamer1.0-pulseaudio
- pulseaudio - pulseaudio
- gir1.2-appindicator3-0.1 - gir1.2-appindicator3-0.1
- libappindicator3-dev
- libglu1-mesa - libglu1-mesa
- freeglut3 - freeglut3
- libgpm2 - libgpm2
@ -37,15 +37,17 @@ parts:
- x11-utils - x11-utils
- xdg-utils - xdg-utils
build-packages: build-packages:
- clang
- libappindicator3-dev
- build-essential - build-essential
override-stage: | override-build: |
cp -r $SNAPCRAFT_PART_SRC/* $SNAPCRAFT_PART_INSTALL snapcraftctl build
cp $SNAPCRAFT_PART_SRC/data/blue-recorder.png $SNAPCRAFT_PART_INSTALL/ cp -a data interfaces po $SNAPCRAFT_PART_INSTALL
snapcraftctl stage cp -a target/release/blue-recorder $SNAPCRAFT_PART_INSTALL/blue-recorder
apps: apps:
blue-recorder: blue-recorder:
command: usr/bin/python $SNAP/blue-recorder command: blue-recorder
desktop: data/blue-recorder.desktop desktop: data/blue-recorder.desktop
extensions: extensions:
- gnome-3-28 - gnome-3-28
@ -56,6 +58,7 @@ apps:
- audio-record - audio-record
slots: slots:
- dbus-daemon - dbus-daemon
- gnome-shell-screencast
common-id: sa.sy.blue-recorder common-id: sa.sy.blue-recorder
slots: slots:
@ -63,3 +66,7 @@ slots:
interface: dbus interface: dbus
bus: session bus: session
name: sa.sy.blue-recorder name: sa.sy.blue-recorder
gnome-shell-screencast:
bus: session
interface: dbus
name: org.gnome.shell.screencast