2
0

v2022.3.3 and added support for aarch64 architecture thanks to Ethan Reece

This commit is contained in:
Xavier C. Llano 2023-03-09 11:35:44 -08:00
parent 63c27a7e3e
commit 3e69133ff3
2 changed files with 24 additions and 13 deletions

View File

@ -1,9 +1,10 @@
pkgbase = pycharm-professional
pkgdesc = Python IDE for Professional Developers. Professional Edition
pkgver = 2022.3.2
pkgver = 2022.3.3
pkgrel = 1
url = https://www.jetbrains.com/pycharm/
arch = x86_64
arch = aarch64
license = custom
makedepends = python-setuptools
makedepends = cython
@ -33,15 +34,18 @@ pkgbase = pycharm-professional
conflicts = pycharm-community-jre
conflicts = pycharm-community-eap
conflicts = pycharm-eap
conflicts = pycharm-community-jre-aarch64
backup = opt/pycharm-professional/bin/pycharm64.vmoptions
backup = opt/pycharm-professional/bin/idea.properties
source = https://download.jetbrains.com/python/pycharm-professional-2022.3.2.tar.gz
source = pycharm-professional.desktop
source = charm.desktop
source = charm
sha256sums = 56430090dd471e106fdc48463027d89de624759f8757248ced9776978854e4f6
sha256sums = a75264959b06a45ea0801729bc1688bfbd52da3c5fbf3d5b1ad9267860439291
sha256sums = 6996b38a3c2ba1e472838d7046a4c54a27822fd647be9ca590457e8c6a2d50c8
sha256sums = 2c520f63afffa5ef153077fc61e0c3b15a0a9bf8fd4973164af62ec64626a741
source_x86_64 = https://download.jetbrains.com/python/pycharm-professional-2022.3.3.tar.gz
sha256sums_x86_64 = 352bb13d352adb823828d74d50fd818f1216053afa66cd3f4aab94d47855ff3b
source_aarch64 = https://download.jetbrains.com/python/pycharm-professional-2022.3.3-aarch64.tar.gz
sha256sums_aarch64 = 42d48d921a2621ab8e0e74a239abb997ad2a041c13a6ebb30391a76d4a306fd8
pkgname = pycharm-professional

View File

@ -1,27 +1,30 @@
# Maintainer: XavierCLL <xavier.corredor.llano at gmail.com>
# Contributors: MikeBreytenbach <mike.breyten.bach at gmail dot com>
# Contributors: edacval
# Contributor: MikeBreytenbach <mike.breyten.bach at gmail dot com>
# Contributor: edacval
# Contributor: Ethan Reece <aur at ethanreece dot com>
pkgname=pycharm-professional
pkgver=2022.3.2
pkgver=2022.3.3
pkgrel=1
pkgdesc="Python IDE for Professional Developers. Professional Edition"
arch=('x86_64')
arch=('x86_64' 'aarch64')
url='https://www.jetbrains.com/pycharm/'
conflicts=('pycharm' 'pycharm-community-edition' 'pycharm-community-jre' 'pycharm-community-eap' 'pycharm-eap')
conflicts=('pycharm' 'pycharm-community-edition' 'pycharm-community-jre' 'pycharm-community-eap' 'pycharm-eap' 'pycharm-community-jre-aarch64')
provides=('pycharm')
license=('custom')
backup=("opt/$pkgname/bin/pycharm64.vmoptions"
"opt/$pkgname/bin/idea.properties")
depends=('giflib' 'glibc' 'sh' 'libxtst' 'libxslt' 'libxss' 'nss' 'python' 'libdbusmenu-glib')
source=("https://download.jetbrains.com/python/$pkgname-$pkgver.tar.gz"
"pycharm-professional.desktop"
source_x86_64=("https://download.jetbrains.com/python/$pkgname-$pkgver.tar.gz")
source_aarch64=("https://download.jetbrains.com/python/$pkgname-$pkgver-aarch64.tar.gz")
source=("pycharm-professional.desktop"
"charm.desktop"
"charm")
sha256sums=('56430090dd471e106fdc48463027d89de624759f8757248ced9776978854e4f6'
'a75264959b06a45ea0801729bc1688bfbd52da3c5fbf3d5b1ad9267860439291'
sha256sums=('a75264959b06a45ea0801729bc1688bfbd52da3c5fbf3d5b1ad9267860439291'
'6996b38a3c2ba1e472838d7046a4c54a27822fd647be9ca590457e8c6a2d50c8'
'2c520f63afffa5ef153077fc61e0c3b15a0a9bf8fd4973164af62ec64626a741')
sha256sums_x86_64=('352bb13d352adb823828d74d50fd818f1216053afa66cd3f4aab94d47855ff3b')
sha256sums_aarch64=('42d48d921a2621ab8e0e74a239abb997ad2a041c13a6ebb30391a76d4a306fd8')
makedepends=('python-setuptools' 'cython')
optdepends=('ipython: For enhanced interactive Python shell inside Pycharm'
'openssh: For deployment and remote connections'
@ -43,7 +46,11 @@ build() {
# for attach debugger
pushd pycharm-${pkgver}/plugins/python/helpers/pydev/pydevd_attach_to_process/linux_and_mac
if [[ $CARCH == "x86_64" ]]; then
g++ -m64 -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp
elif [ "${CARCH}" == "aarch64" ]; then
g++ -march=armv8-a+crypto -shared -o ../attach_linux_amd64.so -fPIC -nostartfiles attach.cpp
fi
popd
rm -rf pycharm-${pkgver}/plugins/python/helpers/pydev/build/