forked from flathub/flathub
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorg.gramps_project.Gramps.yml
115 lines (107 loc) · 4 KB
/
org.gramps_project.Gramps.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
app-id: org.gramps_project.Gramps
# flatpak-builder will not take com.gramps-project.Gramps
runtime: org.gnome.Platform
runtime-version: '3.38'
sdk: org.gnome.Sdk
command: /app/bin/gramps
rename-icon: gramps
finish-args:
# needs home access to access documents and pictures
- --filesystem=home
# needs to own upstream name
- --own-name=org.gramps-project.Gramps
# for gui
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
#needs network access for maps
- --share=network
modules:
- name: BSDDB3
subdir: dist
builddir: true
config-opts:
- --enable-compat185
- --enable-shared
- --enable-cxx
- --enable-dbm
- --enable-stl
sources:
- type: archive
url: https://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
sha256: e0a992d740709892e81f9d93f06daf305cf73fb81b545afe72478043172c3628
- type: patch
path: atomic.patch
- name: python3-bsddb
buildsystem: simple
build-options:
env:
BERKELEYDB_DIR: /app
build-commands:
- python3 setup.py build
- python3 setup.py install --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/source/b/bsddb3/bsddb3-6.2.7.tar.gz
sha256: b0f7fa63eb240cd5815809c9d1d7df9f7cc8d6fa9619d0edbe9c794afc02dc9f
- name: osmgpsmapDependency
buildsystem: autotools
sources:
- type: archive
url: https://github.com/nzjrs/osm-gps-map/releases/download/1.1.0/osm-gps-map-1.1.0.tar.gz
sha256: 8f2ff865ed9ed9786cc5373c37b341b876958416139d0065ebb785cf88d33586
- name: exiv2Dependency
buildsystem: cmake
sources:
- type: archive
url: https://www.exiv2.org/builds/exiv2-0.27.3-Source.tar.gz
sha256: a79f5613812aa21755d578a297874fb59a85101e793edc64ec2c6bd994e3e778
- name: gexiv2Dependency
buildsystem: meson
config-opts:
- -Dpython3_girdir=no
sources:
- type: archive
url: https://download.gnome.org/sources/gexiv2/0.12/gexiv2-0.12.1.tar.xz
sha256: 8aeafd59653ea88f6b78cb03780ee9fd61a2f993070c5f0d0976bed93ac2bd77
- name: PyICUDependency
buildsystem: simple
ensure-writable:
- /lib/python3.8/site-packages/easy-install.pth
build-commands:
- python3 setup.py install --prefix=/app
sources:
- type: archive
url: https://files.pythonhosted.org/packages/31/46/fa08c8efae2951e67681ec24319f789fc1a74e2096dd74373e34c79319de/PyICU-2.6.tar.gz
sha256: a9a5bf6833360f8f69e9375b91c1a7dd6e0c9157a42aee5bb7d6891804d96371
- name: GraphVizDependency
buildsystem: autotools
sources:
- type: archive
url: https://www2.graphviz.org/Packages/stable/portable_source/graphviz-2.44.0.tar.gz
sha256: 9aabd13a8018b708ab3c822de2326c19d0a52ed59f50a6b0f9318c07e2a6d93b
- name: GhostscriptDependency
buildsystem: autotools
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/ghostscript-9.53.3.tar.gz
sha256: 6eaf422f26a81854a230b80fd18aaef7e8d94d661485bd2e97e695b9dce7bf7f
- name: Gramps
buildsystem: simple
ensure-writable:
- /lib/python3.8/site-packages/easy-install.pth
build-commands:
- python3 setup.py build --build-base=/app
- python3 setup.py install --prefix=/app --exec-prefix=/bin
- install -Dm644 /app/share/icons/gramps.png -t /app/share/icons/hicolor/48x48/apps/
- install -Dm644 /app/share/gramps/images/gramps.svg -t /app/share/icons/hicolor/scalable/apps/
- install -Dm644 org.gramps_project.Gramps.desktop -t /app/share/applications/
- install -Dm644 org.gramps_project.Gramps.metainfo.xml -t /app/share/metainfo/
sources:
- type: archive
url: https://github.com/gramps-project/gramps/archive/v5.1.3.tar.gz
sha256: 91d755b7e407af40ce5ebe24b29baab860bc6e2871ebcbee3f5e109c438df1e8
- type: file
path: org.gramps_project.Gramps.desktop
- type: file
path: org.gramps_project.Gramps.metainfo.xml