-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcom.github.libresprite.LibreSprite.yaml
61 lines (59 loc) · 1.93 KB
/
com.github.libresprite.LibreSprite.yaml
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
app-id: com.github.libresprite.LibreSprite
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: libresprite
rename-appdata-file: libresprite.appdata.xml
rename-desktop-file: libresprite.desktop
rename-icon: libresprite
finish-args:
- --socket=x11
- --share=ipc
- --device=dri
- --filesystem=home
modules:
- name: gtest
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
sha256: 8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
x-checker-data:
type: anitya
project-id: 18290
url-template: https://github.com/google/googletest/archive/refs/tags/v$version.tar.gz
# LibreSprite fails to build with upstream tinyxml
# module copied from https://github.com/flathub/tv.kodi.Kodi/blob/master/modules/tinyxml/tinyxml.json
- name: tinyxml
cleanup:
- /include
- /share/doc
- '*.a'
- '*.la'
- /lib/*.so
sources:
- type: archive
url: http://mirrors.kodi.tv/build-deps/sources/tinyxml-2.6.2_2.tar.gz
sha256: 8164c9ad48b9028667768a584d62f7760cfbfb90d0dd6214ad174403058da10c
- type: script
dest-filename: autogen.sh
commands:
- autoreconf -vfi
- name: libresprite
buildsystem: cmake-ninja
builddir: true
config-opts:
- -Wno-dev
- -DWITH_DESKTOP_INTEGRATION=ON
sources:
# use git, so that submodules don't have to be added as sources to the module
- type: git
url: https://github.com/LibreSprite/LibreSprite
commit: 4dac17fd198288d91c07592373449dcdddaf7e24
x-checker-data:
type: anitya
project-id: 153525
tag-template: v$version
stable-only: true
post-install:
- install -Dm644 /app/share/libresprite/data/icons/ase64.png /app/share/icons/hicolor/64x64/apps/libresprite.png