Skip to content

Commit

Permalink
app-editors/vscode: 28
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Jan 26, 2024
1 parent 657417e commit fe5c4b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions app-editors/vscode/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<flag name="electron-25">Build against electron-25 instead of the default one. Use at your own risk!</flag>
<flag name="electron-26">Build against electron-26 instead of the default one. Use at your own risk!</flag>
<flag name="electron-27">Build against electron-27 instead of the default one. Use at your own risk!</flag>
<flag name="electron-28">Build against electron-28 instead of the default one. Use at your own risk!</flag>
<flag name="openvsx">Use Eclipse Open VSX instead of Visual Studio Marketplace</flag>
<flag name="reh">Build Remote Extension Host</flag>
<flag name="reh-web">Build Remote Extension Host for Web</flag>
Expand Down
8 changes: 6 additions & 2 deletions app-editors/vscode/vscode-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ SRC_URI="
REPO="https://github.com/microsoft/vscode"
ELECTRON_SLOT_DEFAULT="25"
#CODE_COMMIT_ID="ae245c9b1f06e79cec4829f8cd1555206b0ec8f2"
IUSE="api-proposals badge-providers electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-26 electron-27 openvsx reh reh-web substitute-urls +temp-fix"
IUSE="api-proposals badge-providers electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-26 electron-27 electron-28 openvsx reh reh-web substitute-urls +temp-fix"

if [[ ${PV} = *9999* ]]; then
inherit git-r3
Expand Down Expand Up @@ -58,6 +58,7 @@ COMMON_DEPEND="
electron-24? ( dev-util/electron:24 )
electron-26? ( dev-util/electron:26 )
electron-27? ( dev-util/electron:27 )
electron-28? ( dev-util/electron:28 )
!electron-19? (
!electron-20? (
!electron-21? (
Expand All @@ -66,8 +67,9 @@ COMMON_DEPEND="
!electron-24? (
!electron-26? (
!electron-27? (
!electron-28? (
dev-util/electron:${ELECTRON_SLOT_DEFAULT}
) ) ) ) ) ) ) )
) ) ) ) ) ) ) ) )
"
#TODO: oniguruma?

Expand Down Expand Up @@ -100,6 +102,8 @@ src_unpack() {
export ELECTRON_SLOT=26
elif use electron-27; then
export ELECTRON_SLOT=27
elif use electron-28; then
export ELECTRON_SLOT=28
else
export ELECTRON_SLOT=$ELECTRON_SLOT_DEFAULT
fi
Expand Down

0 comments on commit fe5c4b5

Please sign in to comment.