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
164 lines
5.7 KiB
JSON
164 lines
5.7 KiB
JSON
{
|
|
"app-id": "com.visualstudio.code",
|
|
"branch": "stable",
|
|
"base": "io.atom.electron.BaseApp",
|
|
"base-version": "stable",
|
|
"runtime": "org.freedesktop.Sdk",
|
|
"runtime-version": "1.6",
|
|
"sdk": "org.freedesktop.Sdk",
|
|
"command": "code",
|
|
"tags": ["proprietary"],
|
|
"separate-locales": false,
|
|
"finish-args": [
|
|
"--share=ipc", "--socket=x11",
|
|
"--socket=pulseaudio",
|
|
"--share=network",
|
|
"--device=dri",
|
|
"--filesystem=host",
|
|
"--talk-name=org.freedesktop.Notifications",
|
|
"--talk-name=org.freedesktop.secrets",
|
|
"--env=NPM_CONFIG_GLOBALCONFIG=/app/etc/npmrc"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "libsecret",
|
|
"config-opts": [
|
|
"--disable-manpages",
|
|
"--disable-gtk-doc",
|
|
"--disable-static",
|
|
"--disable-introspection"
|
|
],
|
|
"cleanup": [
|
|
"/bin",
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/gtk-doc",
|
|
"*.la"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/libsecret-0.18.5.tar.xz",
|
|
"sha256": "9ce7bd8dd5831f2786c935d82638ac428fa085057cc6780aba0e39375887ccb3"
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"commands": ["autoreconf -f"]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "xkbfile",
|
|
"cleanup": ["/include", "/lib/*.la", "/lib/pkgconfig"],
|
|
"config-opts": ["--disable-static"],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://www.x.org/releases/individual/lib/libxkbfile-1.0.9.tar.bz2",
|
|
"sha256": "51817e0530961975d9513b773960b4edd275f7d5c72293d5a151ed4f42aeb16a"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "nodejs",
|
|
"cleanup": [
|
|
"/include",
|
|
"/share",
|
|
"/app/lib/node_modules/npm/changelogs",
|
|
"/app/lib/node_modules/npm/doc",
|
|
"/app/lib/node_modules/npm/html",
|
|
"/app/lib/node_modules/npm/man",
|
|
"/app/lib/node_modules/npm/scripts"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "archive",
|
|
"url": "https://nodejs.org/dist/v7.9.0/node-v7.9.0.tar.xz",
|
|
"sha256": "a569764b884929f31a0772600a5cf36048ad42aa8c54ba4cabea6c067ef96a29"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "vscode",
|
|
"buildsystem": "simple",
|
|
"build-commands": [
|
|
"install -Dm755 apply_extra /app/bin/apply_extra",
|
|
"install -Dm755 code.sh /app/bin/code",
|
|
"install -Dm644 com.visualstudio.code-64.png /app/share/icons/hicolor/64x64/apps/com.visualstudio.code.png",
|
|
"install -Dm644 com.visualstudio.code-128.png /app/share/icons/hicolor/128x128/apps/com.visualstudio.code.png",
|
|
"install -Dm644 com.visualstudio.code-256.png /app/share/icons/hicolor/256x256/apps/com.visualstudio.code.png",
|
|
"install -Dm644 com.visualstudio.code-512.png /app/share/icons/hicolor/512x512/apps/com.visualstudio.code.png",
|
|
"install -Dm644 com.visualstudio.code.appdata.xml /app/share/appdata/com.visualstudio.code.appdata.xml",
|
|
"install -Dm644 code.desktop /app/share/applications/com.visualstudio.code.desktop",
|
|
"install -Dm644 npmrc /app/etc/npmrc"
|
|
],
|
|
"cleanup": [
|
|
"/share/lintian",
|
|
"/share/pixmaps"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "script",
|
|
"dest-filename": "apply_extra",
|
|
"commands": [
|
|
"tar -xf code.tar.gz",
|
|
"rm -f code.tar.gz",
|
|
"mv VSCode-linux-* vscode",
|
|
"install -Dm644 /app/share/applications/com.visualstudio.code.desktop export/share/applications/com.visualstudio.code.desktop"
|
|
]
|
|
},
|
|
{
|
|
"type": "script",
|
|
"commands": ["exec env PATH=\"$PATH:$XDG_DATA_HOME/node_modules/bin\" /app/extra/vscode/bin/code --extensions-dir=$XDG_DATA_HOME/vscode/extensions \"$@\""],
|
|
"dest-filename": "code.sh"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "npmrc"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.visualstudio.code.appdata.xml"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "code.desktop"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.visualstudio.code-512.png"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.visualstudio.code-256.png"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.visualstudio.code-128.png"
|
|
},
|
|
{
|
|
"type": "file",
|
|
"path": "com.visualstudio.code-64.png"
|
|
},
|
|
{
|
|
"type": "extra-data",
|
|
"filename": "code.tar.gz",
|
|
"only-arches": ["x86_64"],
|
|
"url": "https://vscode-update.azurewebsites.net/1.22.1/linux-x64/stable",
|
|
"sha256": "9acda8fde77b48069ef5d00b3ee0fa7f54e8be7c10c37bf26b09ec39b3bef092",
|
|
"size": 68391282
|
|
},
|
|
{
|
|
"type": "extra-data",
|
|
"filename": "code.tar.gz",
|
|
"only-arches": ["i386"],
|
|
"url": "https://vscode-update.azurewebsites.net/1.22.1/linux-ia32/stable",
|
|
"sha256": "594e6764d9b38df63a8d206d85c7c36d756b0ef0e1a9670b7695b31d84e33ef0",
|
|
"size": 69286998
|
|
}
|
|
|
|
]
|
|
}
|
|
]
|
|
}
|