-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcom.github.dynobo.normcap.yml
120 lines (111 loc) · 3.83 KB
/
com.github.dynobo.normcap.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
app-id: com.github.dynobo.normcap
runtime: org.kde.Platform
runtime-version: 6.7
sdk: org.kde.Sdk
command: normcap
finish-args:
- --share=ipc
- --share=network
- --socket=wayland
- --socket=fallback-x11
- --device=dri
- --env=TESSDATA_PREFIX=/app/share
- --filesystem=xdg-pictures
- --talk-name=org.freedesktop.Notifications # Wayland Notification
- --talk-name=org.gnome.Shell # Extensions, Eval
- --talk-name=org.gnome.Shell.Screenshot # Gnome Shell screenshot
- --talk-name=org.gnome.Shell.Extensions # Gnome Shell screenshot
- --talk-name=org.gnome.Shell.Extensions.Window # Gnome Shell screenshot
- --talk-name=org.kde.StatusNotifierWatcher # KDE system tray
- --talk-name=org.kde.KWin # Window positioning
cleanup:
- /sbin
- /include
- /lib/cmake
- /lib/pkgconfig
- /bin/protoc
- /share/doc
- /share/pkgconfig
- /share/man
- /share/cmake*
- "*.a"
- "*.la"
modules:
- name: kerberos
buildsystem: autotools
subdir: src
sources:
- type: archive
url: https://kerberos.org/dist/krb5/1.20/krb5-1.20.tar.gz
sha256: 7e022bdd3c851830173f9faaa006a230a0e0fdad4c953e85bff4bf0da036e12f
# Dependency of tesseract
- name: leptonica
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/DanBloomberg/leptonica/releases/download/1.82.0/leptonica-1.82.0.tar.gz
sha256: 155302ee914668c27b6fe3ca9ff2da63b245f6d62f3061c8f27563774b8ae2d6
- name: tesseract
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/tesseract-ocr/tesseract/archive/refs/tags/5.3.3.zip
sha256: 65cdb0d55d6dc39936421308aedd775190615c5cf9bb76e59689646b1aa6dedc
- name: tessdata-fast
buildsystem: simple
build-commands:
- cp * /app/share/tessdata
sources:
- type: file
url: https://github.com/tesseract-ocr/tessdata_fast/raw/4.1.0/eng.traineddata
sha256: 7d4322bd2a7749724879683fc3912cb542f19906c83bcc1a52132556427170b2
# # Dependency of xclip
# - name: libXmu
# buildsystem: autotools
# sources:
# - type: archive
# url: https://gitlab.freedesktop.org/xorg/lib/libxmu/-/archive/libXmu-1.1.2/libxmu-libXmu-1.1.2.tar.gz
# sha256: c74dd369191d125e2b278e669301b7f1a0d67e2f6c92c7dad24e08a5e2cfcb45
# - name: xclip
# buildsystem: autotools
# sources:
# - type: archive
# url: https://github.com/astrand/xclip/archive/0.13.tar.gz
# sha256: ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758
- name: wl-clipboard
buildsystem: meson
config-opts:
- -Dzshcompletiondir=no
- -Dfishcompletiondir=no
sources:
- type: archive
url: https://github.com/bugaevc/wl-clipboard/archive/v2.2.1/wl-clipboard-2.2.1.tar.gz
sha256: 6eb8081207fb5581d1d82c4bcd9587205a31a3d47bea3ebeb7f41aa1143783eb
x-checker-data:
type: anitya
project-id: 49082
stable-only: true
url-template: https://github.com/bugaevc/wl-clipboard/archive/v$version/wl-clipboard-$version.tar.gz
cleanup:
- /share/bash-completion
- /share/man
- /share/zsh
- python3-dependencies.json
- name: metadata
buildsystem: simple
build-commands:
- install -Dm644 com.github.dynobo.normcap.svg
/app/share/icons/hicolor/scalable/apps/com.github.dynobo.normcap.svg
- install -Dm644 com.github.dynobo.normcap.desktop
/app/share/applications/com.github.dynobo.normcap.desktop
- install -Dm644 com.github.dynobo.normcap.appdata.xml
/app/share/appdata/com.github.dynobo.normcap.appdata.xml
sources:
- type: file
path: com.github.dynobo.normcap.svg
- type: file
path: com.github.dynobo.normcap.desktop
- type: file
path: com.github.dynobo.normcap.appdata.xml