File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,38 @@ if [ "$os_VENDOR" == "Ubuntu" ]; then
59
59
build_libssh2
60
60
61
61
print_title " Run: source /opt/qt${RDM_QT_VERSION: 0: 2} /bin/qt${RDM_QT_VERSION: 0: 2} -env.sh && qmake && make "
62
-
62
+ elif [ " $os_VENDOR " == " LinuxMint" ]; then
63
+ mint_ver=${os_RELEASE: 0: 2}
64
+ print_title " Build RDM on Linux Mint: $mint_ver "
65
+
66
+ if [ " $mint_ver " != " 17" ] && [ " $mint_ver " != " 18" ]; then
67
+ echo " RedisDesktopManager only supports linux mint 17 and 18."
68
+ exit 1
69
+ fi
70
+
71
+ # Check Qt ppa
72
+ if [ ! -f /opt/qt${RDM_QT_VERSION: 0: 2} /bin/qt${RDM_QT_VERSION: 0: 2} -env.sh ]; then
73
+ print_title " Install Qt ${RDM_QT_VERSION} "
74
+
75
+ if [ " $mint_ver " == " 17" ]; then
76
+ sudo add-apt-repository --yes ppa:beineri/opt-qt${RDM_QT_VERSION} -trusty
77
+ elif [ " $mint_ver " == " 18" ]; then
78
+ sudo add-apt-repository --yes ppa:beineri/opt-qt${RDM_QT_VERSION} -xenial
79
+ fi
80
+
81
+ sudo apt-get update -y
82
+ sudo apt-get install qt${RDM_QT_VERSION: 0: 2} base qt${RDM_QT_VERSION: 0: 2} imageformats qt${RDM_QT_VERSION: 0: 2} tools \
83
+ qt${RDM_QT_VERSION: 0: 2} declarative qt${RDM_QT_VERSION: 0: 2} quickcontrols -y
84
+ fi
85
+
86
+ print_title " Check deps"
87
+ sudo apt-get install automake libtool libssl-dev \
88
+ libssh2-1-dev g++ libgl1-mesa-dev cmake -y
89
+
90
+ build_breakpad
91
+ build_libssh2
92
+
93
+ print_title " source /opt/qt${RDM_QT_VERSION: 0: 2} /bin/qt${RDM_QT_VERSION: 0: 2} -env.sh && qmake && make "
63
94
elif [ " $os_VENDOR " == " Fedora" ] || [[ " $os_VENDOR " == " CentOS" && " $os_RELEASE " -ge " 7" ]]; then
64
95
print_title " Build RDM on $os_VENDOR : $os_RELEASE "
65
96
You can’t perform that action at this time.
0 commit comments