rstudio-desktop: auto updated to 2023.06.2.561-2
This commit is contained in:
parent
576262f53e
commit
0593c052ac
|
@ -1,6 +1,4 @@
|
||||||
# Maintainer: Artem Klevtsov <a.a.klevtso@gmail.com>
|
# Maintainer: Aleksandr Beliaev <trap000d@gmail.com>
|
||||||
# Maintainer: Stephen Martin <hwkiller@gmail.com>
|
|
||||||
# Contributor: Conor Anderson <conor@conr.ca>
|
|
||||||
|
|
||||||
pkgname=rstudio-desktop
|
pkgname=rstudio-desktop
|
||||||
_vermajor=2023
|
_vermajor=2023
|
||||||
|
@ -17,7 +15,7 @@ _nodever=16.14.0
|
||||||
_pandocver="current"
|
_pandocver="current"
|
||||||
_quarto="FALSE"
|
_quarto="FALSE"
|
||||||
|
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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/"
|
||||||
|
@ -29,8 +27,6 @@ optdepends=('git: for git support'
|
||||||
'openssh-askpass: for a git ssh access'
|
'openssh-askpass: for a git ssh access'
|
||||||
'quarto: for Quarto projects support')
|
'quarto: for Quarto projects support')
|
||||||
|
|
||||||
provides=('rstudio-desktop')
|
|
||||||
conflicts=('rstudio-desktop' 'rstudio-desktop-bin' 'rstudio-desktop-preview' 'rstudio-desktop-git')
|
|
||||||
source=("rstudio-$pkgver.tar.gz::https://github.com/rstudio/rstudio/archive/refs/tags/v${_vermajor}.${_verminor}.${_verpatch}+${_versuffix}.tar.gz"
|
source=("rstudio-$pkgver.tar.gz::https://github.com/rstudio/rstudio/archive/refs/tags/v${_vermajor}.${_verminor}.${_verpatch}+${_versuffix}.tar.gz"
|
||||||
"https://github.com/quarto-dev/quarto/archive/refs/heads/release/rstudio-cherry-blossom.zip"
|
"https://github.com/quarto-dev/quarto/archive/refs/heads/release/rstudio-cherry-blossom.zip"
|
||||||
"https://nodejs.org/dist/v${_nodever}/node-v${_nodever}-linux-x64.tar.gz"
|
"https://nodejs.org/dist/v${_nodever}/node-v${_nodever}-linux-x64.tar.gz"
|
||||||
|
@ -45,6 +41,14 @@ sha256sums=('83469a4b7311d745c24d7d9e55c44aa4325dda3bdde50a903e2f9ead47d75cc7'
|
||||||
|
|
||||||
noextract=("gin-${_ginver}.zip")
|
noextract=("gin-${_ginver}.zip")
|
||||||
|
|
||||||
|
# Choose build options: either with or without quarto
|
||||||
|
if (pacman -Q quarto >/dev/null 2>/dev/null) ; then
|
||||||
|
_quarto="TRUE"
|
||||||
|
makedepends+=('quarto')
|
||||||
|
else
|
||||||
|
_quarto="FALSE"
|
||||||
|
fi
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd ${srcdir}/${_srcname}
|
cd ${srcdir}/${_srcname}
|
||||||
# Do not use outdated version name of pandoc
|
# Do not use outdated version name of pandoc
|
||||||
|
@ -60,15 +64,11 @@ prepare() {
|
||||||
# Nodejs
|
# Nodejs
|
||||||
install -d node/${_nodever}
|
install -d node/${_nodever}
|
||||||
cp -r "${srcdir}/node-v${_nodever}-linux-x64/"* node/${_nodever}
|
cp -r "${srcdir}/node-v${_nodever}-linux-x64/"* node/${_nodever}
|
||||||
#cd "${srcdir}/${_srcname}/src/gwt/panmirror/src/editor"
|
|
||||||
# yarn config set ignore-engines true
|
|
||||||
#yarn install
|
|
||||||
|
|
||||||
# Fix links for src/cpp/session/CMakeLists.txt
|
# Fix links for src/cpp/session/CMakeLists.txt
|
||||||
cd "${srcdir}/${_srcname}/dependencies"
|
cd "${srcdir}/${_srcname}/dependencies"
|
||||||
ln -sfT /usr/share/myspell/dicts dictionaries
|
ln -sfT /usr/share/myspell/dicts dictionaries
|
||||||
ln -sfT /usr/share/mathjax2 mathjax-27
|
ln -sfT /usr/share/mathjax2 mathjax-27
|
||||||
#ln -sfT /usr/bin/pandoc pandoc
|
|
||||||
|
|
||||||
# Panmirror is picked up now from Quarto repo
|
# Panmirror is picked up now from Quarto repo
|
||||||
# Ideally: git clone --branch release/rstudio-cherry-blossom https://github.com/quarto-dev/quarto.git "${srcdir}/${_srcname}/src/gwt/lib/quarto"
|
# Ideally: git clone --branch release/rstudio-cherry-blossom https://github.com/quarto-dev/quarto.git "${srcdir}/${_srcname}/src/gwt/lib/quarto"
|
||||||
|
@ -77,19 +77,15 @@ prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
# Quarto set up
|
||||||
# Quarto
|
if [ ${_quarto} = "TRUE" ]; then
|
||||||
msg "Checking if Quarto is installed..."
|
msg "Quarto is installed, include it to build"
|
||||||
|
|
||||||
if (pacman -Q quarto >/dev/null) ; then
|
|
||||||
msg "Enabling Quarto support..."
|
|
||||||
_quarto="TRUE"
|
|
||||||
cd "${srcdir}/${_srcname}/dependencies"
|
cd "${srcdir}/${_srcname}/dependencies"
|
||||||
install -d quarto/bin/tools
|
install -d quarto/bin/tools
|
||||||
ln -sfT /usr/bin/quarto quarto/bin/quarto
|
ln -sfT /usr/bin/quarto quarto/bin/quarto
|
||||||
ln -sfT /usr/bin/pandoc quarto/bin/tools/pandoc
|
ln -sfT /usr/bin/pandoc quarto/bin/tools/pandoc
|
||||||
else
|
else
|
||||||
msg "Use pandoc, because Quarto is not used..."
|
msg "Quarto is not installed, use Pandoc"
|
||||||
cd "${srcdir}/${_srcname}/dependencies"
|
cd "${srcdir}/${_srcname}/dependencies"
|
||||||
install -d pandoc/${_pandocver}/bin/tools
|
install -d pandoc/${_pandocver}/bin/tools
|
||||||
ln -sfT /usr/bin/pandoc pandoc/${_pandocver}/bin/tools/pandoc
|
ln -sfT /usr/bin/pandoc pandoc/${_pandocver}/bin/tools/pandoc
|
||||||
|
@ -126,7 +122,6 @@ build() {
|
||||||
-DQUARTO_ENABLED=${_quarto} \
|
-DQUARTO_ENABLED=${_quarto} \
|
||||||
-DRSTUDIO_USE_SYSTEM_SOCI=yes \
|
-DRSTUDIO_USE_SYSTEM_SOCI=yes \
|
||||||
-DRSTUDIO_BUNDLE_QT=FALSE
|
-DRSTUDIO_BUNDLE_QT=FALSE
|
||||||
# make -C build
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
Loading…
Reference in a new issue