Merge pull request #56 from flexiondotorg/master

Add desktop icon, all codecs and docs
This commit is contained in:
rikai 2017-05-23 14:26:56 -07:00 committed by GitHub
commit 647f784d31
3 changed files with 65 additions and 37 deletions

View File

@ -21,10 +21,16 @@ CasterSoundboard is written in C++ Qt5.
## How to Install
CasterSoundboard is not packaged for any platforms at this time see
Building from Source for installation instructions.
### Snap
Install CasterSoundboard in seconds on [Ubuntu and other snap supported Linux
distributions](https://snapcraft.io/docs/core/install) with:
snap install castersoundboard
Installing a snap is very quick. Snaps are secure. They are isolated with all
of their dependencies. Snaps also auto update when a new version is released.
## Packages
### Arch AUR
Thanks to [@j605](https://github.com/j605 "Jagannathan Tiruvallur Eachambadi") for creating a `PKGBUILD` for people on Arch who want to try this software:
+ [CasterSoundboard-git](https://aur.archlinux.org/packages/castersoundboard-git)

View File

@ -1,34 +0,0 @@
name: castersoundboard
version: git
summary: A soundboard for hot-keying and playing back sounds. (For podcasting)
description: A soundboard for hot-keying and playing back sounds. (For podcasting)
grade: stable
confinement: strict
parts:
main:
source: ./CasterSoundboard
plugin: qmake
qt-version: qt5
after:
- desktop-qt5
build-packages:
- g++
- qtdeclarative5-dev
- qt5-default
- qtmultimedia5-dev
stage-packages:
- qml-module-qtmultimedia
apps:
castersoundboard:
command: bin/desktop-launch $SNAP/bin/CasterSoundboard
#desktop: usr/share/applications/wpcom.desktop
plugs:
- home
- mount-observe
- network
- network-bind
- pulseaudio
- x11

56
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,56 @@
name: castersoundboard
version: git
summary: A soundboard for hot-keying and playing back sounds. (For podcasting)
description: |
A soundboard for hot-keying and playing back sounds. (For podcasting)
grade: stable
confinement: strict
parts:
desktop-icon:
source: .
plugin: nil
prepare: |
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/applications
mkdir -p $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
cp -v dist/linux/CasterSoundboard.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications/
cp -v dist/linux/CasterSoundboard.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps/
sed -i 's|Icon=CasterSoundboard|Icon=/usr/share/pixmaps/CasterSoundboard\.png|' $SNAPCRAFT_PART_INSTALL/usr/share/applications/CasterSoundboard.desktop
castersoundboard:
source: ./CasterSoundboard
plugin: qmake
qt-version: qt5
after:
- desktop-icon
- desktop-qt5
build-packages:
- g++
- qt5-default
- qtdeclarative5-dev
- qtmultimedia5-dev
stage-packages:
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- libqt5declarative5
- libqt5multimedia5
- libqt5multimedia5-plugins
- libqt5network5
prime:
- -usr/share/doc
apps:
castersoundboard:
command: bin/desktop-launch $SNAP/usr/local/bin/CasterSoundboard
desktop: usr/share/applications/CasterSoundboard.desktop
plugs:
- home
- mount-observe
- network
- network-bind
- opengl
- pulseaudio
- x11