File: com.github.phase1geo.minder.yml

package info (click to toggle)
minder 2.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 9,736 kB
  • sloc: xml: 799; sh: 112; python: 87; ansic: 78; makefile: 5; tcl: 4
file content (132 lines) | stat: -rw-r--r-- 4,133 bytes parent folder | download | duplicates (2)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
 # This is the same ID that you've used in meson.build and other files
app-id: com.github.phase1geo.minder

# Instead of manually specifying a long list of build and runtime dependencies,
# we can use a convenient pre-made runtime and SDK. For this example, we'll be
# using the runtime and SDK provided by elementary.
runtime: org.gnome.Platform
runtime-version: '49'
sdk: org.gnome.Sdk

# This should match the exec line in your .desktop file and usually is the same
# as your app ID
command: com.github.phase1geo.minder

# Here we can specify the kinds of permissions our app needs to run. Since we're
# not using hardware like webcams, making sound, or reading external files, we
# only need permission to draw our app on screen using either X11 or Wayland.
finish-args:
  - '--share=ipc'
  - '--socket=fallback-x11'
  - '--socket=wayland'
  - '--filesystem=home'
  - '--device=dri'

# This section is where you list all the source code required to build your app.
# If we had external dependencies that weren't included in our SDK, we would list
# them here.
modules:
  - name: libmarkdown
    buildsystem: simple
    build-commands:
      - ./configure.sh --shared --prefix=/app --pkg-config
      - make -j${FLATPAK_BUILDER_N_JOBS}
      - sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh
      - make install
    sources:
      - type: archive
        url: https://github.com/Orc/discount/archive/refs/tags/v2.2.4.tar.gz
        sha256: 918905377e6ed3d0a7158cac0a4a18ed3c4cc0cad8ee95dddd82cb86ba9dd044

  - name: gtksourceview
    buildsystem: meson
    sources:
      - type: git
        url: https://github.com/GNOME/gtksourceview.git
        tag: '5.12.0'

  - name: sassc
    buildsystem: autotools
    sources:
      - type: archive
        url: https://github.com/sass/sassc/archive/3.6.2.tar.gz
        sha256: 608dc9002b45a91d11ed59e352469ecc05e4f58fc1259fc9a9f5b8f0f8348a03
      - type: script
        dest-filename: autogen.sh
        commands:
          - autoreconf -si
    modules:
      - name: libsass
        buildsystem: autotools
        sources:
          - type: archive
            url: https://github.com/sass/libsass/archive/3.6.5.tar.gz
            sha256: 89d8f2c46ae2b1b826b58ce7dde966a176bac41975b82e84ad46b01a55080582
          - type: script
            dest-filename: autogen.sh
            commands:
              - autoreconf -si

  - name: granite-7
    buildsystem: meson
    config-opts:
      - -Ddocumentation=false
      - -Ddemo=false
      -  --libdir=lib
    cleanup:
      - /share/icons
      - /share/metainfo
    sources:
      - type: archive
        url: https://github.com/elementary/granite/archive/refs/tags/7.6.0.tar.gz
        sha256: 4b4e4f7f86eb3f55116faec42ebd87e04c3e424d82715ecd967ed39540dca5ef

  - name: stylesheet
    buildsystem: meson
    cleanup:
      - /share/metainfo
    sources:
      - type: git
        url: https://github.com/elementary/stylesheet.git
        tag: 8.2.2
        commit: 9cfb767873d583f6ed29e96cf27728bb69fd9237
        x-checker-data:
          type: git
          tag-pattern: ^([\d.]+)$
    post-install:
      # Fallback "elementary", the theme name before stylesheet 6.0.0, to the blueberry variant
      - ln -s /app/share/themes/io.elementary.stylesheet.blueberry /app/share/themes/elementary

  - name: icons
    buildsystem: meson
    cleanup:
      - /share/metainfo
    config-opts:
      - -Dpalettes=false
    sources:
      - type: git
        url: https://github.com/elementary/icons.git
        tag: 8.2.0
        commit: 6ddbb535af70a5ceeff5e1fec05d9b0562641b2a
        x-checker-data:
          type: git
          tag-pattern: ^([\d.]+)$
    modules:
      - name: xcursorgen
        cleanup:
          - '*'
        sources:
          - type: git
            url: https://gitlab.freedesktop.org/xorg/app/xcursorgen.git
            tag: xcursorgen-1.0.9
            commit: 3d0909b630ca82401489411c9b496de14f664c55
            x-checker-data:
              type: git
              tag-pattern: ^xcursorgen-([\d.]+)$

  - name: minder
    buildsystem: meson
    sources:
      - type: dir
        path: ..