-
Notifications
You must be signed in to change notification settings - Fork 11
/
com.yubico.yubioath.yml
77 lines (75 loc) · 2.56 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
app-id: com.yubico.yubioath
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
runtime-version: '24.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: 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.2.3.tar.xz
sha256: cab1e62755713f62ce1b567954dbb0e9a7e668ffbc3bbad3ce85c53f8f4e00a4
x-checker-data:
type: anitya
project-id: 2611
versions:
<: 2.3.0
url-template: https://pcsclite.apdu.fr/files/pcsc-lite-$version.tar.xz
- 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/7.1.1/yubico-authenticator-7.1.1-linux.tar.gz
sha256: f553503a810ded105254d4b537434d4870657c5240bf43c1a47afae798ace3f2
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