Files
dev.commandline.waveterm/com.visualstudio.code.yaml
T

160 lines
5.4 KiB
YAML
Raw Normal View History

2019-04-05 11:11:03 +02:00
app-id: com.visualstudio.code
2019-11-09 20:18:52 +01:00
default-branch: stable
2019-04-05 11:11:03 +02:00
runtime: org.freedesktop.Sdk
2023-12-04 11:54:44 -05:00
runtime-version: '23.08'
2019-04-05 11:11:03 +02:00
sdk: org.freedesktop.Sdk
2021-09-29 22:12:11 -07:00
base: org.electronjs.Electron2.BaseApp
2023-12-04 11:54:44 -05:00
base-version: '23.08'
2019-04-05 11:11:03 +02:00
command: code
tags: [proprietary]
separate-locales: false
finish-args:
- --require-version=0.10.3
2023-08-11 23:47:49 +10:00
- --share=network
2019-04-05 11:11:03 +02:00
- --share=ipc
- --socket=x11
- --socket=pulseaudio
- --socket=ssh-auth
2020-03-03 20:49:14 +01:00
- --device=all
2019-04-05 11:11:03 +02:00
- --allow=devel
2023-08-11 23:47:49 +10:00
- --filesystem=host
2019-04-05 11:11:03 +02:00
- --env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc
- --env=LD_LIBRARY_PATH=/app/lib
2022-04-06 21:16:50 +08:00
- --env=ZYPAK_SPAWN_LATEST_ON_REEXEC=0
2024-02-02 21:42:55 +01:00
# required to fix cursor scaling on wayland
- --env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons
2023-08-11 23:47:49 +10:00
- --system-talk-name=org.freedesktop.login1
- --talk-name=org.freedesktop.Notifications
- --talk-name=org.freedesktop.secrets
- --talk-name=org.freedesktop.Flatpak
2019-04-05 11:11:03 +02:00
- --talk-name=com.canonical.AppMenu.Registrar
- --talk-name=com.canonical.AppMenu.Registrar.*
2020-04-20 15:54:43 +03:00
add-extensions:
com.visualstudio.code.tool:
directory: tools
subdirectories: true
2023-12-04 11:54:44 -05:00
version: '23.08'
2020-04-20 15:54:43 +03:00
add-ld-path: lib
no-autodownload: true
2019-04-05 11:11:03 +02:00
cleanup:
- /include
- /lib/pkgconfig
- /share/gtk-doc
- '*.la'
modules:
2020-02-14 10:14:28 +01:00
- shared-modules/libsecret/libsecret.json
2019-04-05 11:11:03 +02:00
2022-04-18 16:43:48 +02:00
- shared-modules/libusb/libusb.json
2019-04-05 11:11:03 +02:00
- name: vscode
buildsystem: simple
build-commands:
- install -D code.sh /app/bin/code
2019-04-05 11:46:39 +02:00
- install -Dm644 vscode_64.png /app/share/icons/hicolor/64x64/apps/com.visualstudio.code.png
- install -Dm644 vscode_128.png /app/share/icons/hicolor/128x128/apps/com.visualstudio.code.png
- install -Dm644 vscode_256.png /app/share/icons/hicolor/256x256/apps/com.visualstudio.code.png
- install -Dm644 vscode_512.png /app/share/icons/hicolor/512x512/apps/com.visualstudio.code.png
2020-03-26 12:00:47 +00:00
- install -Dm644 com.visualstudio.code.metainfo.xml -t /app/share/metainfo
2019-04-05 11:11:03 +02:00
- install -Dm644 com.visualstudio.code.desktop -t /app/share/applications
2021-07-19 18:17:55 -04:00
- install -Dm644 com.visualstudio.code-url-handler.desktop -t /app/share/applications
- install -Dm644 com.visualstudio.code-workspace.xml -t /app/share/mime/packages
2019-04-05 11:11:03 +02:00
- install -Dm644 npmrc -t /app/etc
- install -Dm644 flatpak-warning.txt -t /app/share/vscode
- install -D apply_extra -t /app/bin
- cp /usr/bin/ar /app/bin
2020-06-10 19:21:10 +00:00
- ARCH_TRIPLE=$(gcc --print-multiarch) && cp /usr/lib/${ARCH_TRIPLE}/libbfd-*.so
/app/lib
2019-04-05 11:11:03 +02:00
- ARCH_TRIPLE=$(gcc --print-multiarch) && ln -s /usr/lib/${ARCH_TRIPLE}/libtinfo.so/app/lib/libtinfo.so.5
2020-04-20 15:54:43 +03:00
- mkdir /app/tools
2019-04-05 11:11:03 +02:00
sources:
- type: script
dest-filename: apply_extra
commands:
- ar x code.deb
- tar xf data.tar.xz
- mv usr/share/code vscode
- rm -r code.deb control.tar.* data.tar.xz debian-binary usr
2019-04-05 11:11:03 +02:00
- type: file
path: code.sh
- type: file
path: flatpak-warning.txt
- type: file
path: npmrc
- type: file
2020-03-26 12:02:46 +00:00
path: com.visualstudio.code.metainfo.xml
2019-04-05 11:11:03 +02:00
- type: file
path: com.visualstudio.code.desktop
2021-07-19 18:17:55 -04:00
- type: file
path: com.visualstudio.code-url-handler.desktop
- type: file
path: com.visualstudio.code-workspace.xml
2019-04-05 11:11:03 +02:00
- type: file
2019-04-05 11:46:39 +02:00
path: icons/vscode_64.png
2019-04-05 11:11:03 +02:00
- type: file
2019-04-05 11:46:39 +02:00
path: icons/vscode_128.png
2019-04-05 11:11:03 +02:00
- type: file
2019-04-05 11:46:39 +02:00
path: icons/vscode_256.png
2019-04-05 11:11:03 +02:00
- type: file
2019-04-05 11:46:39 +02:00
path: icons/vscode_512.png
2019-04-05 11:11:03 +02:00
- type: extra-data
filename: code.deb
only-arches: [x86_64]
2024-02-16 12:45:30 +00:00
url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.2-1707854558_amd64.deb
sha256: 7874c27e80e9bb1902502b8b90906ac830251f57f8e247b39d298d3809c76bf6
size: 99776494
2020-12-31 15:27:15 -06:00
x-checker-data:
type: debian-repo
package-name: code
2021-09-18 18:50:12 -07:00
root: https://packages.microsoft.com/repos/code
2020-12-31 15:27:15 -06:00
dist: stable
component: main
is-main-source: true
2020-12-31 14:49:31 -06:00
- type: extra-data
filename: code.deb
only-arches: [aarch64]
2024-02-16 12:45:30 +00:00
url: https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.86.2-1707853305_arm64.deb
sha256: eca39b791b53fa1a6ce97cafbcd425a3f8ff77f59ebab33bfd1797d7babe1553
size: 92860238
2020-12-31 14:49:31 -06:00
x-checker-data:
type: debian-repo
package-name: code
2021-09-18 18:50:12 -07:00
root: https://packages.microsoft.com/repos/code
2020-12-31 14:49:31 -06:00
dist: stable
component: main
2021-08-12 10:12:07 +02:00
- name: kerberos
subdir: src
post-install:
2021-10-19 19:25:42 +00:00
- install -Dm644 ../krb5.conf /app/etc/krb5.conf
2021-08-12 10:12:07 +02:00
sources:
2021-10-19 19:25:42 +00:00
- type: archive
2022-09-10 11:54:52 +02:00
url: https://kerberos.org/dist/krb5/1.20/krb5-1.20.tar.gz
sha256: 7e022bdd3c851830173f9faaa006a230a0e0fdad4c953e85bff4bf0da036e12f
2021-10-19 19:25:42 +00:00
- type: file
path: krb5.conf
2022-04-06 21:16:50 +08:00
2023-01-30 10:33:29 -08:00
- name: host-spawn
buildsystem: simple
build-commands:
- install -Dm755 host-spawn /app/bin/host-spawn
2023-09-07 19:45:40 +00:00
sources:
- type: file
2023-11-18 22:49:36 -03:00
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-x86_64
sha256: dbf67e7e111c4fe1edb0c642cbb4193064ca5b384aeb1054fc2befba6ed88b83
2023-01-30 10:33:29 -08:00
dest-filename: host-spawn
only-arches: [x86_64]
2023-09-07 19:45:40 +00:00
- type: file
2023-11-18 22:49:36 -03:00
url: https://github.com/1player/host-spawn/releases/download/1.5.0/host-spawn-aarch64
sha256: c42c12be6cdd83e374b847bec836659fb45231215797777c9ee1c9c0ae9e3783
2023-01-30 10:33:29 -08:00
dest-filename: host-spawn
only-arches: [aarch64]
2022-04-06 21:16:50 +08:00
- name: zypak
sources:
- type: git
url: https://github.com/refi64/zypak
2022-09-10 11:54:52 +02:00
tag: v2022.04
commit: 55a60d110301e8dd37b631503c3524ab7baaf7aa