-
Notifications
You must be signed in to change notification settings - Fork 10
/
com.github.gijsgoudzwaard.image-optimizer.yml
45 lines (41 loc) · 1.66 KB
/
com.github.gijsgoudzwaard.image-optimizer.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
# This is the same ID that you've used in meson.build and other files
app-id: com.github.gijsgoudzwaard.image-optimizer
# 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.gijsgoudzwaard.image-optimizer
# 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: jpegoptim
sources:
- type: archive
url: https://github.com/tjko/jpegoptim/archive/v1.5.5.tar.gz
sha256: 90a309d1c092de358bb411d702281ac3039b489d03adb0bc3c4ef04cf0067d38
- name: optipng
build-options:
config-opts:
- --with-system-libs
sources:
- type: archive
url: https://netcologne.dl.sourceforge.net/project/optipng/OptiPNG/optipng-0.7.8/optipng-0.7.8.tar.gz
sha256: 25a3bd68481f21502ccaa0f4c13f84dcf6b20338e4c4e8c51f2cefbd8513398c
- name: image-optimizer
buildsystem: meson
sources:
- type: dir
path: .