rstudio-desktop: auto updated to 2024.04.1.748-3

This commit is contained in:
Lilac 2024-05-20 11:35:21 +00:00
parent a56695ff01
commit 775c5a4edb

View file

@ -13,13 +13,13 @@ _nodever=18.19.1
_pandocver="current" _pandocver="current"
_quarto="FALSE" _quarto="FALSE"
pkgrel=1 pkgrel=3
pkgdesc="A powerful and productive integrated development environment (IDE) for R programming language" pkgdesc="A powerful and productive integrated development environment (IDE) for R programming language"
arch=('x86_64') arch=('x86_64')
url="https://www.rstudio.com/products/rstudio/" url="https://www.rstudio.com/products/rstudio/"
license=('AGPL3') license=('AGPL3')
depends=("boost-libs" "clang" "hunspell-en_US" "mathjax2" "pandoc" "postgresql-libs" "qt5-sensors" "qt5-svg" "qt5-webengine" "qt5-xmlpatterns" "quarto-cli" "r>=3.3.0" "soci" "sqlite3" "yaml-cpp") depends=("boost-libs" "clang" "hunspell-en_US" "mathjax2" "pandoc" "postgresql-libs" "qt5-sensors" "qt5-svg" "qt5-webengine" "qt5-xmlpatterns" "quarto-cli" "r>=3.3.0" "soci" "sqlite3" "yaml-cpp")
makedepends=('git' 'cmake>=3.6.3' 'boost' 'desktop-file-utils' 'jdk8-openjdk' 'apache-ant' 'unzip' 'openssl' 'libcups' 'pam' 'patchelf' 'wget' 'yarn') makedepends=('git' 'cmake>=3.29' 'boost' 'desktop-file-utils' 'jdk8-openjdk' 'apache-ant' 'unzip' 'openssl' 'libcups' 'pam' 'patchelf' 'wget' 'yarn')
optdepends=('git: for git support' optdepends=('git: for git support'
'subversion: for subversion support' 'subversion: for subversion support'
'openssh-askpass: for a git ssh access' 'openssh-askpass: for a git ssh access'
@ -101,12 +101,23 @@ build() {
export GIT_COMMIT=${_gitcommit} export GIT_COMMIT=${_gitcommit}
export PACKAGE_OS=$(uname -om) export PACKAGE_OS=$(uname -om)
# node-gyp or node have a bug that prevents building with "text file busy"
# if the kernel is too fast, so we have to disable IO_URING support. This
# is cleary a hack and needs to be removed as soon as possible
# nodejs/node#48444 is the necro bumped thread
# originally from docker
# https://github.com/nodejs/node/issues/48444
export UV_USE_IO_URING=0
# -DCMAKE_INSTALL_PREFIX seems ignored for sub-dependencies,
# which results as empty '/usr/local/bin' in package
# Following override works for cmake >3.29
export CMAKE_INSTALL_PREFIX=/usr/lib/rstudio
cmake -S "${srcdir}/${_srcname}" -B build \ cmake -S "${srcdir}/${_srcname}" -B build \
-DRSTUDIO_TARGET=Desktop \ -DRSTUDIO_TARGET=Desktop \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/lib/rstudio \
-DRSTUDIO_USE_SYSTEM_BOOST=yes \ -DRSTUDIO_USE_SYSTEM_BOOST=yes \
-DRSTUDIO_USE_SYSTEM_YAML_CPP=yes \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \
-DBoost_NO_BOOST_CMAKE=ON \ -DBoost_NO_BOOST_CMAKE=ON \
-DQUARTO_ENABLED=${_quarto} \ -DQUARTO_ENABLED=${_quarto} \
@ -115,6 +126,10 @@ build() {
} }
package() { package() {
# Should work for cmake >3.29
export CMAKE_INSTALL_PREFIX=/usr/lib/rstudio
# Install the program # Install the program
make -C build DESTDIR="${pkgdir}" install make -C build DESTDIR="${pkgdir}" install