-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathorg.gnome.Hamster.yaml
49 lines (49 loc) · 1.9 KB
/
org.gnome.Hamster.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
---
app-id: org.gnome.Hamster
runtime: org.gnome.Platform
runtime-version: '47'
sdk: org.gnome.Sdk
command: hamster
rename-desktop-file: org.gnome.Hamster.GUI.desktop
rename-icon: org.gnome.Hamster.GUI
finish-args:
- "--share=ipc"
- "--socket=wayland"
- "--socket=fallback-x11"
- "--filesystem=xdg-documents"
modules:
- shared-modules/intltool/intltool-0.51.json
- name: python3-dbus-python
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "dbus-python==1.2.18" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/b1/5c/ccfc167485806c1936f7d3ba97db6c448d0089c5746ba105b6eb22dba60e/dbus-python-1.2.18.tar.gz
sha256: 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260
- name: python3-pyxdg
buildsystem: simple
build-commands:
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
--prefix=${FLATPAK_DEST} "pyxdg" --no-build-isolation
sources:
- type: file
url: https://files.pythonhosted.org/packages/e5/8d/cf41b66a8110670e3ad03dab9b759704eeed07fa96e90fdc0357b2ba70e2/pyxdg-0.28-py2.py3-none-any.whl
sha256: bdaf595999a0178ecea4052b7f4195569c1ff4d344567bccdc12dfdf02d545ab
- name: hamster
buildsystem: simple
builddir: true
build-commands:
- sed -i '/org.gnome.Hamster.GUI.metainfo.xml/d' data/wscript
- ./waf configure --prefix=${FLATPAK_DEST}
- ./waf build
- ./waf install
sources:
- type: git
url: https://github.com/projecthamster/hamster.git
commit: 81be67e08a6c2a69f2f042df5459dba886cbd7de
- type: file
path: org.gnome.Hamster.metainfo.xml
post-install:
- install -vD --mode 644 org.gnome.Hamster.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml