-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdev.overlayed.Overlayed.yaml
96 lines (89 loc) · 3.77 KB
/
dev.overlayed.Overlayed.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
id: dev.overlayed.Overlayed
runtime: org.freedesktop.Sdk
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
command: overlayed
finish-args:
- --socket=wayland
- --socket=fallback-x11
- --share=ipc
- --share=network
- --socket=pulseaudio
- --talk-name=org.freedesktop.Notifications
modules:
- name: webkit2gtk-4.1
sources:
- type: archive
url: https://webkitgtk.org/releases/webkitgtk-2.46.5.tar.xz
sha256: bad4020bb0cfb3e740df3082c2d9cbf67cf4095596588a56aecdde6702137805
x-checker-data:
type: html
url: https://webkitgtk.org/releases/
version-pattern: LATEST-STABLE-(\d[\.\d]+\d)
url-template: https://webkitgtk.org/releases/webkitgtk-$version.tar.xz
buildsystem: cmake-ninja
config-opts:
# NOTE: control flags for webkitgtk-4.1 (required for tauri)
# also we need this since freedesktop doesnt have webkit but gnome does
# https://blogs.gnome.org/mcatanzaro/2023/03/21/webkitgtk-api-for-gtk-4-is-now-stable/
- -DPORT=GTK
- -DENABLE_DOCUMENTATION=OFF
- -DENABLE_WEBDRIVER=OFF
- -DENABLE_GAMEPAD=OFF
- -DENABLE_SPELLCHECK=OFF
- -DENABLE_BUBBLEWRAP_SANDBOX=OFF
- -DENABLE_MINIBROWSER=OFF
- -DENABLE_WEB_RTC=OFF
- -DUSE_LIBSECRET=OFF
- -DUSE_GTK4=OFF
- -DUSE_AVIFUSE_GTK4=OFF
- -DUSE_LIBBACKTRACE=OFF
- -DUSE_WOFF2=OFF
- -DUSE_JPEGXL=OFF
- -DUSE_AVIF=OFF
- -DUSE_SYSTEM_SYSPROF_CAPTURE=OFF
- -DUSE_GSTREAMER_WEBRTC=OFF
- -DUSE_GSTREAMER_TRANSCODER=OFF
modules:
- shared-modules/libsoup/libsoup-2.4.json
- name: unifdef
no-autogen: true
make-install-args:
- prefix=${FLATPAK_DEST}
sources:
- type: archive
url: https://dotat.at/prog/unifdef/unifdef-2.12.tar.xz
sha256: 43ce0f02ecdcdc723b2475575563ddb192e988c886d368260bc0a63aee3ac400
cleanup:
- '*'
- shared-modules/libappindicator/libappindicator-gtk3-12.10.json
- name: overlayed
buildsystem: simple
build-commands:
- bsdtar -Oxf overlayed.deb 'data.tar.gz' | bsdtar -xf -
- |
desktop-file-edit \
--set-icon="$FLATPAK_ID" \
usr/share/applications/overlayed.desktop
- install -Dm755 usr/bin/* /app/bin
- install -Dm644 usr/share/icons/hicolor/256x256@2/apps/overlayed.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png
- install -Dm644 usr/share/icons/hicolor/128x128/apps/overlayed.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png
- install -Dm644 usr/share/icons/hicolor/32x32/apps/overlayed.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png
- install -Dm644 usr/share/applications/overlayed.desktop /app/share/applications/${FLATPAK_ID}.desktop
- install -Dm644 ${FLATPAK_ID}.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml
sources:
- type: file
url: https://raw.githubusercontent.com/overlayeddev/overlayed/4cc468dbecf30e3658839a06fa617d99632a6e50/distribution/dev.overlayed.Overlayed.metainfo.xml
sha256: 393ca42f40412940107846b1f0b53db5c4ed6c6c5e0fea5fef1711fa561c0f5a
- type: file
url: https://github.com/overlayeddev/overlayed/releases/download/v0.6.2/overlayed_0.6.2_amd64.deb
sha256: 9e5736e17f23b13892703dcbe44c9a32676fbc51e548b585e890afee02dafb59
dest-filename: overlayed.deb
x-checker-data:
type: json
url: https://api.github.com/repos/overlayeddev/overlayed/releases/latest
version-query: .tag_name
url-query: '"https://github.com/overlayeddev/overlayed/releases/download/"
+ $version + "/overlayed_" + $version + "_amd64.deb"'
# TODO: raise upstream here to support arm build for linux
only-arches: [x86_64]