mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-14 00:32:56 +02:00
CLion: update to 2019.3.1
This commit is contained in:
parent
c4bb37f3e2
commit
92e1237025
2 changed files with 20 additions and 9 deletions
|
@ -8,4 +8,3 @@ CLion has the following optional dependencies:
|
||||||
python: Python 2 programming language support
|
python: Python 2 programming language support
|
||||||
python3: Python 3 programming language support
|
python3: Python 3 programming language support
|
||||||
doxygen: Code documentation generation
|
doxygen: Code documentation generation
|
||||||
libdbusmenu-glib: For global menu support
|
|
||||||
|
|
|
@ -1,20 +1,26 @@
|
||||||
# Template file for 'CLion'
|
# Template file for 'CLion'
|
||||||
pkgname=CLion
|
pkgname=CLion
|
||||||
version=2019.2.4
|
version=2019.3.1
|
||||||
revision=1
|
revision=1
|
||||||
archs="i686 x86_64"
|
archs="i686 x86_64"
|
||||||
wrksrc="clion-${version}"
|
wrksrc="clion-${version}"
|
||||||
depends="virtual?java-environment giflib libXtst"
|
depends="jetbrains-jdk-bin giflib libXtst"
|
||||||
short_desc="Smart cross-platform IDE for C and C++"
|
short_desc="Smart cross-platform IDE for C and C++"
|
||||||
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
maintainer="Anton Afanasyev <anton@doubleasoftware.com>"
|
||||||
license="custom:Commercial"
|
license="custom:Commercial"
|
||||||
homepage="https://www.jetbrains.com/clion"
|
homepage="https://www.jetbrains.com/clion"
|
||||||
distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
|
distfiles="https://download.jetbrains.com/cpp/CLion-${version}.tar.gz"
|
||||||
checksum=2d3b1820eef6d60aab4b9a12c7357280de6606f72cdc1c72d6449e3676f23030
|
checksum=1c9bdeb55dda997a6cfce84ce2dbe2951f117709f9d37a3b65cfc2a68a359ecd
|
||||||
repository=nonfree
|
repository=nonfree
|
||||||
restricted=yes
|
restricted=yes
|
||||||
nopie=yes
|
nopie=yes
|
||||||
|
|
||||||
|
build_options="bundled_cmake bundled_gdb bundled_lldb"
|
||||||
|
build_options_default="bundled_cmake bundled_gdb bundled_lldb"
|
||||||
|
desc_option_bundled_cmake="Install bundled CMake"
|
||||||
|
desc_option_bundled_gdb="Install bundled GDB"
|
||||||
|
desc_option_bundled_lldb="Install bundled LLDB"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
# Remove files for other CPU architectures
|
# Remove files for other CPU architectures
|
||||||
rm -rf bin/fsnotifier-arm
|
rm -rf bin/fsnotifier-arm
|
||||||
|
@ -35,11 +41,15 @@ post_extract() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Remove JetBrains JDK
|
if [ ! "$build_option_bundled_cmake" ]; then
|
||||||
rm -rf jre64
|
rm -rf bin/cmake
|
||||||
|
fi
|
||||||
# TODO: JetBrains' LLDB, GDB, and CMake can be made installable via separate subpackages
|
if [ ! "$build_option_bundled_gdb" ]; then
|
||||||
# bin/lldb bin/gdb bin/cmake
|
rm -rf bin/gdb
|
||||||
|
fi
|
||||||
|
if [ ! "$build_option_bundled_lldb" ]; then
|
||||||
|
rm -rf bin/lldb
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -53,6 +63,8 @@ do_install() {
|
||||||
vlicense $i
|
vlicense $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
mkdir -p /usr/lib/jvm/jbrsdk
|
||||||
|
ln -sf /usr/lib/jvm/jbrsdk ${DESTDIR}/${TARGET_PATH}/jbr
|
||||||
vcopy bin ${TARGET_PATH}
|
vcopy bin ${TARGET_PATH}
|
||||||
vcopy help ${TARGET_PATH}
|
vcopy help ${TARGET_PATH}
|
||||||
vcopy lib ${TARGET_PATH}
|
vcopy lib ${TARGET_PATH}
|
||||||
|
|
Loading…
Add table
Reference in a new issue