~renatofilho/ubuntu-filemanager-app/new-debian

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: ubuntu-filemanager-app
version: 0.4
summary: File Manager application
description: Core File Manager application
confinement: devmode  # use "strict" to enforce system access only via declared interfaces
grade: devel

apps:
    ubuntu-filemanager-app:
        command: desktop-launch $SNAP/bin/ubuntu-filemanager-app "$@"
        plugs: [unity7, unity8, opengl, home, platform, mir]

plugs:
    platform:
        interface: content
        content: ubuntu-app-platform1
        target: ubuntu-app-platform
        default-provider: ubuntu-app-platform

parts:
    ubuntu-filemanager-app:
        plugin: cmake
        configflags: [-DCMAKE_INSTALL_PREFIX=/usr, -DCLICK_MODE=off]
        source: .
        build-attributes: [no-system-libraries]
        build-packages:
            - cmake
            - gcc
            - g++
            - intltool
            - qtbase5-dev
            - qtdeclarative5-dev
            - qt5-default
            - pkg-kde-tools
            - python3-all
            - libtag1-dev
            - libpam0g-dev
            - libsmbclient-dev

        stage-packages:
            - libsmbclient
            - qml-module-pamauthentication0.1

        snap:
            - -usr/lib/python3
            - -usr/share/doc
            - -usr/include

        after: [desktop-ubuntu-app-platform]

    environment:
        source: snap/
        plugin: dump
        organize:
            ubuntu-filemanager-app.wrapper: bin/ubuntu-filemanager-app