Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : rstudio | name : rstudio | ||||
| version : 1.4.1103 | version : 1.4.1717 | ||||
| release : 19 | release : 20 | ||||
| source : | source : | ||||
| - https://github.com/rstudio/rstudio/archive/v1.4.1103.tar.gz : e448aaaf7ac7f4fd97197250762bfd28195c71abfd67db6f952463dea552be4c | - https://github.com/rstudio/rstudio/archive/v1.4.1717.tar.gz : 3af234180fd7cef451aef40faac2c7b52860f14a322244c1c7aede029814d261 | ||||
| license : AGPL-3.0 | license : AGPL-3.0 | ||||
| component : programming.ide | component : programming.ide | ||||
| summary : Integrated development environment (IDE) for R | summary : Integrated development environment (IDE) for R | ||||
| description: | | description: | | ||||
| RStudio is an integrated development environment (IDE) for the R programming language. | RStudio is an integrated development environment (IDE) for the R programming language. | ||||
| networking : yes | networking : yes | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(gl) | - pkgconfig(gl) | ||||
| - pkgconfig(libR) | - pkgconfig(libR) | ||||
| - pkgconfig(Qt5Positioning) | - pkgconfig(Qt5Positioning) | ||||
| - pkgconfig(Qt5Quick) | - pkgconfig(Qt5Quick) | ||||
| - pkgconfig(Qt5Sensors) | - pkgconfig(Qt5Sensors) | ||||
| - pkgconfig(Qt5Svg) | - pkgconfig(Qt5Svg) | ||||
| - pkgconfig(Qt5WebChannel) | - pkgconfig(Qt5WebChannel) | ||||
| - pkgconfig(Qt5WebEngine) | - pkgconfig(Qt5WebEngine) | ||||
| - pkgconfig(Qt5XmlPatterns) | - pkgconfig(Qt5XmlPatterns) | ||||
| - pkgconfig(libpq) | - pkgconfig(libpq) | ||||
| - pkgconfig(sqlite3) | - pkgconfig(sqlite3) | ||||
| - pkgconfig(yaml-cpp) | |||||
| - apache-ant | - apache-ant | ||||
| - libboost-devel | - libboost-devel | ||||
| - pandoc | - pandoc | ||||
| - shared-mime-info | - shared-mime-info | ||||
| - soci-devel | - soci-devel | ||||
| - xdg-utils | - xdg-utils | ||||
| - yarn | - yarn | ||||
| rundeps : | rundeps : | ||||
| - r | - r | ||||
| setup : | | setup : | | ||||
| # Defeat build 'checks' | # Defeat build 'checks' | ||||
| pushd dependencies/common | pushd dependencies/common | ||||
| install -d dictionaries libclang/{3.5,builtin-headers} mathjax-27 rmarkdown rsconnect node/10.19.0/bin | install -d dictionaries libclang/{3.5,builtin-headers} mathjax-27 rmarkdown rsconnect node/10.19.0/bin | ||||
| ln -s dictionaries $workdir/dependencies/dictionaries | |||||
| ln -s mathjax-27 $workdir/dependencies/mathjax-27 | |||||
| ln -s pandoc $workdir/dependencies/pandoc | |||||
| # Couldn't check PATH obviously. | # Couldn't check PATH obviously. | ||||
| ln -s /usr/bin/node $workdir/dependencies/common/node/10.19.0/bin/ | ln -s /usr/bin/node $workdir/dependencies/common/node/10.19.0/bin/ | ||||
| # Need to grep version and symlink from PATH, ugly af. | # Need to grep version and symlink from PATH, ugly af. | ||||
| _pandocver=$(grep -oP "(?<=PANDOC_VERSION=\").*(?=\"$)" install-pandoc) | _pandocver=$(grep -oP "(?<=PANDOC_VERSION=\").*(?=\"$)" install-pandoc) | ||||
| install -d pandoc/${_pandocver} | install -d pandoc/${_pandocver} | ||||
| ln -sfT /usr/bin/pandoc pandoc/${_pandocver}/pandoc | ln -sfT /usr/bin/pandoc pandoc/${_pandocver}/pandoc | ||||
| ln -sfT /usr/bin/pandoc-citeproc pandoc/${_pandocver}/pandoc-citeproc | ln -sfT /usr/bin/pandoc-citeproc pandoc/${_pandocver}/pandoc-citeproc | ||||
| popd | popd | ||||
| # Enable panmirror support | # Enable panmirror support | ||||
| pushd $workdir/src/gwt/panmirror/src/editor | pushd $workdir/src/gwt/panmirror/src/editor | ||||
| yarn config set ignore-engines true | yarn config set ignore-engines true | ||||
| yarn install | yarn install | ||||
| popd | popd | ||||
| %cmake_ninja -DRSTUDIO_TARGET=Desktop \ | %cmake_ninja -DRSTUDIO_TARGET=Desktop \ | ||||
| -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \ | -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \ | ||||
| -DCMAKE_INSTALL_PREFIX=/usr/share/rstudio \ | -DCMAKE_INSTALL_PREFIX=/usr/share/rstudio \ | ||||
| -DRSTUDIO_USE_SYSTEM_BOOST=ON \ | -DRSTUDIO_USE_SYSTEM_BOOST=ON \ | ||||
| -DRSTUDIO_USE_SYSTEM_SOCI=ON \ | -DRSTUDIO_USE_SYSTEM_SOCI=ON \ | ||||
| -DRSTUDIO_USE_SYSTEM_YAML_CPP=ON \ | |||||
| -DRSTUDIO_BOOST_SIGNALS_VERSION=2 | -DRSTUDIO_BOOST_SIGNALS_VERSION=2 | ||||
| build : | | build : | | ||||
| %ninja_build | %ninja_build | ||||
| install : | | install : | | ||||
| %ninja_install | %ninja_install | ||||
| install -d -m 00755 $installdir/usr/bin | install -d -m 00755 $installdir/usr/bin | ||||
| ln -s /usr/share/rstudio/bin/rstudio $installdir/usr/bin/rstudio | ln -s /usr/share/rstudio/bin/rstudio $installdir/usr/bin/rstudio | ||||
| #Use system dictionaries | #Use system dictionaries | ||||
| rm -rf $installdir/usr/share/rstudio/resources/dictionaries | rm -rf $installdir/usr/share/rstudio/resources/dictionaries | ||||
| ln -s /usr/share/hunspell $installdir/usr/share/rstudio/resources/dictionaries | ln -s /usr/share/hunspell $installdir/usr/share/rstudio/resources/dictionaries | ||||
| # Fix mimetype handlers by replacing desktop file | # Fix mimetype handlers by replacing desktop file | ||||
| install -Dm00644 $pkgfiles/rstudio.desktop $installdir/usr/share/applications/rstudio.desktop | install -Dm00644 $pkgfiles/rstudio.desktop $installdir/usr/share/applications/rstudio.desktop | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.