mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
webstorm: update to 2024.2.1
This commit is contained in:
parent
1285ae2c9d
commit
882a3c26f0
1 changed files with 31 additions and 19 deletions
|
@ -1,39 +1,50 @@
|
||||||
# Template file for 'WebStorm'
|
# Template file for 'WebStorm'
|
||||||
pkgname=WebStorm
|
pkgname=WebStorm
|
||||||
version=2020.1.4
|
version=2024.2.1
|
||||||
revision=1
|
revision=1
|
||||||
archs="i686 x86_64"
|
archs="x86_64 aarch64"
|
||||||
depends="jetbrains-jdk-bin"
|
depends="virtual?java-environment"
|
||||||
short_desc="Smartest JavaScript IDE"
|
short_desc="Smartest JavaScript IDE"
|
||||||
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
||||||
license="custom:Commercial"
|
license="custom:Commercial"
|
||||||
homepage="https://www.jetbrains.com/webstorm"
|
homepage="https://www.jetbrains.com/webstorm"
|
||||||
distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
|
|
||||||
checksum=961cc62579b3d06a40c3738e57b6e678d9e0d4a70012d7a29d3466875e81b041
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64)
|
||||||
|
distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}.tar.gz"
|
||||||
|
checksum=a598c2686a6c8e4d6b19e1a0a54c78c2c77a772c35ef041244fece64940d8b93
|
||||||
|
;;
|
||||||
|
|
||||||
|
aarch64)
|
||||||
|
distfiles="https://download.jetbrains.com/webstorm/WebStorm-${version}-aarch64.tar.gz"
|
||||||
|
checksum=7ad8a2a81f1d0cf3f4cc17eb988189133f9d3f250fe62aa31bff2d8a10e29ce1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
repository=nonfree
|
repository=nonfree
|
||||||
restricted=yes
|
restricted=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
python_version=3
|
python_version=3
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# Remove files for other CPU architectures
|
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-windows-amd64.exe
|
||||||
rm -rf bin/fsnotifier-arm
|
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-windows-arm64.exe
|
||||||
rm -rf lib/pty4j-native/linux/ppc64le
|
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-darwin-amd64
|
||||||
|
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-darwin-arm64
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64)
|
x86_64)
|
||||||
rm -rf bin/fsnotifier
|
rm -rf lib/async-profiler/aarch64
|
||||||
rm -rf bin/fsnotifier-arm
|
rm -rf plugins/platform-ijent-impl/ijent-aarch64-unknown-linux-musl-release
|
||||||
rm -rf bin/webstorm.vmoptions
|
|
||||||
rm -rf bin/libyjpagent-linux.so
|
|
||||||
rm -rf lib/pty4j-native/linux/x86
|
|
||||||
;;
|
;;
|
||||||
i686)
|
aarch64)
|
||||||
rm -rf bin/fsnotifier64
|
rm -rf lib/pty4j/linux/x86_64
|
||||||
rm -rf bin/fsnotifier-arm
|
rm -rf lib/native/linux-x86_64
|
||||||
rm -rf bin/webstorm64.vmoptions
|
rm -rf lib/async-profiler/amd64
|
||||||
rm -rf bin/libyjpagent-linux64.so
|
rm -rf lib/jna/amd64
|
||||||
rm -rf lib/pty4j-native/linux/x86_64
|
rm -rf plugins/gateway-plugin/lib/remote-dev-workers/remote-dev-worker-linux-amd64
|
||||||
|
rm -rf plugins/platform-ijent-impl/ijent-x86_64-unknown-linux-musl-release
|
||||||
|
rm -rf plugins/cwm-plugin/quiche-native/linux-x86-64
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
@ -53,6 +64,7 @@ do_install() {
|
||||||
sed -i '1 s/$/\nWEBIDE_JDK=${WEBIDE_JDK:-${IDEA_JDK}}/' "${launcher_path}"
|
sed -i '1 s/$/\nWEBIDE_JDK=${WEBIDE_JDK:-${IDEA_JDK}}/' "${launcher_path}"
|
||||||
vcopy bin ${TARGET_PATH}
|
vcopy bin ${TARGET_PATH}
|
||||||
vcopy help ${TARGET_PATH}
|
vcopy help ${TARGET_PATH}
|
||||||
|
vcopy jbr ${TARGET_PATH}
|
||||||
vcopy lib ${TARGET_PATH}
|
vcopy lib ${TARGET_PATH}
|
||||||
vcopy plugins ${TARGET_PATH}
|
vcopy plugins ${TARGET_PATH}
|
||||||
vcopy product-info.json ${TARGET_PATH}
|
vcopy product-info.json ${TARGET_PATH}
|
||||||
|
|
Loading…
Add table
Reference in a new issue