Skip to content

Commit

Permalink
app-editors/vscode: split use
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Feb 9, 2024
1 parent addfad8 commit aa62d2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app-editors/vscode/vscode-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,16 @@ SRC_URI="

REPO="https://github.com/microsoft/vscode"
#CODE_COMMIT_ID="ae245c9b1f06e79cec4829f8cd1555206b0ec8f2"
IUSE="api-proposals badge-providers electron-19 electron-20 electron-21 electron-22 electron-23 electron-24 electron-26 electron-25 electron-28 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-25 openvsx reh reh-web substitute-urls +temp-fix"

if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="${REPO}.git"
DOWNLOAD=""
IUSE+=" +build-online"
IUSE+=" +build-online electron-28"
ELECTRON_SLOT_DEFAULT="27"
else
IUSE+=" build-online electron-28"
ELECTRON_SLOT_DEFAULT="27"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
DOWNLOAD="${REPO}/archive/"
Expand All @@ -36,7 +37,6 @@ else
DOWNLOAD+="${CODE_COMMIT_ID}.tar.gz -> ${PN}-${CODE_COMMIT_ID}.tar.gz"
S="${WORKDIR}/${PN}-${CODE_COMMIT_ID}"
fi
IUSE+=" build-online"
fi

SRC_URI+="${DOWNLOAD}"
Expand Down

0 comments on commit aa62d2c

Please sign in to comment.