blue-recorder/snap/snapcraft.yaml
Ask

55 lines
2.1 KiB
YAML

{b930ea7256e48aee649ea70e25eed412c1396cea true 2106 snapcraft.yaml 0xc001fa0700}

name: blue-recorder # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
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
description: |
A simple desktop recorder for Linux systems. Built using Rust, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session.
The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut. 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.
Based on GREEN RECORDER but rewritten in RUST
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
compression: lzo
parts:
blue-recorder:
plugin: rust
source: .
stage-snaps:
- ffmpeg
stage-packages:
- libappindicator3-1
- x11-utils
build-packages:
- libappindicator3-dev
- clang
- gettext
- build-essential
override-build: |
snapcraftctl build
cp -a data interfaces po $SNAPCRAFT_PART_INSTALL
cp -a target/release/blue-recorder $SNAPCRAFT_PART_INSTALL/blue-recorder
apps:
blue-recorder:
command: blue-recorder
desktop: data/snap/blue-recorder.desktop
extensions:
- gnome-3-28
plugs:
- desktop
- home
- audio-playback
- audio-record
- screencast-legacy # for wayland support
slots:
- dbus-daemon
common-id: sa.sy.blue-recorder
slots:
dbus-daemon:
interface: dbus
bus: session
name: sa.sy.blue-recorder