~michael-sheldon/podbird/snap

« back to all changes in this revision

Viewing changes to snapcraft.yaml

  • Committer: Michael Sheldon
  • Date: 2016-12-05 00:03:21 UTC
  • Revision ID: michael.sheldon@canonical.com-20161205000321-ia8vi03grb6towgy
Add support for building as a snap

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
name: podbird
 
2
version: 0.8
 
3
summary: Podcast manager
 
4
description: Podbird lets you easily search for new podcasts, and either stream them or download them for offline listening.
 
5
confinement: strict
 
6
 
 
7
apps:
 
8
    podbird:
 
9
        command: desktop-launch $SNAP/bin/podbird-wrapper.sh
 
10
        plugs: [unity7, x11, opengl, network, pulseaudio, download]
 
11
 
 
12
parts:
 
13
    podbird:
 
14
        source: .
 
15
        plugin: cmake
 
16
        build-packages:
 
17
            - build-essential
 
18
            - cmake
 
19
            - dbus
 
20
            - pkg-config
 
21
            - qtdeclarative5-dev-tools
 
22
            - qt5-default
 
23
            - qtbase5-dev
 
24
            - qtdeclarative5-dev
 
25
        stage-packages:
 
26
            - fonts-symbola
 
27
            - gstreamer1.0-plugins-base
 
28
            - gstreamer1.0-plugins-good
 
29
            - gstreamer1.0-plugins-bad
 
30
            - gstreamer1.0-plugins-ugly
 
31
            - gstreamer1.0-pulseaudio
 
32
            - mir-graphics-drivers-desktop
 
33
            - qmlscene
 
34
            - qml-module-qtmultimedia
 
35
            - qml-module-qt-labs-settings
 
36
            - qml-module-qtquick-localstorage
 
37
            - qml-module-ubuntu-connectivity
 
38
            - qtdeclarative5-qtquick2-plugin
 
39
            - qtdeclarative5-ubuntu-download-manager0.1
 
40
            - qtdeclarative5-ubuntu-ui-toolkit-plugin
 
41
            - qtdeclarative5-usermetrics0.1
 
42
            - qtubuntu-desktop
 
43
            - ubuntu-sdk-libs
 
44
            - ubuntu-ui-toolkit-theme
 
45
        stage: [ -usr/share/pkgconfig/xkeyboard-config.pc ]
 
46
        after: [desktop/qt5]
 
47
 
 
48
    launcher:
 
49
        source: .
 
50
        plugin: dump
 
51
        organize: 
 
52
            podbird-wrapper.sh: bin/podbird-wrapper.sh