-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnet.eudic.dict.yaml
79 lines (71 loc) · 2.47 KB
/
net.eudic.dict.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
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
app-id: net.eudic.dict
runtime: org.freedesktop.Platform
runtime-version: '24.08'
sdk: org.freedesktop.Sdk
separate-locales: false
rename-icon: eudic
rename-desktop-file: eudic.desktop
command: eudic
finish-args:
- --share=ipc
- --share=network
- --socket=x11
- --socket=pulseaudio
- --device=dri
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons:/usr/share/icons
modules:
- name: krb5
buildsystem: autotools
config-opts:
- --disable-rpath
- --enable-shared
subdir: src
sources:
- type: archive
url: 'https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz'
sha256: b7a4cd5ead67fb08b980b21abd150ff7217e85ea320c9ed0c6dadd304840ad35
x-checker-data:
type: anitya
project-id: 13287
stable-only: true
url-template: >-
https://kerberos.org/dist/krb5/${version0}.${version1}/krb5-${version0}.${version1}.${version2}.tar.gz
- name: eudic
buildsystem: simple
build-commands:
- install -Dm644 ${FLATPAK_ID}.metainfo.xml -t /app/share/metainfo
- install -Dm644 eudic.png -t /app/share/icons/hicolor/256x256/apps
- install -Dm644 eudic.desktop -t /app/share/applications
- install -D eudic.sh /app/bin/eudic
- install -D apply_extra -t /app/bin
sources:
- type: script
dest-filename: apply_extra
commands:
- bsdtar --to-stdout -xf eudic.deb data.* | bsdtar -xf -
- mv usr/share/eusoft-eudic ./
- rm -r *.deb usr
- cd eusoft-eudic
- rm libg* lib/libg* libmount* libkrb* libk5* libwayland* libatk* libudev.so.1 libmpg123.so.0
- type: script
dest-filename: eudic.sh
commands:
- export LD_LIBRARY_PATH="/app/extra/eusoft-eudic/:$LD_LIBRARY_PATH"
- exec /app/extra/eusoft-eudic/eudic "$@"
- type: file
path: net.eudic.dict.metainfo.xml
- type: file
path: eudic.png
- type: file
path: eudic.desktop
- type: extra-data
filename: eudic.deb
only-arches: [x86_64]
url: https://www.eudic.net/download/eudic.deb?v=2025-01-26
sha256: 50f90345aa9617fa32747e80328deddcf513e5553deb510f2dc15be57c0e5d5b
size: 215416316
x-checker-data:
type: "html"
url: "https://www.eudic.net/v4/en/app/download"
version-pattern: "\\.deb\\?v=([\\d\\.-]+)"
url-template: "https://www.eudic.net/download/eudic.deb?v=$version"