-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8318682
commit 8c52af5
Showing
8 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include ../Makefile.common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# releases: | ||
https://packages.microsoft.com/repos/code/pool/main/c/code/ | ||
|
||
# alternative: | ||
https://github.com/sidbelbase/a-solus-repo/tree/master/packages/visual-studio-code/builds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/python | ||
|
||
# Change with each release | ||
srcSubVersion = 1623937013 | ||
|
||
# Created For Solus Operating System | ||
|
||
from pisi.actionsapi import get, pisitools, shelltools | ||
|
||
NoStrip = ["/usr"] | ||
IgnoreAutodep = True | ||
|
||
# Should not change. | ||
Suffix = "-1" | ||
|
||
def setup(): | ||
shelltools.system("pwd") | ||
shelltools.system("ar xf code_%s-%s_amd64.deb" % (get.srcVERSION(), srcSubVersion)) | ||
shelltools.system("tar xvf data.tar.xz") | ||
|
||
def install(): | ||
pisitools.insinto("/", "usr") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: visual-studio-code | ||
version: 1.54.1 | ||
release: 9 | ||
source: | ||
- https://vscode-update.azurewebsites.net/1.54.1/linux-x64/stable : e1876605d5ce21a899ded01f86a2ac910a84bb4ded13eb2bf4d5cd14421e3c13 | ||
- https://gist.githubusercontent.com/sidbelbase/803e015f4b8d4cd5aacaf07ae12c58e7/raw/578de0b7b225e1f2fe30f85bafafb24571dcc85f/vscode.desktop: bc5f1dfefcc6ab354282ccf3fa1f8cd13aabdc87b95af4677bd75f56005124df | ||
- https://gist.githubusercontent.com/sidbelbase/803e015f4b8d4cd5aacaf07ae12c58e7/raw/578de0b7b225e1f2fe30f85bafafb24571dcc85f/vscode-url-handler.desktop: a6a05be7d6c2757ccbc8bd2586f882c738db707a8dbd5a3c57e16c37ba1bfea9 | ||
license: MIT | ||
component: programming.ide | ||
summary: Editor for building and debugging modern web and cloud applications | ||
description: Visual Studio Code (official binary) is a new type of tool that combines the simplicity of a code editor with what developers need for their core edit-build-debug cycle. | ||
builddeps: | ||
- pkgconfig(alsa) | ||
- pkgconfig(gtk+-3.0) | ||
- pkgconfig(libsecret-1) | ||
- pkgconfig(xcomposite) | ||
- pkgconfig(xcursor) | ||
- pkgconfig(xkbfile) | ||
- pkgconfig(xrandr) | ||
- pkgconfig(xscrnsaver) | ||
- pkgconfig(xtst) | ||
rundeps: | ||
- git | ||
- libxscrnsaver | ||
- nodejs | ||
replaces: code-oss | ||
install: | | ||
export vsdir=/opt/vscode | ||
install -dm00755 $installdir/usr/share/licenses/vscode | ||
install -dm00755 $installdir/$vsdir | ||
install -dm00755 $installdir/usr/bin | ||
install -dm00755 $installdir/usr/share/applications | ||
install -dm00755 $installdir/usr/share/icons | ||
install -Dm00644 $workdir/resources/app/LICENSE.rtf $installdir/usr/share/licenses/vscode/LICENSE.rtf | ||
install -Dm00644 $workdir/resources/app/resources/linux/code.png $installdir/usr/share/icons/vscode.png | ||
install -Dm00644 $sources/vscode.desktop $installdir/usr/share/applications/vscode.desktop | ||
install -Dm00644 $sources/vscode-url-handler.desktop $installdir/usr/share/applications/vscode-url-handler.desktop | ||
cp -R $workdir/* $installdir/$vsdir/ | ||
ln -s $vsdir/bin/code $installdir/usr/bin/code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" ?> | ||
<!DOCTYPE PISI SYSTEM "https://getsol.us/standard/pisi-spec.dtd"> | ||
<PISI> | ||
<Source> | ||
<Name>Visual Studio Code</Name> | ||
<Homepage>https://code.visualstudio.com</Homepage> | ||
<Packager> | ||
<Name>Phillip Strefling</Name> | ||
<Email>[email protected]</Email> | ||
</Packager> | ||
<Summary>Visual Studio Code is a source-code editor made by Microsoft</Summary> | ||
<Description>Visual Studio Code combines the simplicity of a source code editor with powerful developer tooling, like IntelliSense code completion and debugging. First and foremost, it is an editor that gets out of your way. The delightfully frictionless edit-build-debug cycle means less time fiddling with your environment, and more time executing on your ideas.</Description> | ||
<License>Proprietary</License> | ||
<Archive sha1sum="6f8e4a381ff6e7d4a6612a4e339c38cdcf2869c8" type="binary">https://packages.microsoft.com/repos/code/pool/main/c/code/code_1.57.1-1623937013_amd64.deb</Archive> | ||
<BuildDependencies> | ||
<Dependency>libxscrnsaver</Dependency> | ||
<Dependency>gconf</Dependency> | ||
<Dependency>binutils</Dependency> | ||
</BuildDependencies> | ||
</Source> | ||
|
||
<Package> | ||
<Name>vscode-microsoft</Name> | ||
<Icon>vscode-microsoft</Icon> | ||
<Files> | ||
<Path fileType="*">/</Path> | ||
</Files> | ||
<RuntimeDependencies> | ||
<Dependency>libxscrnsaver</Dependency> | ||
<Dependency>gconf</Dependency> | ||
</RuntimeDependencies> | ||
</Package> | ||
|
||
<History> | ||
<Update release="1"> | ||
<Date>06-23-2021</Date> | ||
<Version>1.57.1</Version> | ||
<Tag>3</Tag> | ||
<Comment>Add Microsoft Visual Studio Code version 1.57.1 released on June 17th 2021</Comment> | ||
<Name>Phillip Strefling</Name> | ||
<Email>[email protected]</Email> | ||
</Update> | ||
</History> | ||
</PISI> |