-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
com.github.phase1geo.textshine.yml
65 lines (61 loc) · 2.26 KB
/
com.github.phase1geo.textshine.yml
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
# This is the same ID that you've used in meson.build and other files
app-id: com.github.phase1geo.textshine
# 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: io.elementary.Platform
runtime-version: '8'
sdk: io.elementary.Sdk
# This should match the exec line in your .desktop file and usually is the same
# as your app ID
command: com.github.phase1geo.textshine
# 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'
# 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: libmarkdown2
buildsystem: simple
sources:
- type: archive
url: https://github.com/Orc/discount/archive/v2.2.3b8.tar.gz
sha256: 5d69aa20c43e0da5ac8509c4f95880720655a9b9e36206c5b5adcbba75f80391
build-commands:
- ./configure.sh --prefix=/app --shared --pkg-config
- make -j1
- sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh
- make install
- install -m644 libmarkdown.pc /app/lib/pkgconfig/libmarkdown.pc
cleanup:
- /bin
- /include
- /lib/pkgconfig
- name: gtksourceview
buildsystem: meson
sources:
- type: git
url: https://gitlab.gnome.org/GNOME/gtksourceview.git
tag: '4.8.0'
- name: gtkspell
config-opts:
- --disable-gtk-doc
sources:
- type: archive
url: https://downloads.sourceforge.net/gtkspell/gtkspell3-3.0.10.tar.xz
sha256: b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732
post-install:
- install -p -D -m 0644 "COPYING" -t "${FLATPAK_DEST}/share/licenses/gtkspell/";
# modules:
# - shared-modules/intltool/intltool-0.51.json
- name: textshine
buildsystem: meson
sources:
- type: dir
path: .