mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+coder.com/code-server (#5108)
* new file: projects/coder.com/code-server/package.yml * python & linux deps * +kerberos.org * let's try -D__NO_INLINE__ * get versions from npmjs * use `npm:` version stanza --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
9e68207e53
commit
e32e7c22e0
1 changed files with 49 additions and 0 deletions
49
projects/coder.com/code-server/package.yml
Normal file
49
projects/coder.com/code-server/package.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
distributable:
|
||||||
|
url: https://registry.npmjs.org/code-server/-/code-server-{{version}}.tgz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
npm: code-server
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
nodejs.org: ^18
|
||||||
|
linux:
|
||||||
|
gnome.org/libsecret: ^0.21
|
||||||
|
x.org/x11: ^1.8
|
||||||
|
x.org/xkbfile: ^1.1
|
||||||
|
kerberos.org: ^1.21
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
npmjs.com: '*'
|
||||||
|
python.org: '>=3.11'
|
||||||
|
script:
|
||||||
|
- npm i $ARGS .
|
||||||
|
- run: ln -s ../libexec/bin/code-server code-server
|
||||||
|
working-directory: '{{prefix}}/bin'
|
||||||
|
- npm i -ddd --global --unsafe-perm --prefix={{prefix}}/libexec --install-links $PKGS
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- -ddd
|
||||||
|
- --global
|
||||||
|
- --build-from-source
|
||||||
|
- --prefix={{prefix}}/libexec
|
||||||
|
- --install-links
|
||||||
|
- --unsafe-perm
|
||||||
|
- --legacy-peer-deps
|
||||||
|
- --omit=dev
|
||||||
|
PKGS:
|
||||||
|
- '@microsoft/1ds-core-js'
|
||||||
|
- minimist
|
||||||
|
- '@vscode/spdlog'
|
||||||
|
- yauzl
|
||||||
|
linux:
|
||||||
|
CXXFLAGS: $CXXFLAGS -D__NO_INLINE__
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/code-server
|
||||||
|
|
||||||
|
test:
|
||||||
|
- code-server --version | grep {{version}}
|
||||||
|
- code-server --extensions-dir=. --install-extension wesbos.theme-cobalt2
|
||||||
|
- code-server --extensions-dir=. --list-extensions | grep wesbos.theme-cobalt2
|
Loading…
Reference in a new issue