-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathio.github.ilius.pyglossary.yml
94 lines (87 loc) · 2.92 KB
/
io.github.ilius.pyglossary.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
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
app-id: io.github.ilius.pyglossary
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: pyglossary
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfsd
modules:
- name: lzo
config-opts:
- --enable-shared
- --disable-static
cleanup:
- /include
- /share/doc
- '*.la'
- /lib/*.so
sources:
- type: archive
url: https://www.oberhumer.com/opensource/lzo/download/lzo-2.10.tar.gz
sha256: c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072
x-checker-data:
type: anitya
project-id: 1868
url-template: https://www.oberhumer.com/opensource/lzo/download/lzo-$version.tar.gz
- name: xapian-core
config-opts:
- --disable-sse
- --disable-backend-chert
- --disable-backend-remote
- --disable-documentation
sources:
- type: archive
sha256: bcbc99cfbf16080119c2571fc296794f539bd542ca3926f17c2999600830ab61
url: https://oligarchy.co.uk/xapian/1.4.27/xapian-core-1.4.27.tar.xz
x-checker-data:
type: anitya
project-id: 15919
url-template: https://oligarchy.co.uk/xapian/$version/xapian-core-$version.tar.xz
- name: libzim
buildsystem: meson
builddir: true
config-opts:
- --wrap-mode=nodownload
- -Dtest_data_dir=none
cleanup:
- /bin
- /include
- /lib/pkgconfig
sources:
- type: git
url: https://github.com/openzim/libzim.git
tag: 9.2.3
commit: 398a3c25059ee0ec7e2987d6af336d67dd681ba1
x-checker-data:
type: anitya
project-id: 20193
tag-template: $version
- name: pyglossary
buildsystem: simple
build-commands:
- python3 setup.py build
- python3 setup.py install "--prefix=${FLATPAK_DEST}"
- desktop-file-edit --set-key=Exec --set-value="pyglossary --ui=gtk %U" --set-icon=${FLATPAK_ID}
pkg/pyglossary.desktop
- install -Dm644 pkg/pyglossary.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 io.github.ilius.pyglossary.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml
- install -Dm644 res/pyglossary.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
modules:
# flatpak-pip-generator --runtime org.gnome.Sdk//46 --checker-data lxml beautifulsoup4 PyICU PyYAML marisa-trie libzim python-lzo html5li delocate prompt-toolkit
- python3-modules.json
sources:
- type: git
url: https://github.com/ilius/pyglossary.git
tag: 5.0.8
commit: 7e60447c96b771d36a689cb4c942f07d230f016c
x-checker-data:
is-main-source: true
type: anitya
project-id: 58943
tag-template: $version
- type: file
path: io.github.ilius.pyglossary.metainfo.xml