-
Notifications
You must be signed in to change notification settings - Fork 13
/
com.github.guoyunhe.fontweak.yaml
47 lines (47 loc) · 1.6 KB
/
com.github.guoyunhe.fontweak.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
app-id: com.github.guoyunhe.fontweak
runtime: org.freedesktop.Platform
runtime-version: '21.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.openjdk8
command: fontweak
finish-args:
- --device=dri
- --env=PATH=/app/bin:/usr/bin:/app/jre/bin
- --share=ipc
- --socket=x11
modules:
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk8/install.sh
- name: fontweak
buildsystem: simple
build-commands:
- install -Dm755 -t /app/bin/ apply_extra fontweak
- install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/
- install -Dm644 ${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/
sources:
- type: script
dest-filename: apply_extra
commands:
- tar -xf fontweak.tar.gz --strip=1 --wildcards 'fontweak-*/fontweak.jar'
- rm -f fontweak.tar.gz
- type: script
dest-filename: fontweak
commands:
- exec java -jar /app/extra/fontweak.jar
- type: file
path: com.github.guoyunhe.fontweak.desktop
- type: file
path: com.github.guoyunhe.fontweak.svg
- type: extra-data
url: https://github.com/guoyunhe/fontweak/releases/download/v1.3.1/fontweak-1.3.1.tar.gz
sha256: 5a7b305bb7236dfd5f350998f912f7e4856569db7501abb8d65896b17f894fa0
size: 68034
filename: fontweak.tar.gz
x-checker-data:
type: anitya
project-id: 235149
stable-only: true
url-template: https://github.com/guoyunhe/fontweak/releases/download/v$version/fontweak-$version.tar.gz