Skip to content

Instantly share code, notes, and snippets.

@WorldException
Created February 6, 2022 08:54
Show Gist options
  • Save WorldException/af25f51bfa7607634dc1ca96c84393d7 to your computer and use it in GitHub Desktop.
Save WorldException/af25f51bfa7607634dc1ca96c84393d7 to your computer and use it in GitHub Desktop.
hydrogen-music snap
name: hydrogen
version: "1.1.1"
description: |
Hydrogen is a software synthesizer which can be used alone,
emulating a drum machine based on patterns, or via an external
MIDI keyboard/sequencer software. Hydrogen runs on Linux, Mac OS X and Windows.
summary: "Hydrogen is a software synthesizer"
base: core18
architectures:
- build-on: [amd64]
run-on: [amd64]
grade: stable
confinement: devmode
parts:
hydrogen:
plugin: cmake
source-type: git
source: https://github.com/hydrogen-music/hydrogen.git
source-branch: "1.1.1"
build-packages:
- g++
- cmake
- make
- ccache
- qtbase5-dev
- qtbase5-dev-tools
- qttools5-dev
- qttools5-dev-tools
- libqt5xmlpatterns5-dev
- libarchive-dev
- libsndfile1-dev
- libasound2-dev
- liblo-dev
- libpulse-dev
- libcppunit-dev
- liblrdf0-dev
- liblash-compat-dev
- librubberband-dev
#- libjack-jackd2-dev
- libjack-dev
- libtar-dev
- oss4-dev
- portaudio19-dev
stage-packages:
- libsndfile1
- zlib1g
- libtar0
- libarchive13
- libasound2
- libasound2-plugins
- alsa-utils
- jackd1
- libasyncns0
- libdouble-conversion1
- libfreetype6
- libgl1
- libglvnd0
- libglx0
- libgraphite2-3
- libharfbuzz0b
- libicu60
#- libjack-jackd2-0
- libjack0
- liblo7
- libpng16-16
- libpulse0
- libqt5core5a
- libqt5gui5
- libqt5network5
- libqt5widgets5
- libqt5xml5
- libqt5xmlpatterns5
- libx11-6
- libxau6
- libxcb1
- libxdmcp6
- libxml2
- adwaita-icon-theme
- dmz-cursor-theme
- fcitx-frontend-qt5
- gnome-themes-standard
- libgdk-pixbuf2.0-0
- libgtk2.0-0
- libqt5svg5
- libxkbcommon0
- libxcb-xinerama0
- libxcb-render0
- libxcb-shm0
- libx11-xcb1
- libxcomposite1
- libxcursor1
- libxdamage1
- libxext6
- libxfixes3
- libxi6
- libxinerama1
- libxrandr2
- libxrender1
- light-themes
- locales-all
- qt5-gtk-platformtheme
- shared-mime-info
- ttf-ubuntu-font-family
- xdg-user-dirs
apps:
hydrogen:
extensions:
- kde-neon
command: hydrogen --data $SNAP/share/hydrogen/data/
environment:
LD_LIBRARY_PATH: "$LD_LIBRARY_PATH:/usr/lib/x86_64-linux-gnu/pulseaudio/"
DISABLE_WAYLAND: 1
QT_DEBUG_PLUGINS: 1
QT_AUTO_SCREEN_SCALE_FACTOR: 1
plugs:
- gsettings
- jack1
- alsa
- pulseaudio
- audio-playback
- audio-record
- desktop
- desktop-legacy
- home
- mount-observe
- network
- network-bind
- hardware-observe
- system-observe
- removable-media
- network-manager-observe
- unity7
- wayland
- x11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment