/
com.yubico.yubioath.yml
92 lines (89 loc) · 3 KB
/
com.yubico.yubioath.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
app-id: com.yubico.yubioath
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '23.08'
command: authenticator
cleanup:
- /bin/pcsc-spy
- /include
- /lib/pkgconfig
- /share/doc
- /share/man
- '*.la'
- '*.a'
finish-args:
- --socket=fallback-x11
- --socket=wayland
- --socket=pcsc
- --share=ipc
- --talk-name=org.kde.StatusNotifierWatcher
- --talk-name=org.freedesktop.secrets
- --device=all
- --require-version=1.3.2
- --persist=.ykman
modules:
- shared-modules/libusb/libusb.json
- name: libnotify
buildsystem: meson
config-opts:
- -Dtests=false
- -Dintrospection=disabled
- -Dman=false
- -Dgtk_doc=false
- -Ddocbook_docs=disabled
sources:
- type: archive
url: https://download.gnome.org/sources/libnotify/0.8/libnotify-0.8.3.tar.xz
sha256: ee8f3ef946156ad3406fdf45feedbdcd932dbd211ab4f16f75eba4f36fb2f6c0
x-checker-data:
type: gnome
name: libnotify
stable-only: true
- name: pcsc-lite
config-opts:
- --disable-libudev
- --disable-libsystemd
- --disable-polkit
- --without-systemdsystemunitdir
post-install:
- rm /app/sbin/pcscd
- rmdir /app/sbin || true
cleanup:
- /lib/libpcscspy.so
- /lib/libpcsclite.so
sources:
- type: archive
url: https://pcsclite.apdu.fr/files/pcsc-lite-2.0.1.tar.bz2
sha256: 5edcaf5d4544403bdab6ee2b5d6c02c6f97ea64eebf0825b8d0fa61ba417dada
x-checker-data:
type: anitya
project-id: 2611
url-template: https://pcsclite.apdu.fr/files/pcsc-lite-$version.tar.bz2
- name: yubioath-desktop
buildsystem: simple
build-commands:
- rm -r desktop_integration.sh README.adoc linux_support/com.yubico.authenticator.desktop
- mv authenticator /app/bin/authenticator
- mv data/ /app/bin/data
- mv helper/ /app/bin/helper
- mv lib/ /app/bin/lib
- mkdir -p /app/share/applications
- mv com.yubico.yubioath.desktop /app/share/applications/com.yubico.yubioath.desktop
- mkdir -p /app/share/icons/hicolor/128x128/apps
- mv linux_support/com.yubico.yubioath.png /app/share/icons/hicolor/128x128/apps/com.yubico.yubioath.png
- mkdir -p /app/share/appdata
- mv com.yubico.yubioath.appdata.xml /app/share/appdata/com.yubico.yubioath.appdata.xml
sources:
- type: archive
url: https://github.com/Yubico/yubioath-flutter/releases/download/6.3.1/yubico-authenticator-6.3.1-linux.tar.gz
sha256: a602fe2ca7d83bcd1845fb31e00e78bd8cd3d3556774fc7d3d256adcd96934e4
x-checker-data:
type: json
url: https://api.github.com/repos/Yubico/yubioath-flutter/releases/latest
version-query: .tag_name
url-query: .assets[] | select(.name=="yubico-authenticator-" + $version
+ "-linux.tar.gz") | .browser_download_url
- type: file
path: com.yubico.yubioath.appdata.xml
- type: file
path: com.yubico.yubioath.desktop