You've already forked dev.commandline.waveterm
mirror of
https://github.com/wavetermdev/dev.commandline.waveterm.git
synced 2026-04-22 15:27:29 -07:00
7363927e67
fixes #132
94 lines
3.2 KiB
YAML
94 lines
3.2 KiB
YAML
app-id: com.visualstudio.code
|
|
default-branch: stable
|
|
base: org.electronjs.Electron2.BaseApp
|
|
base-version: '19.08'
|
|
runtime: org.freedesktop.Sdk
|
|
runtime-version: '19.08'
|
|
sdk: org.freedesktop.Sdk
|
|
command: code
|
|
tags: [proprietary]
|
|
desktop-file-name-suffix: ' (Flatpak)'
|
|
separate-locales: false
|
|
finish-args:
|
|
- --require-version=0.10.3
|
|
- --share=ipc
|
|
- --socket=x11
|
|
- --socket=pulseaudio
|
|
- --socket=ssh-auth
|
|
- --share=network
|
|
- --device=all
|
|
- --filesystem=host
|
|
- --allow=devel
|
|
- --talk-name=org.freedesktop.Notifications
|
|
- --talk-name=org.freedesktop.secrets
|
|
- --talk-name=org.freedesktop.Flatpak
|
|
- --env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc
|
|
- --env=LD_LIBRARY_PATH=/app/lib
|
|
- --filesystem=xdg-config/kdeglobals:ro
|
|
- --talk-name=com.canonical.AppMenu.Registrar
|
|
- --talk-name=com.canonical.AppMenu.Registrar.*
|
|
cleanup:
|
|
- /include
|
|
- /lib/pkgconfig
|
|
- /share/gtk-doc
|
|
- '*.la'
|
|
modules:
|
|
|
|
- shared-modules/libsecret/libsecret.json
|
|
|
|
- name: vscode
|
|
buildsystem: simple
|
|
build-commands:
|
|
- install -D code.sh /app/bin/code
|
|
- 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
|
|
- install -Dm644 com.visualstudio.code.appdata.xml -t /app/share/metainfo
|
|
- install -Dm644 com.visualstudio.code.desktop -t /app/share/applications
|
|
- 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
|
|
- ARCH_TRIPLE=$(gcc --print-multiarch) && cp /usr/lib/${ARCH_TRIPLE}/libbfd-*.so
|
|
/app/lib
|
|
- ARCH_TRIPLE=$(gcc --print-multiarch) && ln -s /usr/lib/${ARCH_TRIPLE}/libtinfo.so/app/lib/libtinfo.so.5
|
|
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.gz data.tar.xz debian-binary usr
|
|
- type: file
|
|
path: code.sh
|
|
- type: file
|
|
path: flatpak-warning.txt
|
|
- type: file
|
|
path: npmrc
|
|
- type: file
|
|
path: com.visualstudio.code.appdata.xml
|
|
- type: file
|
|
path: com.visualstudio.code.desktop
|
|
- type: file
|
|
path: icons/vscode_64.png
|
|
- type: file
|
|
path: icons/vscode_128.png
|
|
- type: file
|
|
path: icons/vscode_256.png
|
|
- type: file
|
|
path: icons/vscode_512.png
|
|
- type: extra-data
|
|
filename: code.deb
|
|
only-arches: [x86_64]
|
|
url: http://packages.microsoft.com/repos/vscode/pool/main/c/code/code_1.42.1-1581432938_amd64.deb
|
|
sha256: 0ed93dbde4ab5621064561141b7e18b7f960a98f216755bb01883ae34a98ab61
|
|
size: 58233774
|
|
x-checker-data:
|
|
type: debian-repo
|
|
package-name: code
|
|
root: http://packages.microsoft.com/repos/vscode
|
|
dist: stable
|
|
component: main
|