mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
intellij-idea-ultimate-edition: update to 2024.1.2
This commit is contained in:
parent
b5b8af9cc8
commit
1c6b7e70db
4 changed files with 39 additions and 76 deletions
1
srcpkgs/intellij-idea-ultimate-edition/files/EULA
Normal file
1
srcpkgs/intellij-idea-ultimate-edition/files/EULA
Normal file
|
@ -0,0 +1 @@
|
||||||
|
see https://www.jetbrains.com/legal/docs/toolbox/license_personal/
|
|
@ -1,2 +0,0 @@
|
||||||
IntelliJ Ultimate has the following optional dependencies:
|
|
||||||
libdbusmenu-glib: For global menu support
|
|
|
@ -1,90 +1,54 @@
|
||||||
# Template file for 'intellij-idea-ultimate-edition'
|
# Template file for 'intellij-idea-ultimate-edition'
|
||||||
pkgname=intellij-idea-ultimate-edition
|
pkgname=intellij-idea-ultimate-edition
|
||||||
version=2021.3.3
|
version=2024.1.2
|
||||||
revision=2
|
revision=1
|
||||||
archs="i686 x86_64"
|
archs="x86_64"
|
||||||
depends="giflib libXtst jetbrains-jdk-bin lldb-devel"
|
depends="virtual?java-environment giflib libXtst hicolor-icon-theme"
|
||||||
short_desc="Most intelligent Java IDE"
|
short_desc="Java integrated development environment by JetBrains"
|
||||||
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
||||||
license="custom:Commercial"
|
license="custom:Commercial"
|
||||||
homepage="https://www.jetbrains.com/idea"
|
homepage="https://www.jetbrains.org/"
|
||||||
_filename="ideaIU-${version}-no-jbr.tar.gz"
|
distfiles="https://download.jetbrains.com/idea/ideaIU-${version}.tar.gz"
|
||||||
distfiles="https://download.jetbrains.com/idea/${_filename}"
|
checksum=c50ed70f90c69a7e6eaafab44d926d554aafbd7310608570e4085d97df3bf763
|
||||||
checksum=2a3295fca08060ad515f6c7198879d09963724cfb36af3ea94f16dcd76636470
|
|
||||||
repository=nonfree
|
repository=nonfree
|
||||||
restricted=yes
|
restricted=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
python_version=3
|
python_version=3
|
||||||
# requires liblldb.so which is unversioned, pulled by lldb-devel
|
skiprdeps="/usr/lib/intellij-idea-ultimate/plugins/Kotlin/bin/linux/LLDBFrontend"
|
||||||
skiprdeps="/usr/lib/intellij-idea-ultimate-edition/plugins/Kotlin/bin/linux/LLDBFrontend"
|
|
||||||
|
|
||||||
do_extract() {
|
|
||||||
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${_filename} --strip-components=1 -C .
|
|
||||||
}
|
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# Remove files for other OSes
|
bsdtar xf lib/app-client.jar entry.desktop
|
||||||
rm -rf plugins/cwm-plugin/quiche-native/darwin-aarch64
|
}
|
||||||
rm -rf plugins/cwm-plugin/quiche-native/darwin-x86-64
|
|
||||||
rm -rf plugins/cwm-plugin/quiche-native/win32-x86-64
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd64
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/freebsd32
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/osx
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/windows32
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/windows64
|
|
||||||
rm -rf plugins/performanceTesting/bin/libyjpagent.dylib
|
|
||||||
rm -rf plugins/performanceTesting/bin/yjpagent.dll
|
|
||||||
rm -rf plugins/performanceTesting/bin/yjpagent64.dll
|
|
||||||
rm -rf plugins/webp/lib/libwebp/mac
|
|
||||||
rm -rf plugins/webp/lib/libwebp/win
|
|
||||||
|
|
||||||
# Remove files for other CPU architectures
|
post_patch() {
|
||||||
rm -rf bin/fsnotifier-arm
|
vsed -i -e 's/\$NAME\$/IntelliJ IDEA Ultimate Edition/' entry.desktop
|
||||||
rm -rf lib/pty4j-native/linux/aarch64
|
vsed -i -e 's/\$ICON\$/idea-ultimate/' entry.desktop
|
||||||
rm -rf lib/pty4j-native/linux/arm
|
vsed -i -e 's/\$SCRIPT\$/idea-ultimate/' entry.desktop
|
||||||
rm -rf lib/pty4j-native/linux/mips64el
|
vsed -i -e 's/\$COMMENT\$/Capable and Ergonomic IDE for JVM/' entry.desktop
|
||||||
rm -rf lib/pty4j-native/linux/ppc64le
|
vsed -i -e 's/\$WM_CLASS\$/jetbrains-idea/' entry.desktop
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
|
||||||
x86_64)
|
|
||||||
rm -rf bin/idea.vmoptions
|
|
||||||
rm -rf lib/pty4j-native/linux/x86
|
|
||||||
rm -rf plugins/android/lib/libwebp/linux/libwebp_jni.so
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/linux32
|
|
||||||
rm -rf plugins/performanceTesting/bin/libyjpagent.so
|
|
||||||
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni.so
|
|
||||||
;;
|
|
||||||
i686)
|
|
||||||
rm -rf bin/idea64.vmoptions
|
|
||||||
rm -rf bin/libyjpagent-linux64.so
|
|
||||||
rm -rf lib/pty4j-native/linux/x86_64
|
|
||||||
rm -rf plugins/android/lib/libwebp/linux/libwebp_jni64.so
|
|
||||||
rm -rf plugins/maven/lib/maven3/lib/jansi-native/linux64
|
|
||||||
rm -rf plugins/performanceTesting/bin/libyjpagent64.so
|
|
||||||
rm -rf plugins/webp/lib/libwebp/linux/libwebp_jni64.so
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
TARGET_PATH="usr/lib/${pkgname}"
|
|
||||||
LICENSE_PATH="usr/share/licenses/${pkgname}"
|
|
||||||
|
|
||||||
vmkdir usr/bin
|
vmkdir usr/bin
|
||||||
vmkdir ${TARGET_PATH}
|
vmkdir usr/share/doc/intellij-idea-ultimate
|
||||||
vmkdir ${LICENSE_PATH}
|
vmkdir usr/lib/intellij-idea-ultimate
|
||||||
|
vmkdir usr/share/pixmaps
|
||||||
|
vmkdir usr/share/icons/hicolor/scalable/apps
|
||||||
|
|
||||||
# Ideally vlicense should be called here, but vcopy is more terse.
|
vcopy bin usr/lib/intellij-idea-ultimate
|
||||||
vcopy license/* ${LICENSE_PATH}
|
vcopy lib usr/lib/intellij-idea-ultimate
|
||||||
|
vcopy plugins usr/lib/intellij-idea-ultimate
|
||||||
vcopy bin ${TARGET_PATH}
|
vcopy product-info.json usr/lib/intellij-idea-ultimate
|
||||||
vcopy help ${TARGET_PATH}
|
vcopy build.txt usr/lib/intellij-idea-ultimate
|
||||||
vcopy lib ${TARGET_PATH}
|
vcopy jbr usr/lib/intellij-idea-ultimate
|
||||||
vcopy plugins ${TARGET_PATH}
|
vcopy license usr/share/doc/intellij-idea-ultimate
|
||||||
vcopy redist ${TARGET_PATH}
|
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate/lib/async-profiler -rf
|
||||||
vcopy product-info.json ${TARGET_PATH}
|
rm ${DESTDIR}/usr/lib/intellij-idea-ultimate/lib/async-profiler.jar
|
||||||
vcopy build.txt ${TARGET_PATH}
|
ln -sf ../lib/intellij-idea-ultimate/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
|
||||||
|
ln -sf ../../lib/intellij-idea-ultimate/bin/idea.png ${DESTDIR}/usr/share/pixmaps/idea-ultimate.png
|
||||||
ln -sf /${TARGET_PATH}/bin/idea.sh ${DESTDIR}/usr/bin/idea-ultimate
|
ln -sf ../../lib/intellij-idea-ultimate/bin/idea.svg ${DESTDIR}/usr/share/icons/hicolor/scalable/apps/idea-ultimate.svg
|
||||||
vdoc "${FILESDIR}/README.voidlinux"
|
vinstall entry.desktop 644 usr/share/applications idea-ultimate.desktop
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense ${FILESDIR}/EULA
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
pattern="ideaIU-\K[\d.]+(?=-no-jbr\.tar)"
|
pattern="ideaIU-\K[\d.]+(?=\.tar)"
|
||||||
site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"
|
site="https://data.services.jetbrains.com/products/releases?code=IIU%2CIIC&latest=true&type=release"
|
||||||
|
|
Loading…
Add table
Reference in a new issue