Update snapcraft.yaml

This commit is contained in:
Jonas Kvinge
2020-10-15 18:51:21 +02:00
parent d78419eb33
commit c8fd0ac4b3

View File

@@ -1,10 +1,9 @@
name: strawberry name: strawberry
version: '0.8.2+git' adopt-info: strawberry
summary: music player and collection organizer summary: music player and collection organizer
description: | description: |
Strawberry is a music player and collection organizer. Strawberry is a music player and collection organizer.
It is a fork of Clementine released in 2018 aimed at music collectors, It is a fork of Clementine released in 2018 aimed at music collectors and audiophiles
audio enthusiasts and audiophiles
grade: stable grade: stable
confinement: strict confinement: strict
@@ -43,7 +42,7 @@ parts:
alsa-lib: alsa-lib:
plugin: autotools plugin: autotools
source: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.1.2.tar.bz2 source: https://www.alsa-project.org/files/pub/lib/alsa-lib-1.2.3.tar.bz2
configflags: configflags:
- --prefix=/usr - --prefix=/usr
- --sysconfdir=/etc - --sysconfdir=/etc
@@ -71,6 +70,9 @@ parts:
after: after:
- alsa-lib - alsa-lib
- desktop-qt5 - desktop-qt5
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe --tags | sed 's/^v//' | cut -d "-" -f1-2)"
override-build: | override-build: |
cmake ../src -DCMAKE_INSTALL_PREFIX=/usr cmake ../src -DCMAKE_INSTALL_PREFIX=/usr
make -j $(getconf _NPROCESSORS_ONLN) make -j $(getconf _NPROCESSORS_ONLN)
@@ -84,6 +86,7 @@ parts:
- gcc - gcc
- g++ - g++
- protobuf-compiler - protobuf-compiler
- gettext
- libglib2.0-dev - libglib2.0-dev
- libgnutls28-dev - libgnutls28-dev
- libdbus-1-dev - libdbus-1-dev
@@ -96,6 +99,7 @@ parts:
- qtbase5-dev - qtbase5-dev
- qtbase5-dev-tools - qtbase5-dev-tools
- qtbase5-private-dev - qtbase5-private-dev
- qttools5-dev
- libqt5x11extras5-dev - libqt5x11extras5-dev
- libgstreamer1.0-dev - libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev - libgstreamer-plugins-base1.0-dev
@@ -154,6 +158,10 @@ parts:
- gstreamer1.0-plugins-bad - gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-ugly - gstreamer1.0-plugins-ugly
- gstreamer1.0-libav - gstreamer1.0-libav
- qt5-gtk-platformtheme
- plasma-integration
- kde-style-breeze
- qtwayland5
apps: apps:
strawberry: strawberry:
@@ -174,7 +182,7 @@ apps:
- x11 - x11
- wayland - wayland
- alsa - alsa
- pulseaudio - audio-playback
- removable-media - removable-media
- optical-drive - optical-drive
- raw-usb - raw-usb