-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbr.gov.rfb.irpf.yml
47 lines (47 loc) · 1.26 KB
/
br.gov.rfb.irpf.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
app-id: br.gov.rfb.irpf
branch: stable
tags: [proprietary]
runtime: org.gnome.Platform
runtime-version: '42'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk11
command: irpf.sh
modules:
- name: irpf
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk11/install.sh
- sh install.sh
- install -Dm644 br.gov.rfb.irpf.desktop /app/share/applications/br.gov.rfb.irpf.desktop
sources:
- type: archive
url: https://downloadirpf.receita.fazenda.gov.br/irpf/2022/irpf/arquivos/IRPF2022-1.3.zip
sha256: ff986bd780bab62d9a2eec9369e70ed350180308f0687a3ec01b74525c640b50
- type: script
dest-filename: irpf.sh
dest: bin
commands:
- java -jar /app/irpf.jar
- type: file
path: install.sh
- type: file
path: br.gov.rfb.irpf.desktop
finish-args:
# X11 + XShm access
- --share=ipc
- --socket=x11
# Wayland access
- --socket=wayland
# Needs to talk to the network:
- --share=network
# Needs to save files locally
- --filesystem=xdg-documents
- --filesystem=home
# Java paths
- --env=PATH=$PATH:/app/jre/bin:/usr/bin
- --env=JAVA_HOME=/app/jre
- --talk-name=org.gtk.vfs.*
- --filesystem=xdg-run/gvfsd
# cleanup:
# - '/IRPF2021'