This repository has been archived by the owner on Nov 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorg.gramps_project.Gramps.yml
90 lines (83 loc) · 3.49 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
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
# uncommenting the writable-sdk should make the gexiv2 install and everything to build.
# writable-sdk: true
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=x11
- --share=ipc
#needs network access for maps
- --share=network
modules:
# oracle requires a login to get bsddb, and unix directory was empty in the db-6.1.23.tar.gz and db-6.1.23.NC.tar.gz as of 12 Nov 2020
- 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
ensure-writable:
- /lib/python3.8/site-packages/gi/overrides/GExiv2.py
- /lib/python3.8/site-packages/gi/overrides/
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